Commit 9de982d3 authored by Mike Isely's avatar Mike Isely Committed by Mauro Carvalho Chehab

V4L/DVB (6710): pvrusb2: Recognize ATSC video standard bit values

Signed-off-by: default avatarMike Isely <isely@pobox.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 3d290bdb
...@@ -50,6 +50,10 @@ struct std_name { ...@@ -50,6 +50,10 @@ struct std_name {
V4L2_STD_NTSC_M_KR| \ V4L2_STD_NTSC_M_KR| \
V4L2_STD_NTSC_443) V4L2_STD_NTSC_443)
#define CSTD_ATSC \
(V4L2_STD_ATSC_8_VSB| \
V4L2_STD_ATSC_16_VSB)
#define CSTD_SECAM \ #define CSTD_SECAM \
(V4L2_STD_SECAM_B| \ (V4L2_STD_SECAM_B| \
V4L2_STD_SECAM_D| \ V4L2_STD_SECAM_D| \
...@@ -82,6 +86,7 @@ static const struct std_name std_groups[] = { ...@@ -82,6 +86,7 @@ static const struct std_name std_groups[] = {
{"PAL",CSTD_PAL}, {"PAL",CSTD_PAL},
{"NTSC",CSTD_NTSC}, {"NTSC",CSTD_NTSC},
{"SECAM",CSTD_SECAM}, {"SECAM",CSTD_SECAM},
{"ATSC",CSTD_ATSC},
}; };
/* Mapping of standard bits to modulation system */ /* Mapping of standard bits to modulation system */
...@@ -104,6 +109,8 @@ static const struct std_name std_items[] = { ...@@ -104,6 +109,8 @@ static const struct std_name std_items[] = {
{"N",TSTD_N}, {"N",TSTD_N},
{"Nc",TSTD_Nc}, {"Nc",TSTD_Nc},
{"60",TSTD_60}, {"60",TSTD_60},
{"8VSB",V4L2_STD_ATSC_8_VSB},
{"16VSB",V4L2_STD_ATSC_16_VSB},
}; };
......
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