diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2010-03-11 20:00:13 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:50:17 -0400 |
commit | f1a4f9eab2bac10d3145d75342eb372c0ef9f125 (patch) | |
tree | c4782782b78dd19938b93d302c076ea740cabc21 /drivers/media/video/v4l2-common.c | |
parent | 87a6fe4a530cc01081d19cdec4738433972fb0ee (diff) |
V4L/DVB: v4l2-common: add ability to use v4l2_ctrl_query_fill for chroma gain
Add the ability to use the v4l2_ctrl_query_fill() function for the newly
introduced chroma gain control.
Also, make use of the centralized function by the one caller.
This work was sponsored by EyeMagnet Limited.
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/v4l2-common.c')
-rw-r--r-- | drivers/media/video/v4l2-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c index e6798346100..6a3d0b71f78 100644 --- a/drivers/media/video/v4l2-common.c +++ b/drivers/media/video/v4l2-common.c | |||
@@ -429,6 +429,7 @@ const char *v4l2_ctrl_get_name(u32 id) | |||
429 | case V4L2_CID_SHARPNESS: return "Sharpness"; | 429 | case V4L2_CID_SHARPNESS: return "Sharpness"; |
430 | case V4L2_CID_BACKLIGHT_COMPENSATION: return "Backlight Compensation"; | 430 | case V4L2_CID_BACKLIGHT_COMPENSATION: return "Backlight Compensation"; |
431 | case V4L2_CID_CHROMA_AGC: return "Chroma AGC"; | 431 | case V4L2_CID_CHROMA_AGC: return "Chroma AGC"; |
432 | case V4L2_CID_CHROMA_GAIN: return "Chroma Gain"; | ||
432 | case V4L2_CID_COLOR_KILLER: return "Color Killer"; | 433 | case V4L2_CID_COLOR_KILLER: return "Color Killer"; |
433 | case V4L2_CID_COLORFX: return "Color Effects"; | 434 | case V4L2_CID_COLORFX: return "Color Effects"; |
434 | case V4L2_CID_AUTOBRIGHTNESS: return "Brightness, Automatic"; | 435 | case V4L2_CID_AUTOBRIGHTNESS: return "Brightness, Automatic"; |
@@ -622,6 +623,7 @@ int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 ste | |||
622 | case V4L2_CID_BLUE_BALANCE: | 623 | case V4L2_CID_BLUE_BALANCE: |
623 | case V4L2_CID_GAMMA: | 624 | case V4L2_CID_GAMMA: |
624 | case V4L2_CID_SHARPNESS: | 625 | case V4L2_CID_SHARPNESS: |
626 | case V4L2_CID_CHROMA_GAIN: | ||
625 | case V4L2_CID_RDS_TX_DEVIATION: | 627 | case V4L2_CID_RDS_TX_DEVIATION: |
626 | case V4L2_CID_AUDIO_LIMITER_RELEASE_TIME: | 628 | case V4L2_CID_AUDIO_LIMITER_RELEASE_TIME: |
627 | case V4L2_CID_AUDIO_LIMITER_DEVIATION: | 629 | case V4L2_CID_AUDIO_LIMITER_DEVIATION: |