diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-07-01 10:26:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 17:42:44 -0400 |
commit | a2f8b84fed92d56c3891d03f090601c53766b118 (patch) | |
tree | 619c2be38869cbb734498fac22a10aed11034464 | |
parent | 0dddf838694c5e5db8b602d4282447c0e2b943a4 (diff) |
[media] v4l2-ctrls: Teach v4l2-ctrls that V4L2_CID_AUTOBRIGHTNESS is a boolean
And document V4L2_CID_AUTOBRIGHTNESS.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | Documentation/DocBook/media/v4l/controls.xml | 5 | ||||
-rw-r--r-- | drivers/media/video/v4l2-ctrls.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml index 43ca749fc5e3..6c27f7b0aca4 100644 --- a/Documentation/DocBook/media/v4l/controls.xml +++ b/Documentation/DocBook/media/v4l/controls.xml | |||
@@ -373,6 +373,11 @@ minimum value disables backlight compensation.</entry> | |||
373 | </entry> | 373 | </entry> |
374 | </row> | 374 | </row> |
375 | <row> | 375 | <row> |
376 | <entry><constant>V4L2_CID_AUTOBRIGHTNESS</constant></entry> | ||
377 | <entry>boolean</entry> | ||
378 | <entry>Enable Automatic Brightness.</entry> | ||
379 | </row> | ||
380 | <row> | ||
376 | <entry><constant>V4L2_CID_ROTATE</constant></entry> | 381 | <entry><constant>V4L2_CID_ROTATE</constant></entry> |
377 | <entry>integer</entry> | 382 | <entry>integer</entry> |
378 | <entry>Rotates the image by specified angle. Common angles are 90, | 383 | <entry>Rotates the image by specified angle. Common angles are 90, |
diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 9abd9abd4502..babfb13dc7f2 100644 --- a/drivers/media/video/v4l2-ctrls.c +++ b/drivers/media/video/v4l2-ctrls.c | |||
@@ -755,6 +755,7 @@ void v4l2_ctrl_fill(u32 id, const char **name, enum v4l2_ctrl_type *type, | |||
755 | case V4L2_CID_HUE_AUTO: | 755 | case V4L2_CID_HUE_AUTO: |
756 | case V4L2_CID_CHROMA_AGC: | 756 | case V4L2_CID_CHROMA_AGC: |
757 | case V4L2_CID_COLOR_KILLER: | 757 | case V4L2_CID_COLOR_KILLER: |
758 | case V4L2_CID_AUTOBRIGHTNESS: | ||
758 | case V4L2_CID_MPEG_AUDIO_MUTE: | 759 | case V4L2_CID_MPEG_AUDIO_MUTE: |
759 | case V4L2_CID_MPEG_VIDEO_MUTE: | 760 | case V4L2_CID_MPEG_VIDEO_MUTE: |
760 | case V4L2_CID_MPEG_VIDEO_GOP_CLOSURE: | 761 | case V4L2_CID_MPEG_VIDEO_GOP_CLOSURE: |