summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-01-20 14:58:20 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-01-20 14:58:20 -0200
commitc4e2b7d97e02a660f5c45fde211074dba7102155 (patch)
treec0a4e31ee0f83b4702a0b2e55fe1c449ac3d92d5 /linux/drivers/media
parentd0eb1f909832fbb0959a05a7bb96d31f2c385515 (diff)
downloadmediapointer-dvb-s2-c4e2b7d97e02a660f5c45fde211074dba7102155.tar.gz
mediapointer-dvb-s2-c4e2b7d97e02a660f5c45fde211074dba7102155.tar.bz2
Added support for V4L2_STD_NTSC_443
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/video/cx88/cx88-core.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/cx88/cx88-core.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c
index ab557ca97..b018e9073 100644
--- a/linux/drivers/media/video/cx88/cx88-core.c
+++ b/linux/drivers/media/video/cx88/cx88-core.c
@@ -941,6 +941,9 @@ int cx88_set_tvnorm(struct cx88_core *core, struct v4l2_tvnorm *norm)
if (norm->id & V4L2_STD_NTSC_M_JP) {
cxiformat = VideoFormatNTSCJapan;
cxoformat = 0x181f0008;
+ } else if (norm->id & V4L2_STD_NTSC_443) {
+ cxiformat = VideoFormatNTSC443;
+ cxoformat = 0x181f0008;
} else if (norm->id & V4L2_STD_PAL_M) {
cxiformat = VideoFormatPALM;
cxoformat = 0x1c1f0008;
@@ -957,10 +960,11 @@ int cx88_set_tvnorm(struct cx88_core *core, struct v4l2_tvnorm *norm)
cxiformat = VideoFormatNTSC;
cxoformat = 0x181f0008;
} else if (norm->id & V4L2_STD_SECAM) {
- cxiformat = VideoFormatSECAM;
- cxoformat = 0x181f0008;
step_db = 4250000 * 8;
step_dr = 4406250 * 8;
+
+ cxiformat = VideoFormatSECAM;
+ cxoformat = 0x181f0008;
} else { /* PAL */
cxiformat = VideoFormatPAL;
cxoformat = 0x181f0008;