Part Number Hot Search : 
DEDBG DG9233DY P6KE75A 13003B CDRH4 M00000 FW08G 52N30P
Product Description
Full Text Search
 

To Download TMC2272AG1C Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 www.fairchildsemi.com
TMC2272A
Digital Colorspace Converter
36 Bit Color, 50 MHz Features
* 50 MHz (20ns) pipelined throughput * 3 Simultaneous 12-bit input and output channels (64 Giga {236} colors) * Two's complement inputs and outputs * Overflow headroom available in lower resolution * 10-bit user-defined coefficients * TTL compatible input and output signals * Full precision internal calculation * Output rounding * On-board coefficient memory * Submicron CMOS process
Applications
* Translation between component color standards (RGB, YIQ, YUV, etc.) * Broadcast composite color encoding and decoding (all standards) * Broadcast composite color standards conversion and transcoding * Camera tube and monitor phosphor colorimetry correction * White balancing and color-temperature conversion * Image capture, processing and storage * Color matching between systems, cameras and monitors * Three-dimensional perspective translation
Description
A 50-MHz, three-channel, 36 bit (three 12-bit components) colorspace converter and color corrector, the TMC2272A uses 9 parallel multipliers to process high-resolution imagery in real time. The TMC2272A also operates at any slower clock rate and with any smaller data path width, allowing it to handle all broadcast and consumer camera, frame-grabber, encoder/ decoder, recorder and monitor applications as well as most electronic imaging applications. A complete set of three 12-bit samples is processed on every clock cycle, with a five-cycle pipeline latency. Full 23-bit (for each of three components) internal precision is provided with 10-bit user-defined coefficients. The coefficients may be varied dynamically, with three new coefficients loaded every clock cycle. (The full set of nine can be replaced in three clock cycles.) Rounding to 12 bits per component is performed only at the final output. This allows full accuracy with correct rounding and overflow headroom for applications that require less than 12 bits per component. The TMC2272A is fabricated in a submicron CMOS process and performance is guaranteed over the full operating temperature range. It is available in a 120-pin Plastic Pin Grid Array (PPGA) package, 120-pin Ceramic Pin Grid Array (CPGA), 120-pin MQFP to PGA package, and 120-pin Plastic Quad FlatPack (PQFP) in three speed grades.
Logic Symbol
CLK Data Input A11-0 B11-0 C11-0 KA11-0 KB11-0 KC11-0 Y11-0 Coefficient Input Z11-0 Data Output X11-0 TMC2272A Colorspace Converter
CSEL1-0
REV. 1.1.3 10/25/00
PRODUCT SPECIFICATION
TMC2272A
Block Diagram
CWSEL1,0 A11-0
DECODER
2 1 12
CWSEL1,0 = 0 1 ENABLE K_X
CWSEL1,0 = 1 0 ENABLE K_Y
CWSEL1,0 = 1 1 ENABLE K_Z
2 ENA KAX 10 3 4 KA9-0 10 10 21 10 12 ENA KAY 10
2 12 ENA KAZ 21 3 4 10 10
2 12
21 3 4
B11-0
12
1 2 ENA KBX 10 3 4 10 21 10 3 4 12 ENA KBY 10 21 10 3 4 2 12 ENA KBZ 10 21 2 12
KB9-0
10
C11-0
1 12 2 ENA KCX 10 3 4 10 21 10 3 4 12 ENA KCY 10 21 10 3 4 2 12 ENA KCZ 10 21 2 12
KC9-0
10
(ROUND) 12 CLK 5 12 X11-0
(ROUND) 12 5 12 Y11-0
(ROUND) 12 5 12 Z11-0
2
REV. 1.1.3 10/25/00
TMC2272A
PRODUCT SPECIFICATION
Functional Description
The TMC2272A is a nine-multiplier array with the internal bus structure and summing adders needed to implement a 3 x 3 matrix multiplier (triple dot product). With a 50MHz guaranteed maximum clock rate, this device offers video and imaging system designers a single-chip solution to numerous common image and signal-processing problems. The three data input ports (A11-0, B11-0, C11-0) accept 12-bit two's complement integer data, which is also the format for the output ports (X11-0, Y11-0, Z11-0). Other format and path width options are discussed in the numeric format and overflow section. The coefficient input ports (KA, KB, KC) are always 10-bit two's complement fractional. Table 2 details the bit weighting. Full precision is maintained throughout the TMC2272A. Each output is accurately rounded to 12 bits from the 23 bits entering the final adder. KAX(n) thru KCZ(n) Indicates coefficient value stored in the specified one of the nine onboard coefficient registers KAX through KCZ, input during or before the specified clock rising edge (n). X(n), Y(n), Z(n) Indicates data available at that output port tDO after the specified clock rising edge (n). Applies to output ports X11-0, Y11-0, and Z11-0. The TMC2272A utilizes six input and output ports to realize a "triple dot product", in which each output is the sum of all three input words, multiplied by the appropriate stored coefficients. The three corresponding sums of products are available at the outputs five clock cycles after the input data are latched, and three new data words rounded to 12-bits are then available every clock cycle. See the Applications Discussion regarding encoded video standard conversion matrices. X(5)=A(1)KAX(1)+B(1)KBX(1)+C(1)KCX(1) Y(5)=A(1)KAY(1)+B(1)KBY(1)+C(1)KCY(1) Z(5)=A(1)KAZ(1)+B(1)KBZ(1)+C(1)KCZ(1)
Signal Definitions
A(n), B(n), C(n) Indicates the data word presented to that input port during the specified clock rising edge (n). Applies to input ports A11-0, B11-0, and C11-0.
Pin Assignments
120 Pin Plastic Pin Grid Array, H5 Package, 120 Pin Ceramic Pin Grid Array, G1 Package, and 120 Pin MQFP to PPGA, H6 Package
13 12 11 10 9 8 7 6 5 4 3 2 1 A B C D E F G H J K L MN KEY Top View Cavity Up Pin A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 C1 C2 C3 C4 Name X7 X9 X10 GND C11 C8 C7 C5 C3 C1 B10 B7 B4 X4 X5 X8 X11 GND C9 C6 C4 C2 B11 B9 B6 B2 X1 X2 X6 VDD Pin C5 C6 C7 C8 C9 C10 C11 C12 C13 D1 D2 D3 D11 D12 D13 E1 E2 E3 E11 E12 E13 F1 F2 F3 F11 F12 F13 G1 G2 G3 Name GND C10 GND VDD C0 B8 B5 B3 B1 Y11 X0 X3 CLK B0 A10 Y9 Y10 GND A11 A9 A8 Y7 Y8 VDD A7 A6 A5 Y5 Y6 GND Pin G11 G12 G13 H1 H2 H3 H11 H12 H13 J1 J2 J3 J11 J12 J13 K1 K2 K3 K11 K12 K13 L1 L2 L3 L4 L5 L6 L7 L8 L9 Name A3 A2 A4 Y4 Y0 VDD GND A0 A1 Y1 Y2 GND KA8 CWSEL1 CWSEL0 Y3 Z0 Z3 KA4 KA7 KA9 Z1 Z4 Z6 GND KC0 GND VDD KB0 KB4 Pin L10 L11 L12 L13 M1 M2 M3 M4 M5 M6 M7 M8 M9 M10 M11 M12 M13 N1 N2 N3 N4 N5 N6 N7 N8 N9 N10 N11 N12 N13 Name KB8 KA1 KA5 KA6 Z2 Z7 Z9 Z11 KC2 KC4 KC6 KC9 KB2 KB5 KB9 KA2 KA3 Z5 Z8 Z10 KC1 KC3 KC5 KC7 KC8 KB1 KB3 KB6 KB7 KA0
REV. 1.1.3 10/25/00
3
PRODUCT SPECIFICATION
TMC2272A
Pin Assignments (continued)
120 Pin Metric Quad Flat Pack (MQFP), KE Package
Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Name X6 X5 X4 X3 X2 X1 X0 GND Y11 Y10 Y9 VDD Y8 Y7 Y6 GND Y5 Y4 Y0 VDD Y1 Y2 Y3 GND Z0 Z1 Z2 Z3 Z4 Z5 Pin 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 Name Z6 Z7 Z8 GND Z9 Z10 Z11 KC0 KC1 KC2 KC3 GND KC4 KC5 KC6 VDD KC7 KC8 KC9 KB0 KB1 KB2 KB3 KB4 KB5 KB6 KB7 KB8 KB9 KA0 Pin 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 Name KA1 KA2 KA3 KA4 KA5 KA6 KA7 KA8 KA9 CWSEL1 CWSEL0 GND A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 B0 B1 B2 CLK B3 B4 Pin 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 Name B5 B6 B7 B8 B9 B10 B11 C0 C1 C2 C3 VDD C4 C5 C6 GND C7 C8 C9 C10 C11 GND GND GND X11 X10 X9 VDD X8 X7
1
120
91 90
30 31
61 60
Pin Descriptions
Pin Name Power VDD GND F3, H3, L7, C8, 12, 20, 46, 102, C4 118 E3, G3, J3, L4, 8, 16, 24, 34, 42, L6, H11, C7, C5, 72, 106, 112, A4, B5 113, 114 D11 88 Supply Voltage. The TMC2272A operates from a single +5V supply. All pins must be connected. Ground CPGA/PPGA/ MPGA Pin Number KE Pin Number Pin Function Description
Clock CLK System Clock. The TMC2272A operates from a single system clock input. All timing specifications are referenced to the rising edge of clock. Coefficient Write Select. This input selects which three of the 9 coefficient registers, if any, will be updated on the next clock cycle from the KA9-0, KB9-0, AND KC9-0 inputs. See Table 4 and the Functional Block Diagram.
Controls CWSEL1,0 J12, J13 70, 71
4
REV. 1.1.3 10/25/00
TMC2272A
PRODUCT SPECIFICATION
Pin Descriptions (continued)
Pin Name Inputs A11-0 E11, D13, E12, E13, F11, F12, F13, G13, G11, G12, H13, H12 B10, A11, B11, C10, A12, B12, C11, A13, C12, B13, C13, D12 A5, C6, B6, A6, A7, B7, A8, B8, A9, B9, A10, C9 K13, J11, K12, L13, L12, K11, M13, M12, L11, N13 M11, L10, N12, N11, M10, L9, N10, M9, N9, L8 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73 97, 96, 95, 94, 93, 92, 91, 90, 89, 87, 86, 85 111, 110, 109, 108, 107, 105, 104, 103, 101, 100, 99, 98 69, 68, 67, 66, 65, 64, 63, 62, 61, 60 Data Input A. This is one of three 12-bit wide data input ports. CPGA/PPGA/ MPGA Pin Number KE Pin Number Pin Function Description
B11-0
Data Input B. This is one of three 12-bit wide data input ports.
C11-0
Data Input C. This is one of three 12-bit wide data input ports.
KA9-0
Coefficient Input KAX, KAY, or KAZ. These are the 10-bit wide coefficient input ports. The value at each of these three inputs will update one coefficient register as selected by the coefficient write select (CWSEL1-0) on the next clock. See Table 1 and the Functional Block Diagram. Coefficient Input KBX, KBY, OR KBZ. These are the 10-bit wide coefficient input ports. The value at each of these three inputs will update one coefficient register as selected by the coefficient write select (CWSEL1-0) on the next clock. See Table 1 and the Functional Block Diagram. Coefficient Input KCX, KCY, OR KCZ. These are the 10-bit wide coefficient input ports. The value at each of these three inputs will update one coefficient register as selected by the coefficient write select (CWSEL1-0) on the next clock. See Table 1 and the Functional Block Diagram. Output X. These are the data outputs. Data are available at the 12-bit registered Output Ports X,Y and Z tDO after every clock rising edge. Output Y. These are the data outputs. Data are available at the 12-bit registered Output Ports X,Y and Z tDO after every clock rising edge. Output Z. These are the data outputs. Data are available at the 12-bit registered Output Ports X,Y and Z tDO after every clock rising edge.
KB9-0
59, 58, 57, 56, 55, 54, 53, 52, 51, 50
KC9-0
M8, N8, N7, M7, N6, M6, N5, M5, N4, L5
49, 48, 47, 45, 44, 43, 41, 40, 39, 38
Outputs X11-0 B4, A3, A2, B3, 115, 116, 117, A1, C3, B2, B1, 119, 120, 1, 2, 3, D3, C2, C1, D2 4, 5, 6, 7 D1, E2, E1, F2, 9, 10, 11, 13, 14, F1, G2, G1, H1, 15, 17, 18, 23, K1, J2, J1, H2 22, 21, 19 M4, N3, M3, N2, M2, L3, N1, L2, K3, M1, L1, K2 37, 36, 35, 33, 32, 31, 30, 29, 28, 27, 26, 25
Y11-0
Z11-0
Table 1. Coefficient Loading
CWSEL1,0 00 Hold All Hold All Hold All 01 Load KAX Load KBX Load KCX 10 Load KAY Load KBY Load KCY 11 Load KAZ Load KBZ Load KCZ
Input Input Input
KA9-0 KB9-0 KC9-0
REV. 1.1.3 10/25/00
5
PRODUCT SPECIFICATION
TMC2272A
1 CLK
2
3
4
5
6
7
8
CWSEL1,0
01
10
11
00
KA, KB, KC
(K_X)
(K_Y)
(K_Z)
DATA IN A, B, C
0
0
1.0
0
0
0 KAX + KBX + KCX
X OUT KAY + KBY + KCY Y OUT KAZ + KBZ + KCZ
Figure 1. Impulse Response
tCY 1 CLK 2
tPWH 3 4 5
CWSEL1,0
tPWL
KA, KB, KC tS X, Y, Z tH PREVIOUS tHO
tD NEW
Figure 2. Input/Output Timing
Numeric Format and Overflow
Table 2 shows the binary weightings of the input and output ports of the TMC2272A. Although the internal sums of products could grow to 23 bits, the outputs X, Y, and Z are rounded to yield 12-bit integer words. Thus the output format is identical to the input data format. Bit weighting is easily adjusted by applying the same scaling correction factor to both input and output data words. As shown in Table 2, the TMC2272A's matched input and output data formats accommodate 0dB (unity) gain. Therefore the user must be aware of input conditions that could lead to numeric overflow. Maximum input data and coefficient word sizes must be taken into account with the specific translation performed to ensure that no overflow occurs.
Use with Fewer than 12 Bits
The TMC2272A can be configured to provide several format and overflow options when used in systems with fewer than 12 bits of resolution. An 8-bit system will be used as an example, however these concepts apply to any other word width. The most apparent mode of operation is to left justify the incoming data and to ground the unused input LSBs. Hoever, the outputs will still be rounded to the least significant bit of the TMC2272A, having little if any effect on the top 8 bits actually used. Because the TMC2272A carries out all calculations to full precision, the preferred mode of operation is to right jusitfy and sign extend the data as shown in Figure 3. Since all the LSBs are used, the desired output will be rounded correctly, and overflow will be accommodated by bits 7 through 10.
6
REV. 1.1.3 10/25/00
TMC2272A
PRODUCT SPECIFICATION
The TMC2272A may also be used in unsigned binary 8-bit systems as shown in Figure 4. Bits 11 through 8 will handle overflow.
In all applications, a digital zero (ground) should be connected to all unused inputs.
Table 2. Bit Weightings for Input and Output Data Words
Bit Weights 211 210 29 28 27 26 25 24 23 22 21 20 * 2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 2-9
Inputs All Modes -I11 Data A, B, C Coefficients KA, KB, KC Internal Sum Outputs X, Y, Z -O11 O10 O9 O8 O7 O6 O5 O4 O3 O2 O1 O0 -X20 I10 I9 I8 I7 I6 I5 I4 I3 I2 I1 I0 -K9 K8 K7 K6 K5 K4 K3 K2 K1 K0 X19 X18 X17 X16 X15 X14 X13 X12 X11 X10 X9 X8 X7 X6 X5 X4 X3 X2 X1 X0
A minus sign indicates a two's complement sign bit.
INPUTS TMC2272 (A11-0, B11-0, BIT WEIGHTINGS OR C11-0) MSB(11) (10) SIGN EXTENSION MSB(7) (6) (5) (4) (3) (2) (1) LSB(0) (9) (8) (7) (6) (5) (4) (3) (2) (1) LSB(0)
OUTPUTS (X11-0, Y11-0, OR Z11-0) MSB(7) NC/ OVERFLOW (WILL ACCUMULATE OVERFLOW) (6) (5) (4) (3) (2) (1) LSB(0)
INPUTS (A11-0, B11-0, OR C11-0) GND GND GND GND MSB(7) (6) (5) (4) (3) (2) (1) LSB(0)
TMC2272 BIT WEIGHTINGS MSB(11) (10) (9) (8) (7) (6) (5) (4) (3) (2) (1) LSB(0)
OUTPUTS (X11-0, Y11-0, OR Z11-0) NC/ OVERFLOW (WILL ACCUMULATE OVERFLOW) MSB(7) (6) (5) (4) (3) (2) (1) LSB(0)
Figure 3. Two's Complelent 8-bit Application
Figure 4. Binary 8-bit Application
REV. 1.1.3 10/25/00
7
PRODUCT SPECIFICATION
TMC2272A
VDD
VDD
p Data or Control Input n
p Output n
GND
GND
Figure 5. Equivalent Digital Input Circuit
Figure 6. Equivalent Digital Output Circuit
Absolute Maximum Ratings (beyond which the device may be damaged)1
Parameter Supply Voltage Input Voltage Applied Voltage2 Current3,4 Externally Forced Min -0.5 -0.5 -0.5 -3.0 -20 -65 Typ Max 7.0 VDD + 0.5 VDD + 0.5 6.0 1 110 140 150 300 Unit V V V mA sec C C C C
Short Circuit Duration (single output in HIGH state to ground) Operating, Ambient Temperature Junction Temperature Storage Temperature Lead Soldering Temperature (10 seconds)
Notes: 1. Absolute maximum ratings are limiting values applied individually while all other parameters are within specified operating conditions. Functional operation under any of these conditions is NOT implied. Performance and reliability are guaranteed only if Operating Conditions are not exceeded. 2. Applied voltage must be current limited to specified range. 3. Forcing voltage must be limited to specified range. 4. Current is specified as conventional current flowing into the device.
8
REV. 1.1.3 10/25/00
TMC2272A
PRODUCT SPECIFICATION
Operating Conditions
Parameter VDD fCLK Power Supply Voltage Clock Frequency TMC2272A TMC2272A-2 TMC2272A-3 tPWH tPWL tS tH VIH VIL IOH IOL TA CLK pulse width, HIGH CLK pulse width, LOW Input Data Setup Time Input Data Hold Time Input Voltage, Logic HIGH Input Voltage, Logic LOW Output Current, Logic HIGH Output Current, Logic LOW Ambient Temperature, Still Air 0 6 8 6 2 2.0 0.8 -2.0 4.0 70 Min 4.75 Nom 5.0 Max 5.25 30 40 50 Units V MHz MHz MHz ns ns ns ns V V mA mA C
Electrical Characteristics
Parameter IDD Total Power Supply Current TMC2272A TMC2272A-2 TMC2272A-3 IDDU Power Supply Current, Unloaded VDD = Max, fCLK=Max TMC2272A TMC2272A-2 TMC2272A-3 IDDQ CPIN IIH IIL IOZH IOZL IOS VOH VOL Power Supply Current, Quiescent I/O Pin Capacitance Input Current, HIGH1
1
Conditions VDD = Max, CLOAD = 25pF, fCLK = Max
Min
Typ
Max 125 140 155 120 135 150 12
Units mA mA mA mA mA mA mA pF
VDD = Max, CLK = LOW 5 VDD = Max, VIN = VDD VDD = Max, VIN = 0 V VDD = Max, VIN = VDD VDD = Max, VIN = 0 V -20 IOH = Max, VDD = Min IOL = Max, VDD = Min 2.4
5 5 10 10 -80 0.4
A A A A mA V V
Input Current, LOW
Hi-Z Output Leakage Current, Output HIGH2 Hi-Z Output Leakage Current, Output LOW2 Short-Circuit Current Output Voltage, HIGH Output Voltage, LOW
Notes: 1. Except pins XC11-0, YC11-8. 2. Pins XC11-0, YC11-8.
REV. 1.1.3 10/25/00
9
PRODUCT SPECIFICATION
TMC2272A
Switching Characteristics
Parameter tDO tHO Output Delay Time Output Hold Time Conditions CLOAD = 25 pF CLOAD = 25 pF 3 Min Typ Max 15 Units ns ns
Applications Discussion
The TMC2272A can convert between any two three-coordinate colorspaces with the selection of the proper coefficients. Sets of coefficients for some popular colorspace conversions are presented below. By concatenating coefficient matrices of single transformations, the user can program the TMC2272A to perform compound transforms efficiently. For example, given an RGB input, correction of the relative values of R and B, for
color temperature, conversion to YIQ, modification of contrast by changing Y, and conversion back to RGB can be performed as quickly and easily as any simple transformation. To calculate the final set of coefficients from the coefficients of the individual transformations, the procedure in Figure 7 (concatenation) is used. If more than two matrices are to be combined, the result from the concatenation of the first two matrices is concatenated with the third. If more matrices must be incorporated in the final function, the last step is repeated.
ABC DEF GHI
J
KL =
AJ + BM + CP DJ + EM + FP GJ + HM + IP
AK + BN + CQ DK + EN + FQ GK + HN + IQ
AL + BO + CR DL + EO + FR GL + HO + IR
MNO PQR
Figure 7. Concatenation
Converting from GBR to YCBCR
With the right coefficients, two external NOT gates, and an external 4-bit half-adder, the TMC2272A can convert video data from 8-bit full-scale (e.g. VGA) GBR components to 10bit YCBCR components.
The analog defining equations for 1 Volt luminance and 0.5 Volt color difference components are: Y = + 0.5870 (G) + 0.1140 (B) + 0.2990 (R) B - Y = - 0.3313 (G) + 0.5000 (B) - 0.1687 (R) R - Y = - 0.4187 (G) - 0.0813 (B) + 0.5000 (R) To translate these equations into the digital domain, note that the ranges of R, G, and B are 0 to 255 instead of 0 to 1, the range of Y is 64 to 940 instead of 0 to 1, and the ranges of U and V are 64 to 960 instead of +/-0.5: Y = (876/255)(0.587(G)+0.114(B)+0.299(R))+64 = 2.01652 (G)+0.39162(B)+1.02715(R) +64
Table 3. 10-bit component formats and inclusive ranges.
Color Space Term Y Y' CB U' CR V' GBR Luminance Y - 64 Color difference, Blue CB - 512 Color difference, Red CR - 512 Green, Blue, Red components Range 64-940 0-876 64-960 448 64-960 448 0-255 Format magnitude magnitude magnitude 2's comp magnitude 2's comp magnitude, 8-bits
CB = (896/255)(0.3313(G)+0.5(B)-0.1687(R))+512 = -1.16397(G)+1.75686(B)-0.59289(R)+512 CR = (896/255)(-0.4187(G)-0.0813(B)+0.5(R))+512 = -1.47115(G)-0.28571(B)+1.75686(B))+512 Let Y'=Y-64, U'=CB-512, and V'=CR - 512. The TMC2272A will compute Y', U', and V'. Adding 64 (040h) externally to Y' will then yield Y, whereas inverting the most significant bits of U' and V', U'9 and V'9, will yield CB and CR, respectively. Multiplying the equations immediately above by 128 and rounding each coefficient to the nearest integer yields the recommended set of coefficients for GBR to YUV conversion.
10
REV. 1.1.3 10/25/00
TMC2272A
PRODUCT SPECIFICATION
128 (Y')
=
258 (G) 102 -149 (G) 36B -188 (G) 344
+50 (B) 032 +225 (B) 0E1 -37 (B) 3DB
+131 (R) 083 -76 (R) 3B4 +225 (R) 0E1
dec. hex dec hex dec. hex
128 (U')
=
128l (V')
=
If the TMC2272A input data alignment for 8-bit GBR is: 0 0 0 0 0 0 G7 B7 R7 G6 B6 R6 G5 B5 R5 G4 B4 R4 G3 B3 R3 G2 B2 R2 G1 B1 R1 G0 B0 R0 0 0 0 0 0 0
then the output data alignment for 10-bit Y'U'V' is: 0 U9 V9 0 U9 V9 Y9 U9 V9 Y8 U8 V8 Y7 U7 V7 Y6 U6 V6 Y5 U5 V5 Y4 U4 V4 Y3 U3 V3 Y2 U2 V2 Y1 U1 V1 Y0 U0 V0
where the tripled U9 and V9 sign bits denote two's complement sign extensions. The factors of 4 in the input data format and 128 in the equations are absorbed by the internal 9-bit (factor of 512) right-shifting of the emerging results. At the output of the TMC2272A, invert the most significant bits, U9 and V9, of the chrominance components, and add 1 at Y6 of the luminance to obtain the true CCIR Rec. 601 values.
As in the previous RGB to YCBCR case, begin with the defining equations, but without the range compensation factors of 255/876 and 255/896: Y= +0.2990 (R) U = -0.3313 (G) V= +0.5000 (R) The TMC2272A will compute Y, U, and V directly, whereas inverting the most significant bits of U and V, U7 and V7 will yield U' and V', respectively. Multiplying the equations immediately above by 512 and rounding each coefficient to the nearest integer yields the recommended set of coefficients for GBR to YUV conversion. +0.5000 (B) -0.1687 (R) 0.5870 (G) +0.1140 (B)
Converting from GBR to 8-bit Full-Scale YUV
With the right coefficients and two external NOT gates, the TMC2272A can convert video data from 8-bit full-scale (e.g. VGA) GBR components to 8-bit full-scale YUV components.
-0.4187 (G) -0.0813 (B)
Table 4. 8-bit component formats and inclusive ranges:
Color Space Term Y U U' V V' Luminance Color difference, Blue U + 128 Range 0-255 128 to -127 0-255 Format magnitude 2's comp magnitude 2's comp magnitude magnitude
Color difference, Red 128 to -127 V + 128 0-255 0-255
G,B,R Green, Blue, Red components
REV. 1.1.3 10/25/00
11
PRODUCT SPECIFICATION
TMC2272A
512 (Y)
=
301 (G) 12D - 170 (G) 356 214 (G) 32A
+
58 (B) 03A 256 (B) 100 42 (B) 3D6
+
153 (R) 099 86 (R) 3AA 256 (R) 100
dec. hex dec. hex dec. hex
512 (U)
=
+
-
512 (V)
=
-
-
+
If the TMC2272A input data alignment for 8-bit GBR is: 0 0 0 0 0 0 0 0 0 0 0 0 G7 B7 R7 G6 B6 R6 G5 B5 R5 G4 B4 R4 G3 B3 R3 G2 B2 R2 G1 B1 R1 G0 B0 R0
then the output data alignment for 8-bit YUV is: 0 U7 V7 0 U7 V7 0 U7 V7 0 U7 V7 Y7 U7 V7 Y6 U6 V6 Y5 U5 V5 Y4 U4 V4 Y3 U3 V3 Y2 U2 V2 Y1 U1 V1 Y0 U0 V0
where the quintupled U9 and V9 sign bits denote two's complement sign extensions. The factor of 512 in the equations above is absorbed by the internal 9-bit right shift of each emerging result. At the output of the TMC2272A, invert the most significant bits, U7 and V7, of the chrominance components, to obtain the 8-bit offset format.
R=
149 (Y') 095
+
204 (V') 0CC
dec. hex
Decrease the incoming luminance at the input to the TMC2272A by 64 by adding 1's at positions Y9, Y8, Y7, and Y6. Invert U9 and V9 and their sign extensions, to accommodate CCIR Rec. 601 data. Instead of reducing Y by 64, an alternate is to reduce each of the G, B, and R outputs by (255) (64 / 876) = 19. For the Y'U'V' to RGB conversion, the TMC2272A input data alignment for 10-bit Y'U'V' is: 0 0 Y9 Y8 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
Converting From YCBCR to GBR
Following the notation employed earlier, the TMC2272A will be used to convert data in Y'U'V' format into GBR format. Since Y' = 876, U' = V' = 0, and G = B = R = 255 for saturated white output, every Y' coefficient will be 225/876 = 0.29110. The full analog matrix for Y'U'V' to GBR conversion is: G= B= R= 0.29110 (Y') 0.29110 (Y') 0.29110 (Y') - 0.09794 (U') + 0.50431 (U') + 0.39901 (V') - 0.20324 (V')
U9 U9 U9 U8 U7 U6 U5 U4 U3 U2 U1 U0 V9 V9 V9 V8 V7 V6 V5 V4 V3 V2 V1 V0 where the tripled U9 and V9 sign bits denote two's complement sign extensions. The TMC2272A output data alignment for 8-bit GBR is then: 0 0 0 0 0 0 0 0 0 0 0 0 G7 G6 G5 G4 G3 G2 G1 G0 B7 B6 B5 B4 B3 B2 B1 B0 R7 R6 R5 R4 R3 R2 R1 R0
Since the largest element is just over 0.5 and the largest permissible coefficient is 511, multiply all elements of the matrix by 512 to obtain the values to load into the TMC2272A. G= B= 149 (Y' ) 095 149 (Y') 095 - + 50 (U') 3CE 258 (U') 100 - 04 (V') 398 dec. hex dec. hex
Converting From 8-bit Full Scale YUV to GBR
Following the notation employed earlier, the TMC2272A will be used to convert data in 8-bit YUV format into 8-bit GBR format.
12
REV. 1.1.3 10/25/00
TMC2272A
PRODUCT SPECIFICATION
Since Y = 256, U = V = 0, and G = B = R = 255 for saturated white output, every Y coefficient will be 255 / 255=1.0. The full matrix for YUV to GBR conversion is: G = 1.0 (Y) B = 1.0 (Y) R = 1.0 (Y) -0.3443 (U) +1.7727 (U) +1.3965 (V) -0.7142 (V)
For the YUV to RGB conversion, the TMC2272A input data alignment for 10-bit Y'U'V' is: 0 Y9 Y8 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 0
U9 U9 U8 U7 U6 U4 U4 U3 U2 U1 U0 0 V9 V9 V8 V7 V6 V5 V4 V3 V2 V1 V0 0 where the doubled U9 and V9 sign bits denote two's complement sign extensions. The TMC2272A output data alignment for 8-bit GBR is then: 0 0 0 0 0 0 0 0 0 0 0 0 G7 G6 G5 G4 G3 G2 G1 G0 B7 B6 B5 B4 B3 B2 B1 B0 R7 R6 R5 R4 R3 R2 R1 R0
Since the largest element is over 1.0 and the largest permissible coefficient is 511, multiply all elements of the matrix by 256 to obtain the values to load into the TMC2272A: G= B= R= 256 (Y') 100 256 (Y') 100 256 (Y') 100 - 88 (U') 3A8 + 454 (U') 1C6 + 359 (V') 167 - 83 (V') 349 dec. hex dec. hex dec. hex
Note that the inputs have to be doubled because the coefficient gain is 256, whereas the internal gain is 1 / 512, for a net gain of 1/2.
Table 5. Summary of Colorspace Conversion Coefficients
Conversion RGB to YUV RGB to YCBCR YUV to RGB YCBCR to RGB KAX 099 083 100 149 KAY 3AA 3B4 100 149 KAZ 100 0E1 100 149 KBX 12D 102 000 000 KBY 356 36B 3A8 3CE KBZ 32A 344 1C6 102 KCX 03A 032 167 0CC KCY 100 0E1 349 398 KCZ 3D6 3DB 000 000
Table 6. Conversion Port Assignments and Alignments
Port RGB to YUV RGB to YCBCR YUV to RGB YCBCR to RGB AIN R7-0 R7-0 Y8-1(e) Y9-0 BIN G7-0 G7-0 U8-1(e) CB9-0(e) CIN B7-0 B7-0 V8-1(e) CR9-0(e) XOUT Y7-0 Y9-0 R7-0 R7-0 YOUT U7-0(e) U9-0(e) G7-0 G7-0 ZOUT V7-0(e) V9-0(e) B7-0 B7-0
Where XY-0 denotes right-justified, (e) denotes sign extension, and XY-1 denotes shifted one bit leftward from a right-justified position.
HSV (HSI) Format Conversions
HSV (or HSI) refers to Hue (color), Saturation (vividness), and Value (intensity or brightness), quantities which are directly related to the human perception of light and color. The V (or I) levels are simply the Y (or luminance) levels. Hue and Saturation are derived from the R-Y and B-Y color difference values of a signal. HSV Calculations: Value (V) = Intensity (I) = Y Hue (H) = Arctan (B-Y/R-Y) Saturation (S) = 2 2 (R - Y) + (B - Y)
R-Y = S*cos(H) B-Y = S*sin(H) One may use two 64Kx8 ROM look-up-tables to calculate Hue and Saturation from R-Y and B-Y in an 8-bit system. However, the finite size of this LUT may limit performance, especially if the TMC2272A's full precision is used. The TMC2330A, developed to translate between rectangular and polar coordinates, can perform the trigonometric transformations to 16 bit precision at 50MHz. These calculations are the same as required in HSV calculations. A 4 Gigabyte x 32 bit LUT can achieve the same accuracy and precision as the TMC2330A, if it is programmed correctly.
REV. 1.1.3 10/25/00
13
PRODUCT SPECIFICATION
TMC2272A
To convert between Y, R-Y, B-Y and HSV, the TMC2272A isn't needed at all; simply use the TMC2330A. To convert between HSV and any other format, use the TMC2330A to translate between HSV and Y, R-Y, B-Y, and use the TMC2272A to translate between Y, R-Y, B-Y and the other format. See Figures 8 and 9.
X11-0 (Y) 12 A11-0 ANY DESIRED COLORSPACE 12 B11-0 12 C11-0 TMC2272A 12 Z11-0 (B-Y) 12
NOTE 1
12 Y11-0 (R-Y) XRIN15-0
EQUALIZING PIPELINE DELAY, 22 CYCLES 3X TMC2011
V 12 RXOUT15, 10-0 S
NOTE 1
12 H
YPIN15-0
NOTE 1
TMC2330A
YPOUT15, 10-0
NOTE 1
12
Notes: 1. Connect TMC2272A MSBs (Bits 11) to TMC2330A MSBs (Bits 15) and also to TMC2330A Bits 14-11. Connect TMC2272A LSBs (Bits 10-0) to TMC2330A LSBs (Bits 10-0). TMC2330A output bits 14-11 are overflow. 2. TMC2272A Y11-0 outputs should not be confused with the designation "Y" used to signify the intensity components. The assignment of components to TMC2272A inputs and outputs may be altered through the selection of appropriate coefficients. Figure 8. Conversion to HSV
V 12 S XRIN15-0
NOTE 1
EQUALIZING PIPELINE DELAY, 22 CYCLES 3X TMC2011
(Y)
A11-0
X11-0 12
12 RXOUT15, 10-0 (R-Y)
NOTE 1
B11-0
TMC2272A
Y11-0 12
12
12
(B-Y)
ANY COLORSPACE
H
YPIN15-0
NOTE 1
TMC2330A
YPOUT15, 10-0
NOTE 1
C11-0
Z11-0 12
12
12
Notes: 1. Connect input MSBs (Bits 11) to TMC2330A MSBs (Bits 15) and also to TMC2330A Bits 14-11. Connect input LSBs (Bits 10-0) to TMC2330A LSBs (Bits 10-0). 2. TMC2272A Y11-0 outputs should not be confused with the designation "Y" used for an intensity component. Component assignment depends on the coefficient used. Figure 9. Conversion from HSV
Input Interpolation/Output Decimation and Filtering
In some applications the two color-difference signals (R-Y/B-Y or Cr/Cb, for example) are transmitted at one-half the rate of the luminance (Y) signal. These two color-difference signals are often multiplexed to one signal which is at the same sample rate as the luminance signal.
In many applications, if the color difference signals are already band-limited, it is satisfactory to use the same color difference sample for each two luminance samples. Little improvement is obtained with a simple averaging ([A+B]/2) interpolation filter. If the color difference signal is not bandlimited, either of these two methods may yield unsatisfactory results due to aliasing. In this case, a Fairchild TMC2242B digital low-pass (half-band) interpolating filter will correctly band-limit each color difference signal as it is interpolated. See Figure 10.
14
REV. 1.1.3 10/25/00
TMC2272A
PRODUCT SPECIFICATION
The same methods are used to decimate the color difference outputs. Simple decimation by removing every other sample of color information may yield unsatisfactory results due to aliasing. This is a problem because the color difference signals have not been transformed with the higher-bandwidth luminance signals and therefore have higher bandwidths than they had before the transform. The best performance is
obtained by using a precise low-pass (half-band) decimation filter such as the TMC2242B to remove aliasing components. See Figure 11. The TMC2242B is a bi-directional, selectable rate filter/ interpolator/decimator.
LUMINANCE (Y) INPUT
(Y)
12
(Cr) NOTE1
EQUALIZING PIPELINE DELAY, 60 CYCLES OR TMC2242B IN 1:1 MODE
A11-0
xMSPS
12 B11-0 12 C11-0 12 TMC2272A
Cr+Cb xMSPS 12
NOTE1
DE-MUX
x/2 MSPS
12
TMC2242B LOW PASS (Cr) FILTER/INTERPOLATOR, 1:2 MODE xMSPS
(Cb) TMC2242B LOW PASS FILTER/INTERPOLATOR, xMSPS 1:2 MODE
(Cb) NOTE1 x/2 MSPS
12
CLK
xMSPS
Notes: 1. Width of input paths will vary with source. 2. See TMC2242B Datasheet for further information. Figure 10. Input Interpolation and Filtering
X11-0
(Y)
12 Y11-0 xMSPS Z11-0 xMSPS
(Cr)
EQUALIZING PIPELINE DELAY, 60 CYCLES OR TMC2242B IN 1:1 MODE
xMSPS
12
LUMINANCE (Y) OUTPUT
TMC2272A
12
(Cb)
TMC2242B LOW PASS (Cr) FILTER/INTERPOLATOR, x/2 MSPS 1:2 MODE
12 DE-MUX
xMSPS
12
(Cb) TMC2242B LOW PASS FILTER/INTERPOLATOR, x/2 MSPS 12 1:2 MODE
Cr+Cb OUTPUT (MULTIFLEXED COLOR DIFFERENCE)
CLK xMSPS
Figure 11. Output Decimation and Filtering
Related Products
* * * * * * TMC1175 8 bit 40 Msps A/D Converter TMC2301 Image Resampling Sequencer TMC2302A Image Manipulation Sequencer TMC2249A Video Mixer TMC2242B Half-Band Filter TMC2330A Coordinate Transformer
REV. 1.1.3 10/25/00
15
PRODUCT SPECIFICATION
TMC2272A
Mechanical Dimensions
120-Lead CPGA Package Outline
Symbol A A1 A2 oB oB2 D D1 e L L1 M N P Inches Min. Max. Millimeters Min. Max. Notes: Notes 1. Pin #1 identifier shall be within shaded area shown. 2. Pin diameter excludes solder dip finish. 3. Dimension "M" defines matrix size. 4. Dimension "N" defines the maximum possible number of pins. 2 2 SQ 5. Orientation pin is at supplier's option. 6. Controlling dimension: inch.
.080 .160 .040 .060 .125 .215 .016 .020 .050 NOM. 1.340 1.380 1.200 BSC .100 BSC .110 .145 .170 .190 13 120 .003 --
2.03 4.06 1.01 1.53 3.17 5.46 0.40 0.51 1.27 NOM. 33.27 35.05 30.48 BSC 2.54 BSC 2.79 3.68 4.31 4.83 13 120 .076 --
3 4
A2 A1 L D e oB oB2 P
A
Top View Cavity Up
D1
Pin 1 Identifier
16
REV. 1.1.3 10/25/00
TMC2272A
PRODUCT SPECIFICATION
Mechanical Dimensions
120-Lead PPGA Package
Inches Min. A A1 A2 oB oB2 D D1 e L L1 M N P Max. Millimeters Min. Max. Notes: Notes 1. Pin #1 identifier shall be within shaded area shown. 2. Pin diameter excludes solder dip finish. 3. Dimension "M" defines matrix size. 4. Dimension "N" defines the maximum possible number of pins. 2 2 SQ 5. Orientation pin is at supplier's option. 6. Controlling dimension: inch.
Symbol
.080 .160 .040 .060 .125 .215 .016 .020 .050 NOM. 1.340 1.380 1.200 BSC .100 BSC .110 .145 .170 .190 13 120 .003 --
2.03 4.06 1.01 1.53 3.17 5.46 0.40 0.51 1.27 NOM. 33.27 35.05 30.48 BSC 2.54 BSC 2.79 3.68 4.31 4.83 13 120 .076 --
3 4
A2 A1 L D e oB oB2 P
A
Top View Cavity Up
D1
Pin 1 Identifier
REV. 1.1.3 10/25/00
17
PRODUCT SPECIFICATION
TMC2272A
Mechanical Dimensions
120-Lead Metric Quad Flat Package to Pin Grid Array Package (MPGA)
Symbol A A1 A2 A3 oB oB2 D D1 e L M N Inches Min. Max. Millimeters Min. Max. Notes: Notes 1. Pin #1 identifier shall be within shaded area shown. 2. Pin diameter excludes solder dip finish. 3. Dimension "M" defines matrix size. 4. Dimension "N" defines the maximum possible number of pins. 5. Orientation pin is at supplier's option. 2 2 SQ 6. Controlling dimension: inch.
.309 .311 .145 .155 .080 .090 .050 TYP. .016 .020 .050 NOM. 1.355 1.365 1.200 BSC .100 BSC .175 .185 13 120
7.85 7.90 3.68 3.94 2.03 2.29 1.27 TYP. 0.40 0.51 1.27 NOM. 34.42 34.67 30.48 BSC 2.54 BSC 4.45 4.70 13 120
3 4
A A1 L A3 oB2 oB e A2
D e
Fairchild TMC2272A
D1
Pin 1 Identifier
18
REV. 1.1.3 10/25/00
PRODUCT SPECIFICATION
TMC2272A
Mechanical Dimensions
120-Lead MQFP Package
Inches Min. A A1 A2 B C D/E D1/E1 e L N ND
ccc
Symbol
Millimeters Min. Max.
Notes: Notes 1. All dimensions and tolerances conform to ANSI Y14.5M-1982. 2. Controlling dimension is millimeters. 3. Dimension "B" does not include dambar protrusion. Allowable dambar protrusion shall be .08mm (.003in.) maximum in excess of the "B" dimension. Dambar cannot be located on the lower radius or the foot. 4. "L" is the length of terminal for soldering to a substrate. 5. "B" & "C" includes lead finish thickness.
Max.
-- .154 .010 -- .125 .144 .018 .012 .009 .005 1.219 1.238 1.098 1.106 .0315 BSC .026 .037 120 30 0 -- 7 .004
-- 3.92 .25 -- 3.17 3.67 .45 .30 .23 .13 30.95 31.45 27.90 28.10 .80 BSC .65 .95 120 30 0 -- 7 .10
3, 5 5
4
.20 (.008) Min. D D1 e PIN 1 IDENTIFIER E 0.063" Ref (1.60mm) Lead Detail E1 0 Min. .13 (.005) R Min. .13/.30 R .005/.012 C L
See Lead Detail A A2 B A1 Seating Plane Base Plane -CLEAD COPLANARITY ccc C
19
REV. 1.1.3 10/25/00
PRODUCT SPECIFICATION
TMC2272A
Ordering Information
Product Number TMC2272AG1C TMC2272AG1C2 TMC2272AG1C3 TMC2272AH5C TMC2272AH5C2 TMC2272AH5C3 TMC2272AH6C TMC2272AH6C2 TMC2272AH6C3 TMC2272AKEC TMC2272AKEC2 TMC2272AKEC3 Temperature Range 0C to 70C 0C to 70C 0C to 70C 0C to 70C 0C to 70C 0C to 70C 0C to 70C 0C to 70C 0C to 70C 0C to 70C 0C to 70C 0C to 70C Speed Grade 30 MHz 40 MHz 50 MHz 30 MHz 40 MHz 50 MHz 30 MHz 40 MHz 50 MHz 30 MHz 40 MHz 50 MHz Screening Commercial Commercial Commercial Commercial Commercial Commercial Commercial Commercial Commercial Commercial Commercial Commercial Package 120 Pin Ceramic Pin Grid Array 120 Pin Ceramic Pin Grid Array 120 Pin Ceramic Pin Grid Array 120 Pin Plastic Pin Grid Array 120 Pin Plastic Pin Grid Array 120 Pin Plastic Pin Grid Array 120 Lead Metric Quad Flatpack to Pin Grid Array 120 Lead Metric Quad Flatpack to Pin Grid Array 120 Lead Metric Quad Flatpack to Pin Grid Array 120 Lead Plastic Quad Flatpack 120 Lead Plastic Quad Flatpack 120 Lead Plastic Quad Flatpack Package Marking 2272AG1C 2272AG1C2 2272AG1C3 2272AH5C 2272AH5C2 2272AH5C3 N/A N/A N/A 2272AKEC 2272AKEC2 2272AKEC3
LIFE SUPPORT POLICY FAIRCHILD'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF FAIRCHILD SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and (c) whose failure to perform when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury of the user. 2. A critical component in any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.
www.fairchildsemi.com
10/25/00 0.0m 003 Stock#DS30002272A 2000 Fairchild Semiconductor Corporation


▲Up To Search▲   

 
Price & Availability of TMC2272AG1C

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X