summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-05-25 15:25:15 +0200
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-05-25 15:25:15 +0200
commit51949cfaadebd8e341fed1e85eca683dd40195d2 (patch)
treea073bed97a4704eb6f73c2c0e54399f30f35e93d /v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h
parentb152107391374bfc61ea21d1731fd349352bedf2 (diff)
downloadmediapointer-dvb-s2-51949cfaadebd8e341fed1e85eca683dd40195d2.tar.gz
mediapointer-dvb-s2-51949cfaadebd8e341fed1e85eca683dd40195d2.tar.bz2
libv4l: add software autogain / exposure
From: Hans de Goede <hdegoede@redhat.com> Add software autogain / exposure, for camera's which have gain and exposure controls but do not contain the ability to calculate the average lumination in hardware (which is needed to do this in the kernel). This patch enables this for the spca561 rev12a, but it should be usefull for other cameras too. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h')
-rw-r--r--v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h b/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h
index fb514d7f5..b848317f7 100644
--- a/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h
+++ b/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h
@@ -27,6 +27,7 @@
struct v4lprocessing_data {
struct v4lcontrol_data *control;
+ int fd;
int do_process;
/* True if any of the lookup tables does not contain
linear 0-255 */
@@ -49,5 +50,6 @@ struct v4lprocessing_filter {
};
extern struct v4lprocessing_filter whitebalance_filter;
+extern struct v4lprocessing_filter autogain_filter;
#endif