2004 Mar 16
85
Philips Semiconductors
Product specification
PC-CODEC
SAA7108E; SAA7109E
9.5.1
S
CALER OUTPUT FORMATTER
(
SUBADDRESSES
93H
AND
C3H)
The output formatter organizes the packing into the output
FIFO. The following formats are available:
Y-C
B
-C
R
4 : 2 : 2, Y-C
B
-C
R
4 : 1 : 1, Y-C
B
-C
R
4 : 2 : 0,
Y-C
B
-C
R
4 : 1 : 0, Y only (e.g. for raw samples). The
formatting is controlled by 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
thereof, and are similar to the video formats as
recommended for PCI multimedia applications (see
SAA7146A). Planar formats are not supported.
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 the output will
always start with a Y/C line.
Additionally the output formatter limits the amplitude range
of the video data (controlled by ILLV[85H[5]]); see
Table 47.
Table 45
Byte stream for different output formats
Table 46
Explanation to Table 45
Table 47
Limiting range on I port
OUTPUT FORMAT
BYTE SEQUENCE FOR 8-BIT OUTPUT MODES
Y-C
B
-C
R
4 : 2 : 2
Y-C
B
-C
R
4 : 1 : 1
Yonly
C
B
0
C
B
0
Y0
Y0
Y0
Y1
C
R
0
C
R
0
Y2
Y1
Y1
Y3
C
B
2
C
B
4
Y4
Y2
Y2
Y5
C
R
2
C
R
4
Y6
Y3
Y3
Y7
C
B
4
Y4
Y8
Y4
Y5
Y9
C
R
4
Y6
Y10
Y5
Y7
Y11
C
B
6
C
B
8
Y12
Y6
Y8
Y13
NAME
EXPLANATION
C
B
n
Yn
C
R
n
C
B
(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
C
R
(R
Y) colour difference component, pixel number n = 0, 2, 4 to 718
LIMIT STEP
ILLV[85H[5]]
VALID RANGE
SUPPRESSED CODES (HEXADECIMAL VALUE)
DECIMAL VALUE
HEXADECIMAL VALUE
LOWER RANGE
UPPER RANGE
0
1
1 to 254
8 to 247
01 to FE
08 to F7
00
FF
00 to 07
F8 to FF