media: replace ADOBERGB by OPRGB
The CTA-861 standards have been updated to refer to opRGB instead of AdobeRGB. The official standard is in fact named opRGB, so switch to that. The two old defines referring to ADOBERGB in the public API are put under #ifndef __KERNEL__ and a comment mentions that they are deprecated. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: stable@vger.kernel.org Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
b4fbf423ce
commit
db03401824
@@ -1243,9 +1243,9 @@ static int tc358743_log_status(struct v4l2_subdev *sd)
|
||||
u8 vi_status3 = i2c_rd8(sd, VI_STATUS3);
|
||||
const int deep_color_mode[4] = { 8, 10, 12, 16 };
|
||||
static const char * const input_color_space[] = {
|
||||
"RGB", "YCbCr 601", "Adobe RGB", "YCbCr 709", "NA (4)",
|
||||
"RGB", "YCbCr 601", "opRGB", "YCbCr 709", "NA (4)",
|
||||
"xvYCC 601", "NA(6)", "xvYCC 709", "NA(8)", "sYCC601",
|
||||
"NA(10)", "NA(11)", "NA(12)", "Adobe YCC 601"};
|
||||
"NA(10)", "NA(11)", "NA(12)", "opYCC 601"};
|
||||
|
||||
v4l2_info(sd, "-----Chip status-----\n");
|
||||
v4l2_info(sd, "Chip ID: 0x%02x\n",
|
||||
|
Reference in New Issue
Block a user