Skip to contentSkip to conversation

PATCH: gspca-sn9c102-sensor-gain.patch

DISCUSSION Hans de Goede 1 participant 1 message Jul 9, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

Currently the sn9c102 gain control, only controls the digital gain in the sn9c102, but most sensors have an analog gain in the sensor, allowing for a much wider sensitivity range.

This patch adds support for the sensor gain for the tas5110 and ov6650 sensors. Note that both gains are controlled with a single v4l2 ctrl, as they are both gain. The ctrl now hs a range of 0-511, raising it one step at a time, will first raise the sensor gain 1 one its 0-255 scale and then the next step will raise the bridge gain on its 0-255 scale. Note that the bridge really has a 0-15 scale, so it only gets raised once every 32 steps
(of the full 0-511 scale).

This patch combined with the configurable exposure and autoexposure patch, makes my 2 sn9c102 cams work well in a wide variety of lighting conditions.

Regards,

Hans

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list