summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-streams.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-05-16 21:06:57 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:21:14 -0300
commit929a3ad1525895c394cbe97a6b74792da9a865a6 (patch)
treef047e4a623c537da202f0cb5a4a242469da62dc7 /drivers/media/video/cx18/cx18-streams.c
parent5ab740522fbee3a2ef83554b9a9c92692c8c0f74 (diff)
downloadop-kernel-dev-929a3ad1525895c394cbe97a6b74792da9a865a6.zip
op-kernel-dev-929a3ad1525895c394cbe97a6b74792da9a865a6.tar.gz
V4L/DVB (11864): cx18: Complete support for Sliced and Raw VBI for 625 line systems
Finish changes for sliced and raw VBI for 625 line systems. Tested with VPS and WSS being emitted by a PVR-350 in field 1 lines 16 and 23. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-streams.c')
-rw-r--r--drivers/media/video/cx18/cx18-streams.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c
index a080039..54d248e 100644
--- a/drivers/media/video/cx18/cx18-streams.c
+++ b/drivers/media/video/cx18/cx18-streams.c
@@ -374,12 +374,11 @@ static void cx18_vbi_setup(struct cx18_stream *s)
* For 625/50 systems, according to the VIP 2 & BT.656 std:
* The EAV RP code's Field bit toggles on line 1, a few lines
* after the Vertcal Blank bit has already toggled.
- * Tell the encoder to capture 23-1+1=23 lines per field,
- * since we want lines 6 through 23.
- *
- * FIXME - revisit for 625/50 systems
+ * (We've actually set the digitizer so that the Field bit
+ * toggles on line 2.) Tell the encoder to capture 23-2+1=22
+ * lines per field, since we want lines 6 through 23.
*/
- lines = cx->is_60hz ? (21 - 4 + 1) * 2 : (23 - 1 + 1) * 2;
+ lines = cx->is_60hz ? (21 - 4 + 1) * 2 : (23 - 2 + 1) * 2;
}
data[0] = s->handle;
OpenPOWER on IntegriCloud