diff options
author | hans@localhost.localdomain <hans@localhost.localdomain> | 2009-05-21 13:08:29 +0200 |
---|---|---|
committer | hans@localhost.localdomain <hans@localhost.localdomain> | 2009-05-21 13:08:29 +0200 |
commit | 62805a6b176a0bbd17ab8fa421791765186fb77d (patch) | |
tree | 049754e1bd4e985cb443ba944e9b98dd7113c3e0 /v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.h | |
parent | 34a210b573f9c8ff8f07077f239be95d9d9248c5 (diff) | |
download | mediapointer-dvb-s2-62805a6b176a0bbd17ab8fa421791765186fb77d.tar.gz mediapointer-dvb-s2-62805a6b176a0bbd17ab8fa421791765186fb77d.tar.bz2 |
libv4l: rewrite video processing code
From: Hans de Goede <hdegoede@redhat.com>
Rewrite video processing code to make it easier to add more video filters
(and with little extra processing cost). As part of this the normalize
filter has been removed as it wasn't functioning satisfactory anyways
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.h')
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.h b/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.h index 43ef7c49f..85129ee4c 100644 --- a/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.h +++ b/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.h @@ -26,13 +26,11 @@ #define V4LCONTROL_HFLIPPED 0x01 #define V4LCONTROL_VFLIPPED 0x02 #define V4LCONTROL_ROTATED_90_JPEG 0x04 +#define V4LCONTROL_WANTS_WB 0x08 /* Controls */ enum { V4LCONTROL_WHITEBALANCE, - V4LCONTROL_NORMALIZE, - V4LCONTROL_NORM_LOW_BOUND, - V4LCONTROL_NORM_HIGH_BOUND, V4LCONTROL_HFLIP, V4LCONTROL_VFLIP, V4LCONTROL_COUNT }; @@ -45,6 +43,9 @@ void v4lcontrol_destroy(struct v4lcontrol_data *data); /* Functions used by v4lprocessing to get the control state */ int v4lcontrol_get_flags(struct v4lcontrol_data *data); int v4lcontrol_get_ctrl(struct v4lcontrol_data *data, int ctrl); +/* Check if the controls have changed since the last time this function + was called */ +int v4lcontrol_controls_changed(struct v4lcontrol_data *data); /* Check if we must go through the conversion path (and thus alloc conversion buffers, etc. in libv4l2). Note this always return 1 if we *may* need rotate90 / flipping / processing, as if we actually need this may change |