Data Sheet
10.13.2009 PRODUCT SPECIFICATION proprietary to OmniVision Technologies
5-3
5.5 gamma slope calculation
The highest segment slope (register SLOP 0x81) is calculated by the following equation:
SLOP[7:0] = (255 - GAM15[7:0]) * 40/30
table 5-2 related registers and parameters registers
gamma segments Y coordinates gamma segments X coordinates
register address name value
DSP_CTL0 0x60[1] gamma function enabled
0: gamma disabled
1: gamma enabled
GAM1 0x7B XREF1 4
GAM2 0x7C XREF2 8
GAM3 0x7D XREF3 16
GAM4 0x7E XREF4 32
GAM5 0x7F XREF5 40
GAM6 0x80 XREF6 48
GAM7 0x81 XREF7 56
GAM8 0x82 XREF8 64
GAM9 0x83 XREF9 72
GAM10 0x84 XREF10 80
GAM11 0x85 XREF11 96
GAM12 0x86 XREF12 112
GAM13 0x87 XREF13 144
GAM14 0x88 XREF14 176
GAM15 0x89 XREF15 208
SLOP 0x7A SLOP = (256 – GAM15) * 40/30
Simpo PDF Password Remover Unregistered Version - http://www.simpopdf.com