ZR36011
7
PRELIMINARY
MODE = 010
This mode is similar to MODE = 001, with the addition of a filter-
ing stage in decimation and interpolation. A three tap decimation
filter is used, and the interpolation is performed by averaging
adjacent samples. This is illustrated in Figures 8 and 9,
respectively.
CLK
R, G, B
(Input)
Y, CR
(Output)
Figure 6. RGB to YCbCr Timing, MODE = 001
RGB
(0)
RGB
(1)
RGB
(8)
RGB
(9)
RGB
(10)
RGB
(11)
Y(0)
Cb(0)
Y(1)
Cr(0)
Y(2)
Cb(2)
Y(3)
Cr(2)
CHS
CLK
R, G, B
(Output)
Y, CR
(Input)
Figure 7. YCbCr to RGB Timing, MODE = 001
RGB
(0)
RGB
(1)
Y(7)
Cr(6)
Y(8)
Cr(8)
Y(9)
Cr(8)
Y(10)
Cr(10)
Y(0)
Cb(0)
Y(1)
Cr(0)
CHS
Y(11)
Cr(10)
RGB
(2)
RGB
(3)
Data Output:
Y
CR
Y (N)
Y (N+1)
Cb(N-1)+2Cb(N)+Cb(N+1)
Y
Y0
Cr0
Cb0
Cb0
CR
Y1
Cr1
Cb1
Cr0
Y2
Cr2
Cb2
Cb2
Y3
Cr3
Cb3
Cr2
Y4
Cr4
Cb4
Cb4
Y5
Cr5
Cb5
Cr4
Figure 8. Illustration of Decimation Method, MODE = 010
4
Cr(N-1)+2Cr(N)+Cr(N+1)
4
Cb(N+1)+2Cb(N+2)+Cb(N+3)
4
Cr(N+1)+2Cr(N+2)+Cr(N+3)
4
Y (N+2)
Y (N+3)
Cr-1
Cb-1
The signal timing in MODE = 010 is as shown in Figures 6 and 7.
Data Input:
Y
CR
Y (N)
Cb (N)
Y (N+1)
Cr (N)
Y
Y0
Cb0
Cb0
CR
Y1
Cr0
Y2
Cb2
Cr2
Y3
Cr2
Y4
Cb4
Cr4
Y5
Cr4
Figure 9. Illustration of Interpolation Method, MODE = 001
Cr(N)+Cr(N+2)
2
Y (N+2)
Cb (N+2)
Y (N+3)
Cr (N+2)
Interpolator Output:
Y (N)
Cr (N)
Cb (N)
Y (N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