Skip to content

Commit 9c0ccee

Browse files
committed
drivers: video: exposure compensation control
Added automatic exposure compensation control under base camera class. Signed-off-by: Krystian Balicki <[email protected]>
1 parent 42d24c0 commit 9c0ccee

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

include/zephyr/drivers/video-controls.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,19 @@ enum video_camera_orientation {
334334
*/
335335
#define VIDEO_CID_CAMERA_SENSOR_ROTATION (VIDEO_CID_CAMERA_CLASS_BASE + 35)
336336

337+
/**
338+
* Determines the automatic exposure compensation. It is effective only when
339+
* VIDEO_CID_EXPOSURE_AUTO control is set to AUTO, SHUTTER_PRIORITY, or
340+
* APERTURE_PRIORITY. It is expressed in terms of EV; drivers should interpret
341+
* the values as 0.001 EV units, where the value 1000 stands for +1 EV.
342+
*
343+
* Increasing the exposure compensation value is equivalent to decreasing the
344+
* exposure value (EV) and will increase the amount of light at the image sensor.
345+
* The camera performs the exposure compensation by adjusting absolute exposure
346+
* time and/or aperture.
347+
*/
348+
#define VIDEO_CID_AUTO_EXPOSURE_BIAS (VIDEO_CID_CAMERA_CLASS_BASE + 36)
349+
337350
/**
338351
* @}
339352
*/

0 commit comments

Comments
 (0)