summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapipostproc.h
diff options
context:
space:
mode:
authorZhao, Halley <halley.zhao@intel.com>2013-12-13 04:14:41 +0800
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2014-01-15 11:49:49 +0100
commit467bf95c0906098f848a7aa81416c3a16760dad8 (patch)
tree257799bf8faaf93755372b0c217b2d7db5dce19e /gst/vaapi/gstvaapipostproc.h
parentdb5465c2d6627766184c767adfc4f69e815366c9 (diff)
vaapipostproc: add support for colorbalance filters.
Add support for hue, saturation, brightness and constrat adjustments. Also fix cap info local copy to match the really expected cap subtype of interest. https://bugzilla.gnome.org/show_bug.cgi?id=720376 Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'gst/vaapi/gstvaapipostproc.h')
-rw-r--r--gst/vaapi/gstvaapipostproc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/vaapi/gstvaapipostproc.h b/gst/vaapi/gstvaapipostproc.h
index 93b4495d..7159b533 100644
--- a/gst/vaapi/gstvaapipostproc.h
+++ b/gst/vaapi/gstvaapipostproc.h
@@ -160,6 +160,12 @@ struct _GstVaapiPostproc {
gfloat denoise_level;
gfloat sharpen_level;
+ /* Color balance filter values */
+ gfloat hue;
+ gfloat saturation;
+ gfloat brightness;
+ gfloat contrast;
+
guint is_raw_yuv : 1;
guint use_vpp : 1;
guint keep_aspect : 1;