Commit d0a3a275 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] vivid: don't mention the obsolete sYCC Y'CbCr encoding

This encoding is identical to the 601 encoding. The old duplicate
SYCC define is about to be removed for use in the kernel, so remove
its use in vivid first.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 7e0739cd
...@@ -761,7 +761,7 @@ static const char * const vivid_ctrl_ycbcr_enc_strings[] = { ...@@ -761,7 +761,7 @@ static const char * const vivid_ctrl_ycbcr_enc_strings[] = {
"Rec. 709", "Rec. 709",
"xvYCC 601", "xvYCC 601",
"xvYCC 709", "xvYCC 709",
"sYCC", "",
"BT.2020", "BT.2020",
"BT.2020 Constant Luminance", "BT.2020 Constant Luminance",
"SMPTE 240M", "SMPTE 240M",
...@@ -773,6 +773,7 @@ static const struct v4l2_ctrl_config vivid_ctrl_ycbcr_enc = { ...@@ -773,6 +773,7 @@ static const struct v4l2_ctrl_config vivid_ctrl_ycbcr_enc = {
.id = VIVID_CID_YCBCR_ENC, .id = VIVID_CID_YCBCR_ENC,
.name = "Y'CbCr Encoding", .name = "Y'CbCr Encoding",
.type = V4L2_CTRL_TYPE_MENU, .type = V4L2_CTRL_TYPE_MENU,
.menu_skip_mask = 1 << 5,
.max = ARRAY_SIZE(vivid_ctrl_ycbcr_enc_strings) - 2, .max = ARRAY_SIZE(vivid_ctrl_ycbcr_enc_strings) - 2,
.qmenu = vivid_ctrl_ycbcr_enc_strings, .qmenu = vivid_ctrl_ycbcr_enc_strings,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment