| Electronic Components Datasheet Search |
|
ADV7310 Datasheet(PDF) 45 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADV7310 Datasheet(HTML) 45 Page - Analog Devices |
|
45 / 84 page ![]() REV. A ADV7310/ADV7311 –45– COLOR CONTROLS AND RGB MATRIX HD Y Level, HD Cr Level, HD Cb Level [Subaddress 16h–18h] Three 8-bit registers at Address 16h, 17h, 18h are used to program the output color of the internal HD test pattern generator, be it 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 VIII shows sample color values to be programmed into the color registers when Output Standard Selection is set to EIA 770.2. Table VIII. Sample Color Values for EIA 770.2 Output Standard Selection Sample Y Cr Cb Color Value Value 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 YUV or RGB scaling according to the input standard programmed into the device. When the programmable RGB matrix is enabled, the color compo- nents are converted according to the 1080i standard [SMPTE 274M]: Y' R' 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, and 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 the fact that the color compo- nent conversion might use different scale values. For example, SMPTE 293M uses the following conversion: Y' R' 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 conform to standard due to altering the DAC output stages such as ter- mination 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 address 03h and 05h control 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, YUV 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 09; 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 Pr BGY Y BU Pb RGY Y RV 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 the default values below. Table IX. 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 ADV7310/ADV7311 automatically scales YCrCb inputs to all standards supported by this part. SD Luma and Color Control [Subaddress 5Ch, 5Dh, 5Eh, 5Fh] SD Y Scale, SD Cr Scale, and SD Cb Scale are three 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: Y, U, or V ScalarValue Scale Factor =× 512 For example: Scale Factor = 1.18 Y, U, or V Scale Value Y, U, or V Scale Value (rounded to the nearest integer) Y, U, or V Scale Value b =× = = = 1.18 512 665.6 665 1010 0110 01 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 |