8#ifndef ZEPHYR_INCLUDE_VIDEO_CONTROLS_H_
9#define ZEPHYR_INCLUDE_VIDEO_CONTROLS_H_
43#define VIDEO_CID_BASE 0x00980900
46#define VIDEO_CID_BRIGHTNESS (VIDEO_CID_BASE + 0)
49#define VIDEO_CID_CONTRAST (VIDEO_CID_BASE + 1)
52#define VIDEO_CID_SATURATION (VIDEO_CID_BASE + 2)
55#define VIDEO_CID_HUE (VIDEO_CID_BASE + 3)
58#define VIDEO_CID_AUTO_WHITE_BALANCE (VIDEO_CID_BASE + 12)
61#define VIDEO_CID_RED_BALANCE (VIDEO_CID_BASE + 14)
64#define VIDEO_CID_BLUE_BALANCE (VIDEO_CID_BASE + 15)
67#define VIDEO_CID_GAMMA (VIDEO_CID_BASE + 16)
70#define VIDEO_CID_EXPOSURE (VIDEO_CID_BASE + 17)
73#define VIDEO_CID_AUTOGAIN (VIDEO_CID_BASE + 18)
79#define VIDEO_CID_GAIN (VIDEO_CID_BASE + 19)
82#define VIDEO_CID_HFLIP (VIDEO_CID_BASE + 20)
85#define VIDEO_CID_VFLIP (VIDEO_CID_BASE + 21)
88#define VIDEO_CID_POWER_LINE_FREQUENCY (VIDEO_CID_BASE + 24)
100#define VIDEO_CID_HUE_AUTO (VIDEO_CID_BASE + 25)
105#define VIDEO_CID_WHITE_BALANCE_TEMPERATURE (VIDEO_CID_BASE + 26)
110#define VIDEO_CID_SHARPNESS (VIDEO_CID_BASE + 27)
115#define VIDEO_CID_BACKLIGHT_COMPENSATION (VIDEO_CID_BASE + 28)
118#define VIDEO_CID_COLORFX (VIDEO_CID_BASE + 31)
138#define VIDEO_CID_AUTOBRIGHTNESS (VIDEO_CID_BASE + 32)
143#define VIDEO_CID_BAND_STOP_FILTER (VIDEO_CID_BASE + 33)
149#define VIDEO_CID_ALPHA_COMPONENT (VIDEO_CID_BASE + 41)
152#define VIDEO_CID_LASTP1 (VIDEO_CID_BASE + 44)
162#define VIDEO_CID_CODEC_CLASS_BASE 0x00990900
172#define VIDEO_CID_CAMERA_CLASS_BASE 0x009a0900
178#define VIDEO_CID_EXPOSURE_AUTO (VIDEO_CID_CAMERA_CLASS_BASE + 1)
191#define VIDEO_CID_EXPOSURE_ABSOLUTE (VIDEO_CID_CAMERA_CLASS_BASE + 2)
197#define VIDEO_CID_EXPOSURE_AUTO_PRIORITY (VIDEO_CID_CAMERA_CLASS_BASE + 3)
203#define VIDEO_CID_PAN_RELATIVE (VIDEO_CID_CAMERA_CLASS_BASE + 4)
209#define VIDEO_CID_TILT_RELATIVE (VIDEO_CID_CAMERA_CLASS_BASE + 5)
216#define VIDEO_CID_PAN_ABSOLUTE (VIDEO_CID_CAMERA_CLASS_BASE + 8)
222#define VIDEO_CID_TILT_ABSOLUTE (VIDEO_CID_CAMERA_CLASS_BASE + 9)
228#define VIDEO_CID_FOCUS_ABSOLUTE (VIDEO_CID_CAMERA_CLASS_BASE + 10)
234#define VIDEO_CID_FOCUS_RELATIVE (VIDEO_CID_CAMERA_CLASS_BASE + 11)
240#define VIDEO_CID_FOCUS_AUTO (VIDEO_CID_CAMERA_CLASS_BASE + 12)
245#define VIDEO_CID_ZOOM_ABSOLUTE (VIDEO_CID_CAMERA_CLASS_BASE + 13)
251#define VIDEO_CID_ZOOM_RELATIVE (VIDEO_CID_CAMERA_CLASS_BASE + 14)
260#define VIDEO_CID_ZOOM_CONTINUOUS (VIDEO_CID_CAMERA_CLASS_BASE + 15)
265#define VIDEO_CID_IRIS_ABSOLUTE (VIDEO_CID_CAMERA_CLASS_BASE + 17)
271#define VIDEO_CID_IRIS_RELATIVE (VIDEO_CID_CAMERA_CLASS_BASE + 18)
279#define VIDEO_CID_WIDE_DYNAMIC_RANGE (VIDEO_CID_CAMERA_CLASS_BASE + 21)
286#define VIDEO_CID_PAN_SPEED (VIDEO_CID_CAMERA_CLASS_BASE + 32)
292#define VIDEO_CID_TILT_SPEED (VIDEO_CID_CAMERA_CLASS_BASE + 33)
302#define VIDEO_CID_CAMERA_ORIENTATION (VIDEO_CID_CAMERA_CLASS_BASE + 34)
317#define VIDEO_CID_CAMERA_SENSOR_ROTATION (VIDEO_CID_CAMERA_CLASS_BASE + 35)
327#define VIDEO_CID_FLASH_CLASS_BASE 0x009c0900
337#define VIDEO_CID_JPEG_CLASS_BASE 0x009d0900
340#define VIDEO_CID_JPEG_COMPRESSION_QUALITY (VIDEO_CID_JPEG_CLASS_BASE + 3)
350#define VIDEO_CID_IMAGE_SOURCE_CLASS_BASE 0x009e0900
353#define VIDEO_CID_ANALOGUE_GAIN (VIDEO_CID_IMAGE_SOURCE_CLASS_BASE + 3)
363#define VIDEO_CID_IMAGE_PROC_CLASS_BASE 0x009f0900
366#define VIDEO_CID_PIXEL_RATE (VIDEO_CID_IMAGE_PROC_CLASS_BASE + 2)
369#define VIDEO_CID_TEST_PATTERN (VIDEO_CID_IMAGE_PROC_CLASS_BASE + 3)
379#define VIDEO_CID_PRIVATE_BASE 0x08000000
389#define VIDEO_CTRL_FLAG_NEXT_CTRL 0x80000000
video_exposure_type
Definition video-controls.h:179
video_camera_orientation
Definition video-controls.h:303
video_colorfx
Definition video-controls.h:119
video_power_line_frequency
Definition video-controls.h:89
@ VIDEO_EXPOSURE_MANUAL
Definition video-controls.h:181
@ VIDEO_EXPOSURE_APERTURE_PRIORITY
Definition video-controls.h:183
@ VIDEO_EXPOSURE_AUTO
Definition video-controls.h:180
@ VIDEO_EXPOSURE_SHUTTER_PRIORITY
Definition video-controls.h:182
@ VIDEO_CAMERA_ORIENTATION_FRONT
Camera installed on the user-facing side of a phone/tablet/laptop device.
Definition video-controls.h:305
@ VIDEO_CAMERA_ORIENTATION_BACK
Camera installed on the opposite side of the user.
Definition video-controls.h:307
@ VIDEO_CAMERA_ORIENTATION_EXTERNAL
Camera sensors not directly attached to the device or that can move freely.
Definition video-controls.h:309
@ VIDEO_COLORFX_ART_FREEZE
Definition video-controls.h:131
@ VIDEO_COLORFX_SKY_BLUE
Definition video-controls.h:126
@ VIDEO_COLORFX_SILHOUETTE
Definition video-controls.h:132
@ VIDEO_COLORFX_SOLARIZATION
Definition video-controls.h:133
@ VIDEO_COLORFX_SKIN_WHITEN
Definition video-controls.h:128
@ VIDEO_COLORFX_SEPIA
Definition video-controls.h:122
@ VIDEO_COLORFX_BW
Definition video-controls.h:121
@ VIDEO_COLORFX_VIVID
Definition video-controls.h:129
@ VIDEO_COLORFX_ANTIQUE
Definition video-controls.h:134
@ VIDEO_COLORFX_SKETCH
Definition video-controls.h:125
@ VIDEO_COLORFX_NONE
Definition video-controls.h:120
@ VIDEO_COLORFX_EMBOSS
Definition video-controls.h:124
@ VIDEO_COLORFX_GRASS_GREEN
Definition video-controls.h:127
@ VIDEO_COLORFX_NEGATIVE
Definition video-controls.h:123
@ VIDEO_COLORFX_AQUA
Definition video-controls.h:130
@ VIDEO_CID_POWER_LINE_FREQUENCY_DISABLED
Definition video-controls.h:90
@ VIDEO_CID_POWER_LINE_FREQUENCY_AUTO
Definition video-controls.h:93
@ VIDEO_CID_POWER_LINE_FREQUENCY_60HZ
Definition video-controls.h:92
@ VIDEO_CID_POWER_LINE_FREQUENCY_50HZ
Definition video-controls.h:91
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__INT32_TYPE__ int32_t
Definition stdint.h:74
__INT64_TYPE__ int64_t
Definition stdint.h:75
Video control structure.
Definition video-controls.h:407
int32_t val
Definition video-controls.h:412
uint32_t id
control id
Definition video-controls.h:409
int64_t val64
Definition video-controls.h:413
Definition video-controls.h:454
const char * name
control name
Definition video-controls.h:460
struct video_ctrl_range range
control range
Definition video-controls.h:464
const char *const * menu
menu if control is of menu type
Definition video-controls.h:466
uint32_t type
control type
Definition video-controls.h:458
uint32_t id
control id
Definition video-controls.h:456
uint32_t flags
control flags
Definition video-controls.h:462
Definition video-controls.h:423
int32_t min
Definition video-controls.h:426
int64_t min64
Definition video-controls.h:427
int32_t max
Definition video-controls.h:431
int64_t max64
Definition video-controls.h:432
int64_t step64
Definition video-controls.h:437
int64_t def64
Definition video-controls.h:444
int32_t step
Definition video-controls.h:436
int32_t def
Definition video-controls.h:443