V4L/DVB (5098): Added support for V4L2_STD_NTSC_443

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Mauro Carvalho Chehab 2007-01-20 13:58:20 -03:00
parent 8d87cb9f31
commit 1427f6b6b9

View 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) { if (norm->id & V4L2_STD_NTSC_M_JP) {
cxiformat = VideoFormatNTSCJapan; cxiformat = VideoFormatNTSCJapan;
cxoformat = 0x181f0008; cxoformat = 0x181f0008;
} else if (norm->id & V4L2_STD_NTSC_443) {
cxiformat = VideoFormatNTSC443;
cxoformat = 0x181f0008;
} else if (norm->id & V4L2_STD_PAL_M) { } else if (norm->id & V4L2_STD_PAL_M) {
cxiformat = VideoFormatPALM; cxiformat = VideoFormatPALM;
cxoformat = 0x1c1f0008; cxoformat = 0x1c1f0008;
@ -915,10 +918,11 @@ int cx88_set_tvnorm(struct cx88_core *core, struct v4l2_tvnorm *norm)
cxiformat = VideoFormatNTSC; cxiformat = VideoFormatNTSC;
cxoformat = 0x181f0008; cxoformat = 0x181f0008;
} else if (norm->id & V4L2_STD_SECAM) { } else if (norm->id & V4L2_STD_SECAM) {
cxiformat = VideoFormatSECAM;
cxoformat = 0x181f0008;
step_db = 4250000 * 8; step_db = 4250000 * 8;
step_dr = 4406250 * 8; step_dr = 4406250 * 8;
cxiformat = VideoFormatSECAM;
cxoformat = 0x181f0008;
} else { /* PAL */ } else { /* PAL */
cxiformat = VideoFormatPAL; cxiformat = VideoFormatPAL;
cxoformat = 0x181f0008; cxoformat = 0x181f0008;