D
Cr
Cb
Yd
Bd
Gd
Rd
–289
77
–248
–0.0001
2.1125
1.1642
–0.5329
–0.2132
1.1644
1.7927
–0.0003
1.1644
D
Bd
Gd
Rd
Cr
Cb
Yd
128
128
16
–0.0402
–0.3990
0.4392
0.4392
–0.3385
–0.1006
0.0620
0.6142
0.1826
D
Cr
Cb
Yd
Bd
Gd
Rd
–232
82
–197
0
1.8142
–0.4577
–0.1831
1.5396
1
1
1
0
D
Bd
Gd
Rd
Cr
Cb
Yd
128
128
0
0.2126
–0.1172
0.5114
0.7152
–0.3942
–0.4646
–0.0468
0.5114
0.0722
Internal Modules
67
SPRUHI7A – December 2012 – Revised June 2016
Copyright © 2012–2016, Texas Instruments Incorporated
High-Definition Video Processing Subsystem (HDVPSS)
Conversion from RGB to YCbCr:
Figure 1-23. Conversion from RGB to YCbCr
Conversion from YCbCr to RGB:
Figure 1-24. Conversion from YCbCr to RGB
1.2.2.2.1.2 HDTV Application with Graphics Data Range
The two equations presented in this section are for the HDTV application with graphics range data input.
The main application is for computer graphics display. The chromaticity parameters are defined by ITU-
R709 standard.
The input data ranges for these equations are as follows.
In an 8-bit system:
•
Rd, Gd, Bd, Yd, Cb and Cr will be the range [0-255]
•
D = 1
In a 10-bit system:
•
Rd, Gd, Bd, Yd, Cb and Cr will be in the range [0-1023]
•
D = 4
Conversion from RGB to YCbCr:
Figure 1-25. Conversion from RGB to YCbCr
Conversion from YCbCr to RGB:
Figure 1-26. Conversion from YCbCr to RGB