libv4l: Enable software whitebalance and autogain for mr97310a cameras
authorHans de Goede <hdegoede@redhat.com>
Fri, 9 Oct 2009 08:32:13 +0000 (10:32 +0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 24 Feb 2010 00:44:39 +0000 (21:44 -0300)
Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
lib/ChangeLog
lib/libv4lconvert/control/libv4lcontrol.c

index 3fa0374..17a63fa 100644 (file)
@@ -3,6 +3,7 @@ libv4l-0.6.2
 * Add more laptop models to the upside down devices table
 * Put usb id in controls shm segment name for USB devices, to better
   distuingish between devices plugged into the same port
+* Enable software whitebalance and autogain for mr97310a cameras
 
 libv4l-0.6.1
 ------------
index 077ee82..9628592 100644 (file)
@@ -216,6 +216,10 @@ static const struct v4lcontrol_flags_info v4lcontrol_flags[] = {
   { 0x046d, 0x08f5, 0,    NULL, NULL, V4LCONTROL_WANTS_AUTOGAIN },
   { 0x046d, 0x08f6, 0,    NULL, NULL, V4LCONTROL_WANTS_AUTOGAIN },
   { 0x046d, 0x08da, 0,    NULL, NULL, V4LCONTROL_WANTS_AUTOGAIN },
+  /* mr97310a cams, note some models do not have the necessary controls, for
+     those we will only do whitebal. see software autogain code enable below */
+  { 0x08ca, 0x0111, 0,    NULL, NULL, V4LCONTROL_WANTS_WB_AUTOGAIN },
+  { 0x093a, 0x010e, 1,    NULL, NULL, V4LCONTROL_WANTS_WB_AUTOGAIN },
 };
 
 static const struct v4l2_queryctrl fake_controls[];