Commit fc39f46b54b600f053bf9bab757023344e97925e
Committed by
Mauro Carvalho Chehab
1 parent
4163851f7b
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
[media] V4L: Add MATRIX option to V4L2_CID_EXPOSURE_METERING control
This patch adds a menu option to the V4L2_CID_EXPOSURE_METERING control for multi-zone metering. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Showing 3 changed files with 9 additions and 0 deletions Side-by-side Diff
Documentation/DocBook/media/v4l/controls.xml
... | ... | @@ -3142,6 +3142,13 @@ |
3142 | 3142 | <entry><constant>V4L2_EXPOSURE_METERING_SPOT</constant> </entry> |
3143 | 3143 | <entry>Measure only very small area at the center of the frame.</entry> |
3144 | 3144 | </row> |
3145 | + <row> | |
3146 | + <entry><constant>V4L2_EXPOSURE_METERING_MATRIX</constant> </entry> | |
3147 | + <entry>A multi-zone metering. The light intensity is measured | |
3148 | +in several points of the frame and the the results are combined. The | |
3149 | +algorithm of the zones selection and their significance in calculating the | |
3150 | +final value is device dependant.</entry> | |
3151 | + </row> | |
3145 | 3152 | </tbody> |
3146 | 3153 | </entrytbl> |
3147 | 3154 | </row> |
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h