diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-12-20 03:44:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 03:28:26 -0500 |
commit | 69e9ba6f31e6ff93eecdbf6fbeff8e5320fd2155 (patch) | |
tree | 65853db64dcf314c21f10a1a24a205162313eb88 /include | |
parent | 32dbc8d4d5b2307ade65a28679e904c84f64764e (diff) |
[media] adv7842: support YCrCb analog input, receive CEA formats as RGB on VGA input
Added support for YCrCb analog input.
If input is ADV7842_MODE_RGB and RGB quantization range is set to
V4L2_DV_RGB_RANGE_AUTO, then video with CEA timings will be received
as RGB. For ADV7842_MODE_COMP, automatic CSC mode will be selected.
See table 48 on page 281 in "ADV7842 Hardware Manual, Rev. 0, January 2011"
for details.
Make sure that when switching inputs the RGB quantization range is
updated as well.
Also updated the platform_data in ezkit to ensure that what was the old
default value is now explicitly specified, so the behavior for that board
is unchanged.
Signed-off-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Martin Bugge <marbugge@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/adv7842.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/media/adv7842.h b/include/media/adv7842.h index c023f88475da..f4e9d0d68c13 100644 --- a/include/media/adv7842.h +++ b/include/media/adv7842.h | |||
@@ -163,9 +163,6 @@ struct adv7842_platform_data { | |||
163 | /* Video standard */ | 163 | /* Video standard */ |
164 | enum adv7842_vid_std_select vid_std_select; | 164 | enum adv7842_vid_std_select vid_std_select; |
165 | 165 | ||
166 | /* Input Color Space */ | ||
167 | enum adv7842_inp_color_space inp_color_space; | ||
168 | |||
169 | /* Select output format */ | 166 | /* Select output format */ |
170 | enum adv7842_op_format_sel op_format_sel; | 167 | enum adv7842_op_format_sel op_format_sel; |
171 | 168 | ||