
16
Integrated Color Space / Raster-To-Block Converter
Mathematical Expressions For Color Space Conversions
and Decimation/Interpolation (Format Conversion)
Expression of RGB toYC4:4:4 Conversion
8-bit Full-scale (CCIR = 0)
CCIR Standard (CCIR = 1)
Expression of YC4:4:4 to YC4:2:2 Conversion
Simple Decimation (SBFL = 0)
Filter (SBFL = 1)
Expression of YC4:2:2 toYC4:1:1(H2V2) Conversion (vertical
decimation only, no horizontal)
Simple Decimation (SBFL = 0 or 1)
Figure 12. Typ. Data Flow from PXIN Bus to Strip Buffer
PXIN
23:16
R0
R1
R2
R3
R4
R5
R6
R7
15:8
G0
G1
G2
G3
G4
G5
G6
G7
7:0
B0
B0
B0
B0
B0
B0
B0
B0
Color/Format
Conversion
(4:2:2)
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Cb0
Cr0
Cb2
Cr2
Cb4
Cr4
Cb6
Cr6
Decimation
Y0
Y2
Y4
Y6
Cb0
Cr0
Cb4
Cr4
MDATA
Strip
Buffer
15:8
Y0
Y4
Cb0
Cr0
7:0
Y2
Y6
Cb4
Cr4
F
Yxx
Crxx
Cbxx
0.299Rxx
0.713 Rxx
0.564 Bxx
0.587Gxx
Yxx
–
Yxx
–
0.11Bxx
+
+
=
=
=
)
)
Yxx
Crxx
Cbxx
0.299Rxx
0.729 Rxx
0.577 Bxx
0.587Gxx
Yxx
–
Yxx
–
0.11Bxx
+
+
=
=
=
)
)
Yxx
Crxx
Cbxx
Yxx
Crxx
Cbxx
=
=
=
Yxx
Yxx
----------------------------------------------------------------------------------------
=
Crxx
)
=
Cbxx
-------------------------------------------------------------------------------------------
)
=
Yxx
Crxx
Cbxx
Yxx
Crxx
Cbxx
=
=
=
Expression of YC4:1:1(H2V2) to YC4:2:2 Conversion (Vertical
interpolation only)
Simple Interpolation (SBFL = 0 or 1)
Expression of YC4:2:2 to YC4:4:4 Conversion
Simple Interpolation (SBFL = 0)
Filter (SBFL = 1)
Expression of YC4:4:4 to RGB Conversion
8-bit Full-scale (CCIR = 0)
CCIR Standard (CCIR = 1)
Figure 13. Decimation Flow
R
00
R
01
R
11
R
10
G
00
G
01
G
11
G
10
G
00
G
01
G
11
G
10
Y
00
Y
01
Y
11
Y
10
Cr
00
Cr
01
Cr
11
Cr
10
Cb
00
Cb
01
Cb
11
Cb
10
Y
00
Y
01
Y
11
Y
10
Cr
00
Cr
10
Cb
00
Cb
10
Y
00
Y
01
Y
11
Y
10
Cr
00
Cb
00
RGB
YC 4:4:4
YC 4:4:2
YC 4:1:1 (H2V2)
Yxx
Crxx
Cbxx
Yxx
Crxx Cr x
Cbxx Cb x
=
=
=
1
+
)
x
1
)
x
Crxx
Cbxx
=
+
=
Yxx
Crxx
Cbxx
Yxx
Crxx Crx x
Cbxx Cbx x
=
=
=
1
+
)
Crxx
Cbxx
=
1
+
)
=
Yxx
Yxx
------------------------------------------------
=
Crx x
1
+
)
)
=
Cbx x
1
+
)
--------------------------------------------------
)
=
Rxx
Gxx
Bxx
Yxx
Yxx
Yxx
1.37Crxx
0.714Crxx
1.772Cbxx
+
–
+
=
=
=
0.344Cbxx
–
Rxx
Gxx
Bxx
Yxx
Yxx
Yxx
1.37Crxx
0.698Crxx
1.73Cbxx
+
–
+
=
=
=
0.336Cbxx
–