Internal Modules
165
SPRUHI7A – December 2012 – Revised June 2016
Copyright © 2012–2016, Texas Instruments Incorporated
High-Definition Video Processing Subsystem (HDVPSS)
For the Split Line at the top of a Period, the BOP bit is set for both halves of the split line. Likewise, for the
Split Line at the bottom of a Period, the EOP bit is set for both halves of the split line.
CH_ID is the channel ID, which tags the camera source that generated the incoming line. A maximum of
16 camera sources are support per Pixel Input Clock Domain.
LINE_ID is the line number, starting from 0 and incrementing by one for each subsequent line from the
same source. The TVP5158 only supports SD sources or smaller, so only 9 bits of the line ID (bits 8:7) will
be used by this external device.
PAD is a flag which tags the line as an artificially inserted padding line. When PAD is ‘0’, the line should
be discarded.
F, V, H, P3, P2, P1, and P0 are the bits representing the normal XY code. F is the Field ID associated
with line, V signals when the line is in the vertical blanking, H specifies that the line is in the Horizontal
Blanking, and P3:P0 are the protection bits.
Since only active video and vertical ancillary data lines are encapsulated in the Meta Data, the H bit in the
SC0 byte should never be ‘1’.
1.2.8.2.7.10 TI Line Mux Mode, Split Lines, and Channel ID Remapping
The VIP Parser supports a maximum of 8 different Channel IDs per Port. The Channel IDs must be in the
range {0:7} (3 bits). In the source multiplex, only one source can be a split line source and have the same
Channel ID as one of the non-split line sources.
This scenario involves an external NTSC decoder which supports 8 D1 cameras. The external NTSC
decoder will downscale the 8 sources to SIF format. However, one camera source will be sent in the
multiplex as both the downscaled version and the original D1 sized version. They will both have the same
Channel ID. However, the D1 version will be sent as a split-line. The source multiplex will thus have 9
maximum streams.
The dss_vip_parser, for TI Line Mux Mode only, will left shift the Channel ID by one. Bit 0 is used as an
indicator whether the Source is a split-line source or a normal non-split line source. Only one of the nine
inputs can be a split line source.
Table 1-60. TI Line Mux Mode Channel ID Remapping
Source Input Channel ID
Channel ID Sent to VPDMA
Non-split Line
Split Line
0x0
0x0
0x1
0x1
0x2
0x3
0x2
0x4
0x5
0x3
0x6
0x7
0x4
0x8
0x9
0x5
0xA
0xB
0x6
0xC
0xD
0x7
0xE
0xF
All subsequent references to the Camera Source, such as in a VPDMA return descriptor, will reference the
remapped Channel ID.
The SrcIDx size status registers and the Source FID status registers reflect the remapped Channel ID
when the port is in TI Line Mux mode.