| Electronic Components Datasheet Search |
|
ADV7330 Datasheet(PDF) 40 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADV7330 Datasheet(HTML) 40 Page - Analog Devices |
|
40 / 76 page ![]() REV. B –40– ADV7330 COLOR CONTROLS AND RGB MATRIX HD Y Level, Cr Level, Cb Level [Subaddress 16h–18h] Three 8-bit wide registers at Addresses 16h, 17h, 18h are used to program the output color of the internal HD test pattern genera- tor, whether it is the lines of the cross hatch pattern or the uniform field test pattern. They are not functional as color controls on external pixel data input. For this purpose, the RGB matrix is used. The standard used for the values for Y and the color difference signals to obtain white, black, and the saturated primary and complementary colors conforms to the ITU-R BT.601-4 standard. Table VII shows sample color values to be programmed into the color registers when output standard selection is set to EIA 770.2. Table VII. Sample Color Values for EIA770.2 Output Standard Selection Sample Color Y Value CR Value CB Value White 235 (EB) 128 (80) 128 (80) Black 16 (10) 128(80) 128 (80) Red 81 (51) 240 (F0) 90 (5A) Green 145 (91) 34 (22) 54 (36) Blue 41 (29) 110 (6E) 240 (F0) Yellow 210 (D2) 146 (92) 16 (10) Cyan 170 (AA) 16 (10) 166 (A6) Magenta 106 (6A) 222 (DE) 202 (CA) HD RGB Matrix [Subaddress 03h–09h] When the programmable RGB matrix is disabled [Address 02h, Bit 3], the internal RGB matrix takes care of all YCrCb to YPrPb or RGB scaling according to the input standard programmed into the device. When the programmable RGB matrix is enabled, the color components are converted according to the 1080i standard [SMPTE 274M]: YR G B CB B Y CR R Y '. ' . ' . ' '[ . / ( . )] ( ' ' ) '[ . / ( . )] ( ' ' ) =+ + =− − =− − 0 2126 0 7152 0 0722 05 10 0722 05 10 2126 This is reflected in the preprogrammed values for GY = 138Bh, GU = 93h, GV = 3B, BU = 248h, RV = 1F0. If another input standard is used, the scale values for GY, GU, GV, BU, and RV have to be adjusted according to this input standard. The user must consider that the color component con- version might use different scale values. For example, SMPTE 293M uses the following conversion: YR G B CB B Y CR R Y '. ' . '. ' '[ . / ( . )] ( ' ' ) '[ . / ( . )] ( ' ' ) =+ + =− − =− − 0 299 0 587 0 114 05 1 0 114 05 1 0 299 The programmable RGB matrix can be used to control the HD output levels in cases where the video output does not confirm to standards due to altering the DAC output stages such as termination resistors. The programmable RGB matrix is used for external HD data and is not functional when the HD test pattern is enabled. Programming the RGB Matrix The RGB matrix should be enabled [Address 02h, Bit 3], the output should be set to RGB [Address 02h, Bit 5], Sync on PrPb should be disabled [Address 15h, Bit 2], and Sync on RGB is optional [Address 02h, Bit 4]. GY at addresses 03h and 05h controls the output levels on the green signal, BU at 04h and 08h the blue signal output levels, and RV at 04h and 09h the red output levels. To control YPrPb output levels, YPrPb output should be enabled [Address 02h, Bit 5]. In this case, GY [Address 05h; Address 03, Bit 0–1] is used for the Y output, RV [Address 09h; Address 04, Bit 0–1] is used for the Pr output, and BU [Address 08h; Address 04h, Bit 2–3] is used for the Pb output. If RGB output is selected, the RGB matrix scaler uses the following equations: GGY Y GU Pb GV BGY Y BU Pb RGY Y RV =× + × + × =× + × =× + × Pr Pr If YPrPb output is selected, the following equations are used: YGY Y UBU Pb VRV =× =× =× Pr On power-up, the RGB matrix is programmed with default values. Table VIII. RGB Matrix Default Values Address Default 03h 03h 04h F0h 05h 4Eh 06h 0Eh 07h 24h 08h 92h 09h 7Ch When the programmable RGB matrix is not enabled, the ADV7330 automatically scales YCrCb inputs to all standards supported by this part. SD Luma and Color Control [Subaddresses 5Ch, 5Dh, 5Eh, 5Fh] SD Y SCALE, SD Cr SCALE, and SD Cb SCALE are 10-bit wide control registers to scale the Y, U, and V output levels. Each of these registers represents the value required to scale the U or V level from 0.0 to 2.0, and the Y level from 0.0 to 1.5 of its initial level. The value of these 10 bits is calculated using the following equation: YU or V Scalar Value Scale Factor ,, =× 512 For example: Scale factor = 1.18 Y, U, or V Scalar Value = 1.18 × 512 = 665.6 Y, U, or V Scalar Value = 665 (rounded to the nearest integer) Y, U, or V Scalar Value = 1010 0110 01b Address 5Ch, SD LSB Register = 15h Address 5Dh, SD Y Scale Register = A6h Address 5Eh, SD V Scale Register = A6h Address 5Fh, SD U Scale Register = A6h |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |