summaryrefslogtreecommitdiffstats
path: root/Documentation/userspace-api/media
diff options
context:
space:
mode:
authorBenjamin Mugnier <benjamin.mugnier@foss.st.com>2022-10-11 14:16:02 +0200
committerSakari Ailus <sakari.ailus@linux.intel.com>2022-10-25 14:38:31 +0300
commit7673f3058bd2511474491d4f82c2ece09176412c (patch)
treefe810c091ad488a51fce343e291ac5d84ff56216 /Documentation/userspace-api/media
parent48f750e25ab72c36f2b043370175adf602d4a45e (diff)
downloadlinux-7673f3058bd2511474491d4f82c2ece09176412c.tar.gz
linux-7673f3058bd2511474491d4f82c2ece09176412c.tar.bz2
linux-7673f3058bd2511474491d4f82c2ece09176412c.zip
media: v4l: ctrls: Add a control for HDR mode
Add V4L2_CID_HDR_MODE as a menu item control to set the HDR mode of the sensor, and its documentation. Menu items are not standardized as they differ for each sensors. Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'Documentation/userspace-api/media')
-rw-r--r--Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst
index 4c5061aa9cd4..daa4f40869f8 100644
--- a/Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst
+++ b/Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst
@@ -661,3 +661,11 @@ enum v4l2_scene_mode -
.. [#f1]
This control may be changed to a menu control in the future, if more
options are required.
+
+``V4L2_CID_HDR_SENSOR_MODE (menu)``
+ Change the sensor HDR mode. A HDR picture is obtained by merging two
+ captures of the same scene using two different exposure periods. HDR mode
+ describes the way these two captures are merged in the sensor.
+
+ As modes differ for each sensor, menu items are not standardized by this
+ control and are left to the programmer.