summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-12-02 23:10:04 -0600
committerMike Isely <isely@pobox.com>2007-12-02 23:10:04 -0600
commit81c351c02f6ad4d967f24dc5f132fc6f5a755570 (patch)
treeb1960ccdeb79964df8ee280bdad55a536729ae4f /linux
parent74ad60100684b29485d113272840d70af61d8026 (diff)
downloadmediapointer-dvb-s2-81c351c02f6ad4d967f24dc5f132fc6f5a755570.tar.gz
mediapointer-dvb-s2-81c351c02f6ad4d967f24dc5f132fc6f5a755570.tar.bz2
pvrusb2: Recognize ATSC video standard bit values
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-std.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-std.c b/linux/drivers/media/video/pvrusb2/pvrusb2-std.c
index dd49a60ec..b37854b06 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-std.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-std.c
@@ -51,6 +51,10 @@ struct std_name {
V4L2_STD_NTSC_M_KR| \
V4L2_STD_NTSC_443)
+#define CSTD_ATSC \
+ (V4L2_STD_ATSC_8_VSB| \
+ V4L2_STD_ATSC_16_VSB)
+
#define CSTD_SECAM \
(V4L2_STD_SECAM_B| \
V4L2_STD_SECAM_D| \
@@ -83,6 +87,7 @@ static const struct std_name std_groups[] = {
{"PAL",CSTD_PAL},
{"NTSC",CSTD_NTSC},
{"SECAM",CSTD_SECAM},
+ {"ATSC",CSTD_ATSC},
};
/* Mapping of standard bits to modulation system */
@@ -105,6 +110,8 @@ static const struct std_name std_items[] = {
{"N",TSTD_N},
{"Nc",TSTD_Nc},
{"60",TSTD_60},
+ {"8VSB",V4L2_STD_ATSC_8_VSB},
+ {"16VSB",V4L2_STD_ATSC_16_VSB},
};