24#ifndef __INCLUDE_NUTTX_VIDEO_VIDEO_CONTROLS_H
25#define __INCLUDE_NUTTX_VIDEO_VIDEO_CONTROLS_H
46#define V4L2_CTRL_CLASS_USER (0x0100)
47#define V4L2_CTRL_CLASS_CAMERA (0x0200)
48#define V4L2_CTRL_CLASS_FLASH (0x0300)
49#define V4L2_CTRL_CLASS_JPEG (0x0400)
51#define USER_CID(v) (V4L2_CTRL_CLASS_USER + (v))
52#define CAMERA_CID(v) (V4L2_CTRL_CLASS_CAMERA + (v))
53#define FLASH_CID(v) (V4L2_CTRL_CLASS_FLASH + (v))
54#define JPEG_CID(v) (V4L2_CTRL_CLASS_JPEG + (v))
70#define V4L2_CID_BRIGHTNESS USER_CID(0)
71#define V4L2_CID_CONTRAST USER_CID(1)
72#define V4L2_CID_SATURATION USER_CID(2)
73#define V4L2_CID_HUE USER_CID(3)
74#define V4L2_CID_AUTO_WHITE_BALANCE USER_CID(4)
75#define V4L2_CID_RED_BALANCE USER_CID(5)
76#define V4L2_CID_BLUE_BALANCE USER_CID(6)
77#define V4L2_CID_GAMMA USER_CID(7)
78#define V4L2_CID_GAMMA_CURVE USER_CID(8)
79#define V4L2_CID_EXPOSURE USER_CID(9)
83#define V4L2_CID_HFLIP USER_CID(10)
87#define V4L2_CID_VFLIP USER_CID(11)
91#define V4L2_CID_HFLIP_STILL USER_CID(12)
95#define V4L2_CID_VFLIP_STILL USER_CID(13)
96#define V4L2_CID_SHARPNESS USER_CID(14)
97#define V4L2_CID_COLOR_KILLER USER_CID(15)
98#define V4L2_CID_COLORFX USER_CID(16)
123#define V4L2_CID_AUTOBRIGHTNESS USER_CID(17)
124#define V4L2_CID_ROTATE USER_CID(18)
135#define V4L2_CID_EXPOSURE_AUTO CAMERA_CID(0)
158#define V4L2_CID_EXPOSURE_ABSOLUTE CAMERA_CID(1)
160#define V4L2_CID_FOCUS_ABSOLUTE CAMERA_CID(2)
161#define V4L2_CID_FOCUS_RELATIVE CAMERA_CID(3)
162#define V4L2_CID_FOCUS_AUTO CAMERA_CID(4)
164#define V4L2_CID_ZOOM_ABSOLUTE CAMERA_CID(5)
165#define V4L2_CID_ZOOM_RELATIVE CAMERA_CID(6)
166#define V4L2_CID_ZOOM_CONTINUOUS CAMERA_CID(7)
168#define V4L2_CID_IRIS_ABSOLUTE CAMERA_CID(8)
169#define V4L2_CID_IRIS_RELATIVE CAMERA_CID(9)
173#define V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE CAMERA_CID(10)
191#define V4L2_CID_WIDE_DYNAMIC_RANGE CAMERA_CID(11)
195#define V4L2_CID_IMAGE_STABILIZATION CAMERA_CID(12)
196#define V4L2_CID_ISO_SENSITIVITY CAMERA_CID(13)
200#define V4L2_CID_ISO_SENSITIVITY_AUTO CAMERA_CID(14)
210#define V4L2_CID_EXPOSURE_METERING CAMERA_CID(15)
222#define V4L2_CID_SCENE_MODE CAMERA_CID(16)
245#define V4L2_CID_3A_LOCK CAMERA_CID(17)
246#define V4L2_LOCK_EXPOSURE (1 << 0)
248#define V4L2_LOCK_WHITE_BALANCE (1 << 1)
250#define V4L2_LOCK_FOCUS (1 << 2)
253#define V4L2_CID_AUTO_FOCUS_START CAMERA_CID(18)
254#define V4L2_CID_AUTO_FOCUS_STOP CAMERA_CID(19)
256#define V4L2_CID_3A_PARAMETER CAMERA_CID(20)
257#define V4L2_CID_3A_STATUS CAMERA_CID(21)
258#define V4L2_3A_STATUS_STABLE (0)
259#define V4L2_3A_STATUS_AE_OPERATING (1 << 0)
260#define V4L2_3A_STATUS_AWB_OPERATING (1 << 1)
261#define V4L2_3A_STATUS_AF_OPERATING (1 << 2)
265#define V4L2_CID_EXPOSURE_METERING_SPOT_POSITION CAMERA_CID(22)
276#define V4L2_CID_FLASH_LED_MODE FLASH_CID(0)
296#define V4L2_CID_JPEG_COMPRESSION_QUALITY JPEG_CID(0)
v4l2_exposure_metering
Definition: video_controls.h:215
v4l2_exposure_auto_type
Definition: video_controls.h:140
v4l2_scene_mode
Definition: video_controls.h:227
v4l2_iso_sensitivity_auto_type
Definition: video_controls.h:205
v4l2_auto_n_preset_white_balance
Definition: video_controls.h:178
@ V4L2_EXPOSURE_METERING_AVERAGE
Definition: video_controls.h:216
@ V4L2_EXPOSURE_METERING_MATRIX
Definition: video_controls.h:219
@ V4L2_EXPOSURE_METERING_SPOT
Definition: video_controls.h:218
@ V4L2_EXPOSURE_METERING_CENTER_WEIGHTED
Definition: video_controls.h:217
@ V4L2_EXPOSURE_APERTURE_PRIORITY
Definition: video_controls.h:155
@ V4L2_EXPOSURE_SHUTTER_PRIORITY
Definition: video_controls.h:151
@ V4L2_EXPOSURE_MANUAL
Definition: video_controls.h:147
@ V4L2_EXPOSURE_AUTO
Definition: video_controls.h:143
@ V4L2_SCENE_MODE_PARTY_INDOOR
Definition: video_controls.h:237
@ V4L2_SCENE_MODE_CANDLE_LIGHT
Definition: video_controls.h:231
@ V4L2_SCENE_MODE_FIREWORKS
Definition: video_controls.h:234
@ V4L2_SCENE_MODE_LANDSCAPE
Definition: video_controls.h:235
@ V4L2_SCENE_MODE_NONE
Definition: video_controls.h:228
@ V4L2_SCENE_MODE_DAWN_DUSK
Definition: video_controls.h:232
@ V4L2_SCENE_MODE_SUNSET
Definition: video_controls.h:240
@ V4L2_SCENE_MODE_SPORTS
Definition: video_controls.h:239
@ V4L2_SCENE_MODE_PORTRAIT
Definition: video_controls.h:238
@ V4L2_SCENE_MODE_BACKLIGHT
Definition: video_controls.h:229
@ V4L2_SCENE_MODE_BEACH_SNOW
Definition: video_controls.h:230
@ V4L2_SCENE_MODE_FALL_COLORS
Definition: video_controls.h:233
@ V4L2_SCENE_MODE_TEXT
Definition: video_controls.h:241
@ V4L2_SCENE_MODE_NIGHT
Definition: video_controls.h:236
@ V4L2_SCENE_MODE_MAX
Definition: video_controls.h:242
@ V4L2_ISO_SENSITIVITY_MANUAL
Definition: video_controls.h:206
@ V4L2_ISO_SENSITIVITY_AUTO
Definition: video_controls.h:207
@ V4L2_WHITE_BALANCE_FLUORESCENT_H
Definition: video_controls.h:183
@ V4L2_WHITE_BALANCE_HORIZON
Definition: video_controls.h:184
@ V4L2_WHITE_BALANCE_INCANDESCENT
Definition: video_controls.h:181
@ V4L2_WHITE_BALANCE_FLASH
Definition: video_controls.h:186
@ V4L2_WHITE_BALANCE_AUTO
Definition: video_controls.h:180
@ V4L2_WHITE_BALANCE_CLOUDY
Definition: video_controls.h:187
@ V4L2_WHITE_BALANCE_FLUORESCENT
Definition: video_controls.h:182
@ V4L2_WHITE_BALANCE_DAYLIGHT
Definition: video_controls.h:185
@ V4L2_WHITE_BALANCE_SHADE
Definition: video_controls.h:188
@ V4L2_WHITE_BALANCE_MANUAL
Definition: video_controls.h:179
v4l2_flash_led_mode
Definition: video_controls.h:281
@ V4L2_FLASH_LED_MODE_TORCH
Definition: video_controls.h:284
@ V4L2_FLASH_LED_MODE_FLASH
Definition: video_controls.h:283
@ V4L2_FLASH_LED_MODE_NONE
Definition: video_controls.h:282
v4l2_colorfx
Definition: video_controls.h:103
@ V4L2_COLORFX_SOLARIZATION
Definition: video_controls.h:117
@ V4L2_COLORFX_ART_FREEZE
Definition: video_controls.h:115
@ V4L2_COLORFX_SET_CBCR
Definition: video_controls.h:119
@ V4L2_COLORFX_ANTIQUE
Definition: video_controls.h:118
@ V4L2_COLORFX_AQUA
Definition: video_controls.h:114
@ V4L2_COLORFX_SKETCH
Definition: video_controls.h:109
@ V4L2_COLORFX_NEGATIVE
Definition: video_controls.h:107
@ V4L2_COLORFX_VIVID
Definition: video_controls.h:113
@ V4L2_COLORFX_PASTEL
Definition: video_controls.h:120
@ V4L2_COLORFX_NONE
Definition: video_controls.h:104
@ V4L2_COLORFX_SKY_BLUE
Definition: video_controls.h:110
@ V4L2_COLORFX_EMBOSS
Definition: video_controls.h:108
@ V4L2_COLORFX_BW
Definition: video_controls.h:105
@ V4L2_COLORFX_SKIN_WHITEN
Definition: video_controls.h:112
@ V4L2_COLORFX_GRASS_GREEN
Definition: video_controls.h:111
@ V4L2_COLORFX_SEPIA
Definition: video_controls.h:106
@ V4L2_COLORFX_SILHOUETTE
Definition: video_controls.h:116