ADV8003 Hardware Manual
Rev. B, August 2013
329
8.4.17.
Gamma Correction
Generally, gamma correction is applied to compensate for the nonlinear relationship between the signal input and the output brightness level
(as perceived on a CRT). It can also be applied wherever nonlinear processing is used.
Gamma correction uses the function:
Signal
OUT
= (
Signal
IN
)
γ
where γ is the gamma correction factor.
Gamma correction is available for SD and ED/HD video. For both variations, there are twenty 8-bit registers, used to program the Gamma
Correction Curve A and Gamma Correction Curve B.
Gamma correction is performed on the luma data only. The user can choose one of two correction curves, Curve A or Curve B. Only one
of these curves can be used at a time.
The shape of the gamma correction curve is controlled by defining the curve response at 10 different locations along the curve. By altering
the response at these locations, the shape of the gamma correction curve can be modified. Between these points, linear interpolation is
used to generate intermediate values. Considering that the curve has a total length of 256 points, the 10 programmable locations are at the
following points: 24, 32, 48, 64, 80, 96, 128, 160, 192, and 224. The following locations are fixed and cannot be changed: 0, 16, 240, and
255.
From the curve locations, 16 to 240, the values at the programmable locations and, therefore, the response of the gamma correction curve,
should be calculated to produce the following result:
x
DESIRED
= (x
INPUT
)
γ
where:
x
DESIRED
is the desired gamma corrected output.
x
INPUT
is the linear input signal.
γ is the gamma correction factor.
To program the gamma correction registers, the 10 programmable curve values are calculated using
16
)
16
240
(
16
240
16
+
−
×
−
−
=
γ
γ
n
n
Equation 26: Gamma Correction Calculation
where:
γ
n
is the value to be written into the gamma correction register for point
n
on the gamma correction curve.
n
= 24, 32, 48, 64, 80, 96, 128, 160, 192, or 224.
γ
is the gamma correction factor.
For example, setting γ = 0.5 for all programmable curve data points results in the following
y
n
values:
y
24
= [(8/224)
0.5
× 224] + 16 = 58
y
32
= [(16/224)
0.5
× 224] + 16 = 76
y
48
= [(32/224)
0.5
× 224] + 16 = 101
y
64
= [(48/224)
0.5
× 224] + 16 = 120
y
80
= [(64/224)
0.5
× 224] + 16 = 136
y
96
= [(80/224)
0.5
× 224] + 16 = 150
y
128
= [(112/224)
0.5
× 224] + 16 = 174
y
160
= [(144/224)
0.5
× 224] + 16 = 195
y
192
= [(176/224)
0.5
× 224] + 16 = 214
y
224
= [(208/224)
0.5
× 224] + 16 = 232
Summary of Contents for ADV8003
Page 366: ...ADV8003 Hardware Manual Rev B August 2013 366 Figure 144 ADV8003 Schematic Page 4...
Page 367: ...ADV8003 Hardware Manual Rev B August 2013 367 Figure 145 ADV8003 Schematic Page 5...
Page 368: ...ADV8003 Hardware Manual Rev B August 2013 368 Figure 146 ADV8003 Schematic Page 6...
Page 369: ...ADV8003 Hardware Manual Rev B August 2013 369 Figure 147 ADV8003 Schematic Page 7...
Page 371: ...ADV8003 Hardware Manual Rev B August 2013 371 Figure 149 ADV8003 Schematic Page 9...
Page 372: ...ADV8003 Hardware Manual Rev B August 2013 372 Figure 150 ADV8003 Schematic Page 10...
Page 373: ...ADV8003 Hardware Manual Rev B August 2013 373 Figure 151 ADV8003 Schematic Page 11...
Page 374: ...ADV8003 Hardware Manual Rev B August 2013 374 Figure 152 ADV8003 Schematic Page 12...
Page 375: ...ADV8003 Hardware Manual Rev B August 2013 375 Figure 153 ADV8003 Schematic Page 13...
Page 376: ...ADV8003 Hardware Manual Rev B August 2013 376 Figure 154 ADV8003 Schematic Page 14...
Page 377: ...ADV8003 Hardware Manual Rev B August 2013 377 Figure 155 ADV8003 Schematic Page 15...
Page 378: ...ADV8003 Hardware Manual Rev B August 2013 378 Figure 156 ADV8003 Schematic Page 16...
Page 379: ...ADV8003 Hardware Manual Rev B August 2013 379 Figure 157 ADV8003 Schematic Page 17...
Page 380: ...ADV8003 Hardware Manual Rev B August 2013 380 Figure 158 ADV8003 Schematic Page 18...
Page 381: ...ADV8003 Hardware Manual Rev B August 2013 381 Figure 159 ADV8003 Schematic Page 19...
Page 382: ...ADV8003 Hardware Manual Rev B August 2013 382 Figure 160 ADV8003 Schematic Page 20...
Page 383: ...ADV8003 Hardware Manual Rev B August 2013 383 Figure 161 ADV8003 Schematic Page 21...
Page 384: ...ADV8003 Hardware Manual Rev B August 2013 384 Figure 162 ADV8003 Schematic Page 22...
Page 385: ...ADV8003 Hardware Manual Rev B August 2013 385 Figure 163 ADV8003 Schematic Page 23...
Page 386: ...ADV8003 Hardware Manual Rev B August 2013 386 Figure 164 ADV8003 Schematic Page 24...
Page 387: ...ADV8003 Hardware Manual Rev B August 2013 387 Figure 165 ADV8003 Schematic Page 25...
Page 388: ...ADV8003 Hardware Manual Rev B August 2013 388 Figure 166 ADV8003 Schematic Page 26...
Page 389: ...ADV8003 Hardware Manual Rev B August 2013 389 Figure 167 ADV8003 Schematic Page 27...
Page 390: ...ADV8003 Hardware Manual Rev B August 2013 390 Figure 168 ADV8003 Schematic Page 28...
Page 391: ...ADV8003 Hardware Manual Rev B August 2013 391 Figure 169 ADV8003 Schematic Page 29...
Page 392: ...ADV8003 Hardware Manual Rev B August 2013 392 Figure 170 ADV8003 Schematic Page 30...
Page 393: ...ADV8003 Hardware Manual Rev B August 2013 393 Figure 171 ADV8003 Schematic Page 31...
Page 395: ...ADV8003 Hardware Manual Rev B August 2013 395 Figure 173 ADV8003 Layout Page 2...
Page 396: ...ADV8003 Hardware Manual Rev B August 2013 396 Figure 174 ADV8003 Layout Page 3...
Page 397: ...ADV8003 Hardware Manual Rev B August 2013 397 Figure 175 ADV8003 Layout Page 4...
Page 398: ...ADV8003 Hardware Manual Rev B August 2013 398 Figure 176 ADV8003 Layout Page 5...
Page 399: ...ADV8003 Hardware Manual Rev B August 2013 399 Figure 177 ADV8003 Layout Page 6...
Page 400: ...ADV8003 Hardware Manual Rev B August 2013 400 Figure 178 ADV8003 Layout Page 7...
Page 401: ...ADV8003 Hardware Manual Rev B August 2013 401 Figure 179 ADV8003 Layout Page 8...
Page 427: ...ADV8003 Hardware Manual Rev B August 2013 427 P 2 Z Z Z P 1 Z Z Z P 0 Z Z Z...