using System; namespace Unosquare.RaspberryIO.Camera { /// /// Defines the available encoding formats for the Raspberry Pi camera module /// public enum CameraImageEncodingFormat { /// /// The JPG /// Jpg, /// /// The BMP /// Bmp, /// /// The GIF /// Gif, /// /// The PNG /// Png, } /// /// Defines the different exposure modes for the Raspberry Pi's camera module /// public enum CameraExposureMode { /// /// The automatic /// Auto, /// /// The night /// Night, /// /// The night preview /// NightPreview, /// /// The backlight /// Backlight, /// /// The spotlight /// Spotlight, /// /// The sports /// Sports, /// /// The snow /// Snow, /// /// The beach /// Beach, /// /// The very long /// VeryLong, /// /// The fixed FPS /// FixedFps, /// /// The anti shake /// AntiShake, /// /// The fireworks /// Fireworks } /// /// Defines the different AWB (Auto White Balance) modes for the Raspberry Pi's camera module /// public enum CameraWhiteBalanceMode { /// /// No white balance /// Off, /// /// The automatic /// Auto, /// /// The sun /// Sun, /// /// The cloud /// Cloud, /// /// The shade /// Shade, /// /// The tungsten /// Tungsten, /// /// The fluorescent /// Fluorescent, /// /// The incandescent /// Incandescent, /// /// The flash /// Flash, /// /// The horizon /// Horizon } /// /// Defines the available image effects for the Raspberry Pi's camera module /// public enum CameraImageEffect { /// /// No effect /// None, /// /// The negative /// Negative, /// /// The solarise /// Solarise, /// /// The whiteboard /// Whiteboard, /// /// The blackboard /// Blackboard, /// /// The sketch /// Sketch, /// /// The denoise /// Denoise, /// /// The emboss /// Emboss, /// /// The oil paint /// OilPaint, /// /// The hatch /// Hatch, /// /// Graphite Pen /// GPen, /// /// The pastel /// Pastel, /// /// The water colour /// WaterColour, /// /// The film /// Film, /// /// The blur /// Blur, /// /// The saturation /// Saturation, /// /// The solour swap /// SolourSwap, /// /// The washed out /// WashedOut, /// /// The colour point /// ColourPoint, /// /// The colour balance /// ColourBalance, /// /// The cartoon /// Cartoon } /// /// Defines the different metering modes for the Raspberry Pi's camera module /// public enum CameraMeteringMode { /// /// The average /// Average, /// /// The spot /// Spot, /// /// The backlit /// Backlit, /// /// The matrix /// Matrix, } /// /// Defines the different image rotation modes for the Raspberry Pi's camera module /// public enum CameraImageRotation { /// /// No rerotation /// None = 0, /// /// 90 Degrees /// Degrees90 = 90, /// /// 180 Degrees /// Degrees180 = 180, /// /// 270 degrees /// Degrees270 = 270 } /// /// Defines the different DRC (Dynamic Range Compensation) modes for the Raspberry Pi's camera module /// Helpful for low light photos /// public enum CameraDynamicRangeCompensation { /// /// The off setting /// Off, /// /// The low /// Low, /// /// The medium /// Medium, /// /// The high /// High } /// /// Defines the bit-wise mask flags for the available annotation elements for the Raspberry Pi's camera module /// [Flags] public enum CameraAnnotation { /// /// The none /// None = 0, /// /// The time /// Time = 4, /// /// The date /// Date = 8, /// /// The shutter settings /// ShutterSettings = 16, /// /// The caf settings /// CafSettings = 32, /// /// The gain settings /// GainSettings = 64, /// /// The lens settings /// LensSettings = 128, /// /// The motion settings /// MotionSettings = 256, /// /// The frame number /// FrameNumber = 512, /// /// The solid background /// SolidBackground = 1024, } /// /// Defines the different H.264 encoding profiles to be used when capturing video. /// public enum CameraH264Profile { /// /// BP: Primarily for lower-cost applications with limited computing resources, /// this profile is used widely in videoconferencing and mobile applications. /// Baseline, /// /// MP: Originally intended as the mainstream consumer profile for broadcast /// and storage applications, the importance of this profile faded when the High profile was developed for those applications. /// Main, /// /// HiP: The primary profile for broadcast and disc storage applications, particularly /// for high-definition television applications (this is the profile adopted into HD DVD and Blu-ray Disc, for example). /// High } }