--- a/gst_plugins_base/gst-libs/gst/interfaces/colorbalance.h Wed Mar 31 22:03:18 2010 +0300
+++ b/gst_plugins_base/gst-libs/gst/interfaces/colorbalance.h Tue Aug 31 15:30:33 2010 +0300
@@ -46,14 +46,27 @@
#define GST_COLOR_BALANCE_TYPE(klass) (klass->balance_type)
typedef struct _GstColorBalance GstColorBalance;
+typedef struct _GstColorBalanceClass GstColorBalanceClass;
+/**
+ * GstColorBalanceType:
+ * @GST_COLOR_BALANCE_HARDWARE: Color balance is implemented with dedicated
+ * hardware.
+ * @GST_COLOR_BALANCE_SOFTWARE: Color balance is implemented via software
+ * processing.
+ *
+ * An enumeration indicating whether an element implements color balancing
+ * operations in software or in dedicated hardware. In general, dedicated
+ * hardware implementations (such as those provided by xvimagesink) are
+ * preferred.
+ */
typedef enum
{
GST_COLOR_BALANCE_HARDWARE,
GST_COLOR_BALANCE_SOFTWARE
} GstColorBalanceType;
-typedef struct _GstColorBalanceClass {
+struct _GstColorBalanceClass {
GTypeInterface klass;
GstColorBalanceType balance_type;
@@ -73,7 +86,7 @@
gint value);
gpointer _gst_reserved[GST_PADDING];
-} GstColorBalanceClass;
+};
#ifdef __SYMBIAN32__
IMPORT_C
#endif
@@ -101,6 +114,12 @@
gint gst_color_balance_get_value (GstColorBalance *balance,
GstColorBalanceChannel *channel);
+#ifdef __SYMBIAN32__
+IMPORT_C
+#endif
+
+GstColorBalanceType
+ gst_color_balance_get_balance_type (GstColorBalance *balance);
/* trigger signal */
#ifdef __SYMBIAN32__