OSDN Git Service

[media] vivid: use consistent colorspace/Y'CbCr Encoding strings
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 29 Jan 2015 11:22:37 +0000 (08:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 13:08:28 +0000 (11:08 -0200)
Keep the colorspace and encoding names consistent with what is
used elsewhere (primarily the utilities in v4l-utils.git).

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-ctrls.c

index 857e786..32a798f 100644 (file)
@@ -689,7 +689,7 @@ static const struct v4l2_ctrl_config vivid_ctrl_max_edid_blocks = {
 
 static const char * const vivid_ctrl_colorspace_strings[] = {
        "SMPTE 170M",
-       "REC 709",
+       "Rec. 709",
        "sRGB",
        "AdobeRGB",
        "BT.2020",
@@ -716,7 +716,7 @@ static const char * const vivid_ctrl_ycbcr_enc_strings[] = {
        "xvYCC 601",
        "xvYCC 709",
        "sYCC",
-       "BT.2020 Non-Constant Luminance",
+       "BT.2020",
        "BT.2020 Constant Luminance",
        "SMPTE 240M",
        NULL,