Philips Semiconductors
Preliminary specification
PAL/NTSC/SECAM video decoder with adaptive PAL/NTSC
comb filter, VBI-data slicer and high performance scaler
SAA7114H
8.5
Image port output formatter
(subaddresses 84H to 87H)
The bits VITX1 and VITX0 (subaddress 86H) are used to
control the arbitration.
The output interface consists of a FIFO for video and for
sliced text data, an arbitration circuit, which controls the
mixed transfer of video and sliced text data over the I-port
and a decoding and multiplexing unit, which generates the
8 or 16-bit wide output data stream and the accompanied
reference and supporting information.
As further operation the serialization of the internal 32-bit
Dwords to 8-bit or optional 16-bit output, as well as the
insertion of the extended ITU 656 codes (SAV/EAV for
video data, ANC or SAV/EAV codes for sliced text data)
are done here.
For handshake with the VGA controller, or other memory
or bus interface circuitry, programmable FIFO flags are
provided (see Section 8.5.2).
The clock for the output interface can be derived from an
internal clock, decoder, expansion port, or an externally
provided clock which is appropriate for e.g. VGA and frame
buffer. The clock can be up to 33 MHz. The scaler provides
the following video related timing reference events
(signals), which are available on pins as defined by
subaddresses 84H and 85H:
8.5.1
SCALER OUTPUT FORMATTER
(SUBADDRESSES 93H AND C3H)
The output formatter organizes the packing into the output
FIFO. The following formats are available: YUV 4 : 2 : 2,
YUV 4 : 1 : 1, YUV 4 : 2 : 0, YUV 4 : 1 : 0, Yonly (e.g. for
raw samples). The formatting is controlled by
• Output field ID
• Start and end of vertical active video range,
• Start and end of active video line
• Data qualifier or gated clock
FSI[2:0]93H[2:0], FOI[1:0]93H[4:3] and FYSK[93H[5]].
The data formats are defined on Dwords, or multiples, and
are similar to the video formats as recommended for PCI
multimedia applications (compare SAA7146A), but planar
formats are not supported.
• Actually activated programming page (if CONLH is
used)
• Threshold controlled FIFO filling flags (empty, full, filled)
• Sliced data marker.
FSI[2:0] defines the horizontal packing of the data,
FOI[1:0] defines, how many Y only lines are expected,
before a Y/C line will be formatted. If FYSK is set to logic 0
preceding Y only lines will be skipped, and output will
always start with a Y/C line.
The disconnected data stream at the scaler output is
accompanied by a data valid flag (or data qualifier), or is
transported via a gated clock. Clock cycles with invalid
data on the I-port data bus (including the HPD pins in
16-bit output mode) are marked with code 00H.
Additionally the output formatter limits the amplitude range
of the video data (controlled by ILLV[85H[5]]); see
Table 17.
The output interface also arbitrates the transfer between
scaled video data and sliced text data over the I-port
output.
Table 15 Byte stream for different output formats
OUTPUT FORMAT
YUV 4 : 2 : 2
YUV 4 : 1 : 1
Yonly
BYTE SEQUENCE FOR 8-BIT OUTPUT MODES
CB0 Y0 CR0 Y1 CB2 Y2 CR2 Y3 CB4 Y4 CR4 Y5
CB0 Y0 CR0 Y1 CB4 Y2 CR4 Y3 Y4 Y5 Y6 Y7
Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8
CB6 Y6
CB8 Y8
Y9 Y10 Y11 Y12 Y13
Table 16 Explanation to Table 15
NAME
EXPLANATION
CBn
Yn
U (B − Y) colour difference component, pixel number n = 0, 2, 4 to 718
Y (luminance) component, pixel number n = 0, 1, 2, 3 to 719
CRn
V (R − Y) colour difference component, pixel number n = 0, 2, 4 to 718
2000 Mar 15
53