|
SAA7108AE Datasheet, PDF (65/208 Pages) NXP Semiconductors – HD-CODEC | |||
|
◁ |
NXP Semiconductors
SAA7108AE; SAA7109AE
HD-CODEC
⢠Vertical offset deï¬ned in lines of the video source, parameter YO[11:0] 99h[3:0]
98h[7:0]
⢠Vertical length deï¬ned in lines of the video source, parameter YS[11:0] 9Bh[3:0]
9Ah[7:0]
⢠Vertical length deï¬ned in number of target lines, as a result of vertical scaling,
parameter YD[11:0] 9Fh[3:0] 9Eh[7:0]
⢠Horizontal offset deï¬ned in number of pixels of the video source, parameter XO[11:0]
95h[3:0] 94h[7:0]
⢠Horizontal length deï¬ned in number of pixels of the video source, parameter XS[11:0]
97h[3:0] 96h[7:0]
⢠Horizontal destination size deï¬ned in target pixels after ï¬ne scaling, parameter
XD[11:0] 9Dh[3:0] 9Ch[7:0]
The source start offset (XO11 to XO0 and YO11to YO0) opens the acquisition window,
and the target size (XD11 to XD0 and YD11 to YD0) closes the window, however the
window is cut vertically if there are less output lines than expected. The trigger events for
the pixel and line counts are the horizontal and vertical reference edges as deï¬ned in
subaddress 92h. The task handling is controlled by subaddress 90h; see Section 9.3.1.2.
9.3.1.1 Input ï¬eld processing
The trigger event for the ï¬eld sequence detection from external signals (X port) are
deï¬ned in subaddress 92h. From the X port the state of the scalers horizontal reference
signal at the time of the vertical reference edge is taken as ï¬eld sequence identiï¬er FID.
For example, if the falling edge of the XRV input signal is the reference and the state of
XRH input is logic 0 at that time, the detected ï¬eld ID is logic 0.
The bits XFDV[92h[7]] and XFDH[92h[6]] deï¬ne the detection event and state of the ï¬ag
from the X port. For the default setting of XFDV and XFDH at â00â the state of the
horizontal input at the falling edge of the vertical input is taken.
The scaler directly gets a corresponding ï¬eld ID information from the SAA7108AE;
SAA7109AE decoder path.
The FID ï¬ag is used to determine whether the ï¬rst or second ï¬eld of a frame is going to be
processed within the scaler and it is also used as trigger condition for the task handling
(see bits STRC[1:0] 90h[1:0]).
According to ITU 656, when FID is at logic 0 means ï¬rst ï¬eld of a frame. To ease the
application, the polarities of the detection results on the X port signals and the internal
decoder ID can be changed via XFDH.
As the V-sync from the decoder path has a half line timing (due to the interlaced video
signal), but the scaler processing only knows about full lines, during 1st ï¬elds from the
decoder the line count of the scaler possibly shifts by one line, compared to the 2nd ï¬eld.
This can be compensated for by switching the vertical trigger event, as deï¬ned by XDV0,
to the opposite V-sync edge or by using the vertical scalers phase offsets. The vertical
timing of the decoder can be seen in Figure 33 and Figure 34.
SAA7108AE_SAA7109AE_3
Product data sheet
As the horizontal and vertical reference events inside the ITU 656 data stream (from
X port) and the real-time reference signals from the decoder path are processed
differently, the trigger events for the input acquisition also have to be programmed
differently.
Rev. 03 â 6 February 2007
© NXP B.V. 2007. All rights reserved.
65 of 208
|
▷ |