The ALC registers (RGB) maintains a value that determines an offset value to be written to the course/fine offset register. The datasheet seems to specify two different registers for the this purpose, 'fine offset' page 14 -vs- 'course offset' page 40. Please clarify.
Ref, TI data sheet: SLES232A –JUNE 2008–REVISED APRIL 2010
From page 14 of Datasheet…
Automatic Level Control (ALC)
The ALC circuit maintains the level of the signal to be set at a value that is programmed at the fine offset I2C
register. It consists of a pixel averaging filter and feedback loop. This ALC function can be enabled or disabled by
the I2C register at subaddress 26h.
The ALC circuit needs a timing pulse generated internally but the user should program the position properly. The
ALC pulse must be positioned after the clamp pulse. The position of ALC pulse is controlled by ALC placement
I2C register at address 31h. This is available only for internal ALC pulse timing. When using an external clamp
pulse, the fine clamp and the ALC both start on the leading edge of the external clamp pulse. Therefore, it is
recommended to keep the external clamp pulse as long as possible.
From Page 40 of Datasheet…
Blue Digital ALC Output LSBs
Subaddress 23h Read only
7 6 5 4 3 2 1 0
Blue ALC Out [7:0]
Blue ALC Out [7:0]: Eight LSBs of 10-bit filtered digital ALC output for Blue channel. The corresponding two MSBs are located at
subaddress 27h. With the internal ALC loop enabled, the ADC dynamic range can be maximized by adjusting the coarse offset settings
based on the ALC read back values. See registers 1Eh–20h for analog coarse offset control. If large adjustments are made to the analog
coarse offset control, adequate time must be allowed for the ALC to converge prior to reading of this register. ALC delay requirements
depend on the ALC NSV filter settings and the video input line rate. A delay of 30ms should be adequate for a 480i input with an NSV
setting of 1/64. ALC NSV filtering can be increased following final coarse offset adjustment. See Reg28h for more information on ALC filter
settings. Twos-complement value.