]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5098): Added support for V4L2_STD_NTSC_443
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 20 Jan 2007 16:58:20 +0000 (13:58 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:43 +0000 (13:34 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-core.c

index 278d2df77cdb3511055b8ef63f660d704214a17e..a51a3b76b1c84a7f13125fb1ae51a3e04c3f7794 100644 (file)
@@ -899,6 +899,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;
@@ -915,10 +918,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;