Horizontal Synchronization Programming - Texas Instruments TMS320C64x DSP Reference Manual

Dsp video port/vcxo interpolated control (vic) port
Hide thumbs Also See for TMS320C64x DSP:
Table of Contents

Advertisement

BT.656 and Y/C Mode Field and Frame Operation
3.4.3
Horizontal Synchronization
Horizontal synchronization determines when the horizontal pixel/sample
counter is reset. The EXC and HRST bits in VCxCTL allow you to program the
event that triggers the start of a line. The encoding of these bits is shown in
Table 3–8.
Table 3–8. Horizontal Synchronization Programming
VCxCTL Bit
HMode
EXC
HRST
0
0
0
1
0
1
2
1
0
3
1
1
HMode 0 is used for BT.656 or Y/C capture (with embedded control) and corre-
sponds to the idea that each line begins with the horizontal blanking period.
It does not align with most standards that start counting with the first active pixel;
therefore, is only useful if capturing of HANC data before the SAV code is
desired. HMode 1 is the default mode and corresponds to most digital video
standards by making the first active pixel pixel0. It has the effect of associating
horizontal blanking periods with the end of the previous line rather than the
beginning of the line, but this is only an issue if you try to capture HANC data.
In either mode, HCOUNT increments on every VCLKIN edge for Y/C operation
and on every other VCLKIN edge for BT.656 operation but only when CAPEN
is active. HCOUNT operation for HMode 0 and HMode 1 is shown in
Figure 3–9.
HMode 2 and HMode 3 are used for BT.656 or Y/C capture without embedded
EAV/SAV code and allow alignment with either the beginning of the horizontal
blanking period or the first active pixel, or the beginning or end of horizontal
sync depending on the VCTL1 input. When VCTL1 is configured as a horizontal
control input, no external CAPEN signal is available so the CAPEN signal is
considered to always be active. HCOUNT operation for HMode 3 and
HMode 4 is shown in Figure 3–10 for VCTL1 operating as either HSYNC or
AVID.
3-22
Video Capture Port
Horizontal Counter Reset Point
EAV code (H=1) – beginning of horizontal blanking.
SAV code (H=0) – Start of active video.
VCTL1 input active edge – beginning of horizontal blanking or horizontal
sync period. (VCTL1 must be configured as a horizontal control signal.)
VCTL1 input inactive edge – first active pixel on line or end of horizontal
sync. (VCTL1 must be configured as a horizontal control signal.)
SPRU629

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c6000

Table of Contents