diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-09-20 16:24:58 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-03 13:36:40 +0300 |
commit | c0d5b5fbbe1b13c5d474b58bf89dd7ff2e6eb6e1 (patch) | |
tree | bd8367b2b88c773239ade3a6f94f11c9757c66f9 /drivers/media/pci/cx88/cx88.h | |
parent | 98822de9ae22083658104e43d52f2cb0f3df1138 (diff) | |
download | linux-c0d5b5fbbe1b13c5d474b58bf89dd7ff2e6eb6e1.tar.xz |
[media] cx88: fix VBI support
Now works with both NTSC and PAL. Tested with CC/XDS for NTSC and
teletext/WSS for PAL. The start lines were wrong, the WSS signal
wasn't captured and there was no difference between NTSC and PAL
w.r.t. the count[] values so NTSC returned way too many lines.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/cx88/cx88.h')
-rw-r--r-- | drivers/media/pci/cx88/cx88.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/pci/cx88/cx88.h b/drivers/media/pci/cx88/cx88.h index 2fa4aa93e503..3b0ae754f165 100644 --- a/drivers/media/pci/cx88/cx88.h +++ b/drivers/media/pci/cx88/cx88.h @@ -61,7 +61,8 @@ #define FORMAT_FLAGS_PACKED 0x01 #define FORMAT_FLAGS_PLANAR 0x02 -#define VBI_LINE_COUNT 17 +#define VBI_LINE_PAL_COUNT 18 +#define VBI_LINE_NTSC_COUNT 12 #define VBI_LINE_LENGTH 2048 #define AUD_RDS_LINES 4 |