
17
Integrated Color Space / Raster-To-Block Converter
Compression/Expansion
Data Interfaces
The primary data flows are shown in Figure 15 for the compres-
sion and expansion modes. In compression data can be input on
PXIN and be converted and output on PXOUT while also
sending converted data within a window to the ZR36050 for
compression.
For incoming data on PXIN the start of each frame is indicated
by the rising edge of VIN and the start of each line is indicated
by the rising edge of HIN. The active window area for ZR36016
processing starts on line NAY and on pixel NAX on that line. The
processing continues for the window area of PAY lines and PAX
pixels. An end of scan signal EOS is sent to the ZR36050 after
the last pixel in the window is sent on compression. Similarly an
EOS is expected from the ZR36050 on expansion.
Data going directly from PXIN to PXOUT can not be windowed.
It can, however, undergo color space conversion and format
conversion as determined by the MODE and DSPY fields, and
filtering during the format conversion if the DSFL bit is set. The
data is output with VOUT and HOUT after the internal process-
ing delay.
In expansion, the path from PXIN to PXOUT is the same as in
compression. If there is expanded data from the ZR36050 it is
overlayed in the window area as shown in Figure 16. Processing
Figure 14. Interpolation 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)
Cr
02
Cr
12
Cb
02
Cb
12
The components in dashed boxes are used when SBFL=1, to
compute Cr
01
, Cr
11
, Cb
01
and Cb
11
.
Figure 15. Data Flows Between PXIN, PXOUT and ZR36050
Color / Format
Conversion
PXIN
PXOUT
Window
Management
ZR36050
Compression
Expansion
Color / Format
Conversion
PXIN
PXOUT
Window
Management
ZR36050
is again determined by the MODE and DSPY fields and by the
DSFL bit.
Data on the PXIN and PXOUT buses are transferred with
PXCLK which has the relationship to the system clock SYSCLK
as shown in Table 8. PXIN, VIN and HIN are clocked with
PXCLK on input and PXOUT, VOUT, HOUT and WINDOW are
clocked with PXCLK on output.
Figure 17 shows the normal processing area in compression
when the value of PAY is known (a non-zero value in the PAY
register) and how WINDOW is active during the processing.
Note where the end of scan signal EOS is generated.
HIN
V
Expanded Range from ZR36050
PAX
P
(NAX, NAY)
Figure 16. Overlay of Expanded Image on PXIN
Input Image from PXIN
W
HIN
V
Processing Area
EOS Output
Figure 17. Normal Processing Area When PAY
≠
0
W
P