Skip to contentSkip to conversation

PATCH: gspca-sn9c102-autoexposure.patch

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

lore
Share & tools
lore
#0 lore raw

Hi,

This patch adds exposure control and autoexposure for sn9c102 cams which use a tas5110 or a ov6650 image sensor.

It also renames the contrast control to gain, as that is what it is.

Regards,

Hans

This patch adds exposure control and autoexposure for sn9c102 cams which use a tas5110 or a ov6650 image sensor.

It also renames the contrast control to gain, as that is what it is.

linux/drivers/media/video/gspca/gspca.c +3 -0
diff -r f69de2a58412 linux/drivers/media/video/gspca/gspca.c
@@ -1835,6 +1835,9 @@
 	   desired lumination fast (with the risc of a slight overshoot) */
 	steps = abs(desired_avg_lum - avg_lum) / deadzone;
 
+	PDEBUG(D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n",
+		avg_lum, desired_avg_lum, steps);
+
 	for (i = 0; i < steps; i++) {
 		if (avg_lum > desired_avg_lum) {
 			if (gain > gain_knee)
linux/drivers/media/video/gspca/sonixb.c +220 -33

397 lines not on this page · raw message

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