From 42501950c3b085edd179c260262af071de2b942c Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Tue, 13 Jan 2004 17:57:25 +0000 Subject: gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the colorbalance interface stating if it is hardware based... Original commit message from CVS: 2004-01-13 Julien MOUTTE * gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the colorbalance interface stating if it is hardware based or software based. * gst/videofilter/gstvideobalance.c: (gst_videobalance_planar411): Removing a trailing comma. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get), (gst_xvimagesink_colorbalance_init): Integrating a patch from Jon Trowbridge querying Xv adaptor for min/max value as the documentation seems to be wrong on the -1000 to 1000 interval. --- gst-libs/gst/colorbalance/colorbalance.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gst-libs/gst') diff --git a/gst-libs/gst/colorbalance/colorbalance.h b/gst-libs/gst/colorbalance/colorbalance.h index f4a0d78a..3f365485 100644 --- a/gst-libs/gst/colorbalance/colorbalance.h +++ b/gst-libs/gst/colorbalance/colorbalance.h @@ -43,10 +43,18 @@ G_BEGIN_DECLS (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_COLOR_BALANCE, GstColorBalanceClass)) typedef struct _GstColorBalance GstColorBalance; + +typedef enum +{ + GST_COLOR_BALANCE_HARDWARE, + GST_COLOR_BALANCE_SOFTWARE +} GstColorBalanceType; typedef struct _GstColorBalanceClass { GTypeInterface klass; + GstColorBalanceType balance_type; + /* virtual functions */ const GList * (* list_channels) (GstColorBalance *balance); -- cgit v1.2.1