Datasheet

TVP5158, TVP5157, TVP5156
SLES243G JULY 2009REVISED APRIL 2013
www.ti.com
Table 3-12 and Table 3-13 show the bit assignment and field definition of 4-Byte start code for Active
Video Line.
Table 3-12. Bit Assignment of 4-Byte Start Code for Active Video Line
BYTE 7 6 5 4 3 2 1 0
SC[3] 1 BOP EOP RSVD VCS_ID CH_ID[1:0]
SC[2] 0 BOL EOL VDET RSVD LN_ID[8:7]
SC[1] ~LD_ID[6] LN_ID[6:0]
SC[0] 1 F V H P3 P2 P1 P0
Table 3-13. Bit Field Definition of 4-Byte Start Code for Active Video Line
BIT NAME FUNCTION
31 1 Always set to 1.
Active-high beginning of period flag. Set high for first line of both active video and vertical blanking interval.
In split-line mode, the BOP bit is the same for both halves of the same line.
30 BOP
0: Not BOP
1: BOP
Active-high end of period flag. Set high for last line of both active video and vertical blanking interval. In split-
line mode, the EOP bit is the same for both halves of the same line.
29 EOP
0: Not EOP
1: EOP
[28:27] RSVD Reserved
Video cascade stage ID. Set to 0 for normal operation. In cascade mode, the back-end device (for example,
TMS320DM6467) interfaces to the first stage.
26 VCS_ID
0: First stage (channels 1 to 4)
1: Second stage (channels 5 to 8)
2-bit Channel ID. Video decoder channel number.
00: Channel 1
[25:24] CH_ID[1:0] 01: Channel 2
10: Channel 3
11: Channel 4
23 0 Always set to 0.
Active-high beginning of line flag. Used in split-line mode which may be required for hybrid formats (e.g. 1-
Ch D1 + 8-Ch CIF). Set high when the current encapsulated line of channel data includes the beginning of a
video line.
22 BOL
0: BOL not included (2nd half of split line)
1: BOL included (1st half of split line or full line)
Active-high end of line flag. Used in split-line mode which may be required for hybrid formats (e.g. 1-Ch D1 +
8-Ch CIF). Set high when the current line of channel data includes the end of a video line.
21 EOL
0: EOL not included (1st half of split line)
1: EOL included (2nd half of split line or full line)
Active-high video detection status
20 VDET 0: Video not detected
1: Video detected
[19:18] RSVD Reserved
Two MSBs of 9-bit Line ID, active video line number. Line counter resets to 000h at beginning of active
[17:16] LN_ID[8:7] video (that is, resets once per field). During the vertical blanking interval, the line counter may either
continue counting or hold the terminal count determined at the end of active video.
15 ~LN_ID[6] Always set to the complement of bit 14 (LN_ID[6]).
Seven LSBs of 9-bit Line ID, active video line number. Line counter resets to 000h at beginning of active
[14:8] LN_ID[6:0] video (that is, resets once per field). During the vertical blanking interval, the line counter may either
continue counting or hold the terminal count determined at the end of active video.
30 Functional Description Copyright © 2009–2013, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links: TVP5158 TVP5157 TVP5156