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. --- ChangeLog | 12 ++++++++++++ common | 2 +- gst-libs/gst/colorbalance/colorbalance.h | 8 ++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b354face..21975056 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +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. + 2004-01-12 David Schleef * gst/debug/efence.c: (gst_efence_init), (gst_efence_chain), diff --git a/common b/common index cd5507ae..c81ad072 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit cd5507ae3df8dc48c07df9e37878846b6b79faa1 +Subproject commit c81ad072c76522175cbddead96d6f3c448068d67 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