參數(shù)資料
型號(hào): ZR36055PQC29.5
文件頁(yè)數(shù): 4/16頁(yè)
文件大小: 228K
代理商: ZR36055PQC29.5
ZR36011
PRELIMINARY
4
FUNCTIONAL OVERVIEW
COLOR SPACE CONVERSION
RGB <-> YCbCr
The Color Space Conversion block (see Figure 1) performs con-
version between RGB and YCbCr color spaces, with built in
conversion coefficients. One of two data scaling and limiting
modes can be selected by means of the CCIR control input, one
(with CCIR low) intended for data occupying the full 8 bit signal
level range, the other (with CCIR high) intended for data occu-
pying the range of values specified by CCIR Recommendation
601-2. The conversions are performed as follows:
Forward direction, DIR = low:
With CCIR low (8 bit full range data):
Y
Cr = 0.713(R-Y)
Cb = 0.564(B-Y)
= 0.299R + 0.587G + 0.114B
With CCIR high (data conforming to CCIR):
Y
Cr = 0.729(R-Y)
Cb = 0.577(B-Y)
= 0.299R + 0.587G + 0.114B
Inverse direction, DIR = high:
With CCIR low (8 bit full range data):
R
G
B
= Y + 1.402Cr
= Y - 0.714Cr - 0.344Cb
= Y + 1.772Cb
With CCIR high (data conforming to CCIR):
R
G
B
= Y + 1.37Cr
= Y - 0.698Cr - 0.336Cb
= Y + 1.73Cb
Internally, the color space conversion coefficients are represent-
ed with a precision of 12 bits.
RGB <-> CyMaYe
When the CMY control input is high, the 8 bit R, G and B data
are logically complemented in the I/O block, thus performing an
additional conversion between the internal R, G, B and external
Cy, Ma, Ye. This is equivalent to the following conversion
formula:
Cy = 255 - R
Ma = 255 - G
Ye = 255 - B
NUMERICAL REPRESENTATION
The results of the color space conversion are rounded to
produce 8 bit results, and limited to prevent wrap-around. When
CCIR is high, R, G, B, and Y occupy 220 levels, and CR and CB
occupy 225 levels. Input data outside the allowed range of levels
is internally limited, and output data is limited to the allowed
range. When CCIR is low, inputs can occupy the full 8 bit range,
and outputs are limited to this range.
CR and CB can have either two’s complement or offset binary
representations, as selected by the SIGN control input. R, G, B
and Y always have unsigned magnitude representation.
Tables 2 and 3 show, for CCIR low and CCIR high, respectively,
the equivalent decimal number represented by each hexadeci-
mal value of the data inputs and outputs.
Table 2. Numerical Representation, CCIR = low
Hexadecimal
Value
Decimal Equivalent
R, G, B, Y
(Unsigned)
CR, CB
Offset Binary
(SIGN = low)
Two’s
Compliment
(SIGN = high)
FF
255
127
-1
FE
254
126
-2
...
...
...
...
81
129
1
-127
80
128
0
-128
7F
127
-1
127
...
...
...
...
01
1
-127
1
00
0
-128
0
Table 3. Numerical Representation, CCIR = high
Hexadecimal
Value
Decimal Equivalent
R, G, B, Y
(Unsigned)
CR, CB
Offset Binary
(SIGN = low)
Two’s
Compliment
(SIGN = high
FF
235
112
-1
FE
235
112
-2
...
...
....
...
F1
235
112
-15
F0
235
112
-16
相關(guān)PDF資料
PDF描述
ZR36057PQC
ZR36060PQC-27
ZR36060PQC-29.5
ZR36067PQC-LV Peripheral IC
ZR36125PQC Fast Recovery Rectifier Diodes
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ZR36057 制造商:ZORAN 制造商全稱:ZORAN 功能描述:ENHANCED PCI BUS MULTIMEDIA CONTROLLER
ZR36057PQC 制造商:ZORAN 制造商全稱:ZORAN 功能描述:ENHANCED PCI BUS MULTIMEDIA CONTROLLER
ZR36060 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Integrated JPEG CODEC
ZR36060PQC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Integrated JPEG CODEC
ZR36060PQC-27 制造商:未知廠家 制造商全稱:未知廠家 功能描述: