diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-09 15:44:51 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-09 15:44:51 -0200 |
commit | 97ff0b0275491dc62dbee36a7e53c4c3455efa8e (patch) | |
tree | f0b017acbef5b78b7e4ac2eeb05d23128da2944d /linux/drivers/media/video/cx18/cx18-av-core.h | |
parent | f605aeb864167147d6fcf6841b3bb523276bb519 (diff) | |
parent | 72091cc67a980e47b58cc61e9d9fc283214f63d7 (diff) | |
download | mediapointer-dvb-s2-97ff0b0275491dc62dbee36a7e53c4c3455efa8e.tar.gz mediapointer-dvb-s2-97ff0b0275491dc62dbee36a7e53c4c3455efa8e.tar.bz2 |
merge: http://linuxtv.org/hg/~anttip/mc44s803/
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-av-core.h')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-av-core.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-av-core.h b/linux/drivers/media/video/cx18/cx18-av-core.h index cf68a6039..d83760cae 100644 --- a/linux/drivers/media/video/cx18/cx18-av-core.h +++ b/linux/drivers/media/video/cx18/cx18-av-core.h @@ -79,11 +79,28 @@ struct cx18_av_state { enum cx18_av_audio_input aud_input; u32 audclk_freq; int audmode; - int vbi_line_offset; int default_volume; u32 id; u32 rev; int is_initialized; + + /* + * The VBI slicer starts operating and counting lines, begining at + * slicer line count of 1, at D lines after the deassertion of VRESET + * This staring field line, S, is 6 or 10 for 625 or 525 line systems. + * Sliced ancillary data captured on VBI slicer line M is sent at the + * beginning of the next VBI slicer line, VBI slicer line count N = M+1. + * Thus when the VBI slicer reports a VBI slicer line number with + * ancillary data, the IDID0 byte indicates VBI slicer line N. + * The actual field line that the captured data comes from is + * L = M+(S+D-1) = N-1+(S+D-1) = N + (S+D-2). + * + * D is the slicer_line_delay value programmed into register 0x47f. + * (S+D-2) is the slicer_line_offset used to convert slicer reported + * line counts to actual field lines. + */ + int slicer_line_delay; + int slicer_line_offset; }; |