Programming The Csc Matrix; Sd Luma And Color Scale Control; Table 81: Ed/Hd Manual Csc Matrix Default Values - Analog Devices ADV8003 Hardware Manual

Video signal processor with motion adaptive deinterlacing, scaling, bitmap osd, dual hdmi tx and video encoder
Table of Contents

Advertisement

On powerup, the CSC matrix is programmed with the default values shown in
When the ED/HD manual CSC matrix adjust feature is enabled, the default coefficient values in Reg 0xE403 to Reg 0xE409 are correct for
the HD color space only. The color components are converted according to the following 1080i and 720p standards (SMPTE 274M,
SMPTE 296M):
R = Y + 1.575Pr
G = Y − 0.468Pr − 0.187Pb
B = Y + 1.855Pb
The conversion coefficients should be multiplied by 315 before being written to the ED/HD CSC matrix registers. This is reflected in the
default values for gy = 0x13B, gu = 0x03B, gv = 0x093, bu = 0x248, and rv = 0x1F0.
If the ED/HD manual CSC matrix adjust feature is enabled and another input standard (such as ED) is used, the scale values for gy, gu, gv,
bu, and rv must be adjusted according to this input standard color space. The user should consider that the color component conversion
may use different scale values.
For example, SMPTE 293M uses the following conversion:
R = Y + 1.402Pr
G = Y – 0.714Pr – 0.344Pb
B = Y + 1.773Pb
The programmable CSC matrix is used for external ED/HD pixel data and is not functional when internal test patterns are enabled.
8.4.10.1.

Programming the CSC Matrix

If the user needs to manually provide the coefficients for the CSC matrix for ED/HD, this procedure is followed:
1.
Enable the ED/HD manual CSC matrix adjust feature (matrix_prog_en).
2.
Set the output to RGB (yuv_out).
3.
Disable sync on YPrPb (Reg 0xE435, Bit 2).
4.
Enable sync on RGB (optional) (Reg 0xE402, Bit 4).
The gy value controls the green signal output level, the bu value controls the blue signal output level, and the rv value controls the red
signal output level.

8.4.11. SD Luma and Color Scale Control

When enabled, the SD luma and color scale control feature can be used to scale the SD Y, Cb, and Cr output levels. This feature can be
enabled using scale_ycbcr_en. This feature affects all SD output signals, regardless of the encoder output, that is, CVBS, Y-C, YPrPb, and
RGB.
Rev. B, August 2013

Table 81: ED/HD Manual CSC Matrix Default Values

Register
0x03
0x04
0x05
0x06
0x07
0x08
0x09
322
Table
81.
Default
0x03
0xF0
0x4E
0x0E
0x24
0x92
0x7C
ADV8003 Hardware Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADV8003 and is the answer not in the manual?

Table of Contents