diff options
author | Christian Schaller <uraeus@gnome.org> | 2005-05-06 11:41:28 +0000 |
---|---|---|
committer | Christian Schaller <uraeus@gnome.org> | 2005-05-06 11:41:28 +0000 |
commit | 086b25d40a8fc3606d70c32af7f6af178e2d804d (patch) | |
tree | 2b138bca28d921d8798599f2c745d8014ec631ba /gst-libs/gst/colorbalance | |
parent | 4cb81e7ecbdc6376e5c676dcffa11758434acd1e (diff) | |
download | gst-plugins-bad-086b25d40a8fc3606d70c32af7f6af178e2d804d.tar.gz gst-plugins-bad-086b25d40a8fc3606d70c32af7f6af178e2d804d.tar.bz2 gst-plugins-bad-086b25d40a8fc3606d70c32af7f6af178e2d804d.zip |
remove gst-libs from gst-plugins module as it is in gst-plugins-base now
Original commit message from CVS:
remove gst-libs from gst-plugins module as it is in gst-plugins-base now
Diffstat (limited to 'gst-libs/gst/colorbalance')
-rw-r--r-- | gst-libs/gst/colorbalance/Makefile.am | 47 | ||||
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalance-marshal.list | 1 | ||||
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalance.c | 136 | ||||
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalance.h | 96 | ||||
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalance.vcproj | 150 | ||||
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalancechannel.c | 106 | ||||
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalancechannel.h | 64 |
7 files changed, 0 insertions, 600 deletions
diff --git a/gst-libs/gst/colorbalance/Makefile.am b/gst-libs/gst/colorbalance/Makefile.am deleted file mode 100644 index 5888fb50..00000000 --- a/gst-libs/gst/colorbalance/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -# variables used for enum/marshal generation -glib_enum_headers=$(colorbalance_headers) -glib_enum_define=GST_COLOR_BALANCE -glib_enum_prefix=gst_color_balance - -libgstcolorbalanceincludedir = \ - $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/colorbalance - -colorbalance_headers = \ - colorbalance.h \ - colorbalancechannel.h - -built_sources = \ - colorbalance-marshal.c \ - colorbalance-enumtypes.c - -built_headers = \ - colorbalance-marshal.h \ - colorbalance-enumtypes.h - -libgstcolorbalanceinclude_HEADERS = \ - $(colorbalance_headers) - -nodist_libgstcolorbalanceinclude_HEADERS = \ - colorbalance-enumtypes.h - -noinst_LTLIBRARIES = libgstcolorbalance.la - -libgstcolorbalance_la_SOURCES = \ - colorbalance.c \ - colorbalancechannel.c - -nodist_libgstcolorbalance_la_SOURCES = \ - $(built_sources) \ - colorbalance-marshal.h - -libgstcolorbalance_la_CFLAGS = $(GST_CFLAGS) - -BUILT_SOURCES = \ - $(built_sources) \ - $(built_headers) - -EXTRA_DIST = colorbalance-marshal.list - -CLEANFILES = $(BUILT_SOURCES) - -include $(top_srcdir)/common/glib-gen.mak diff --git a/gst-libs/gst/colorbalance/colorbalance-marshal.list b/gst-libs/gst/colorbalance/colorbalance-marshal.list deleted file mode 100644 index b9d0c499..00000000 --- a/gst-libs/gst/colorbalance/colorbalance-marshal.list +++ /dev/null @@ -1 +0,0 @@ -VOID:OBJECT,INT diff --git a/gst-libs/gst/colorbalance/colorbalance.c b/gst-libs/gst/colorbalance/colorbalance.c deleted file mode 100644 index ac6e511e..00000000 --- a/gst-libs/gst/colorbalance/colorbalance.c +++ /dev/null @@ -1,136 +0,0 @@ -/* GStreamer Color Balance - * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net> - * - * colorbalance.c: image color balance interface design - * virtual class function wrappers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "colorbalance.h" -#include "colorbalance-marshal.h" - -enum -{ - VALUE_CHANGED, - LAST_SIGNAL -}; - -static void gst_color_balance_class_init (GstColorBalanceClass * klass); - -static guint gst_color_balance_signals[LAST_SIGNAL] = { 0 }; - -GType -gst_color_balance_get_type (void) -{ - static GType gst_color_balance_type = 0; - - if (!gst_color_balance_type) { - static const GTypeInfo gst_color_balance_info = { - sizeof (GstColorBalanceClass), - (GBaseInitFunc) gst_color_balance_class_init, - NULL, - NULL, - NULL, - NULL, - 0, - 0, - NULL, - }; - - gst_color_balance_type = g_type_register_static (G_TYPE_INTERFACE, - "GstColorBalance", &gst_color_balance_info, 0); - g_type_interface_add_prerequisite (gst_color_balance_type, - GST_TYPE_IMPLEMENTS_INTERFACE); - } - - return gst_color_balance_type; -} - -static void -gst_color_balance_class_init (GstColorBalanceClass * klass) -{ - static gboolean initialized = FALSE; - - if (!initialized) { - gst_color_balance_signals[VALUE_CHANGED] = - g_signal_new ("value-changed", - GST_TYPE_COLOR_BALANCE, G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GstColorBalanceClass, value_changed), - NULL, NULL, - gst_color_balance_marshal_VOID__OBJECT_INT, - G_TYPE_NONE, 2, GST_TYPE_COLOR_BALANCE_CHANNEL, G_TYPE_INT); - - initialized = TRUE; - } - - klass->balance_type = GST_COLOR_BALANCE_SOFTWARE; - - /* default virtual functions */ - klass->list_channels = NULL; - klass->set_value = NULL; - klass->get_value = NULL; -} - -const GList * -gst_color_balance_list_channels (GstColorBalance * balance) -{ - GstColorBalanceClass *klass = GST_COLOR_BALANCE_GET_CLASS (balance); - - if (klass->list_channels) { - return klass->list_channels (balance); - } - - return NULL; -} - -void -gst_color_balance_set_value (GstColorBalance * balance, - GstColorBalanceChannel * channel, gint value) -{ - GstColorBalanceClass *klass = GST_COLOR_BALANCE_GET_CLASS (balance); - - if (klass->set_value) { - klass->set_value (balance, channel, value); - } -} - -gint -gst_color_balance_get_value (GstColorBalance * balance, - GstColorBalanceChannel * channel) -{ - GstColorBalanceClass *klass = GST_COLOR_BALANCE_GET_CLASS (balance); - - if (klass->get_value) { - return klass->get_value (balance, channel); - } - - return channel->min_value; -} - -void -gst_color_balance_value_changed (GstColorBalance * balance, - GstColorBalanceChannel * channel, gint value) -{ - g_signal_emit (G_OBJECT (balance), - gst_color_balance_signals[VALUE_CHANGED], 0, channel, value); - - g_signal_emit_by_name (G_OBJECT (channel), "value_changed", value); -} diff --git a/gst-libs/gst/colorbalance/colorbalance.h b/gst-libs/gst/colorbalance/colorbalance.h deleted file mode 100644 index d7b92171..00000000 --- a/gst-libs/gst/colorbalance/colorbalance.h +++ /dev/null @@ -1,96 +0,0 @@ -/* GStreamer Color Balance - * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net> - * - * color-balance.h: image color balance interface design - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __GST_COLOR_BALANCE_H__ -#define __GST_COLOR_BALANCE_H__ - -#include <gst/gst.h> -#include <gst/colorbalance/colorbalancechannel.h> -#include <gst/colorbalance/colorbalance-enumtypes.h> - -G_BEGIN_DECLS - -#define GST_TYPE_COLOR_BALANCE \ - (gst_color_balance_get_type ()) -#define GST_COLOR_BALANCE(obj) \ - (GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_COLOR_BALANCE, \ - GstColorBalance)) -#define GST_COLOR_BALANCE_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_COLOR_BALANCE, \ - GstColorBalanceClass)) -#define GST_IS_COLOR_BALANCE(obj) \ - (GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_COLOR_BALANCE)) -#define GST_IS_COLOR_BALANCE_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_COLOR_BALANCE)) -#define GST_COLOR_BALANCE_GET_CLASS(inst) \ - (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_COLOR_BALANCE, GstColorBalanceClass)) - -#define GST_COLOR_BALANCE_TYPE(klass) (klass->balance_type) - -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); - - void (* set_value) (GstColorBalance *balance, - GstColorBalanceChannel *channel, - gint value); - gint (* get_value) (GstColorBalance *balance, - GstColorBalanceChannel *channel); - - /* signals */ - void (* value_changed) (GstColorBalance *balance, - GstColorBalanceChannel *channel, - gint value); - - gpointer _gst_reserved[GST_PADDING]; -} GstColorBalanceClass; - -GType gst_color_balance_get_type (void); - -/* virtual class function wrappers */ -const GList * - gst_color_balance_list_channels (GstColorBalance *balance); -void gst_color_balance_set_value (GstColorBalance *balance, - GstColorBalanceChannel *channel, - gint value); -gint gst_color_balance_get_value (GstColorBalance *balance, - GstColorBalanceChannel *channel); - -/* trigger signal */ -void gst_color_balance_value_changed (GstColorBalance *balance, - GstColorBalanceChannel *channel, - gint value); - -G_END_DECLS - -#endif /* __GST_COLOR_BALANCE_H__ */ diff --git a/gst-libs/gst/colorbalance/colorbalance.vcproj b/gst-libs/gst/colorbalance/colorbalance.vcproj deleted file mode 100644 index 33980ed4..00000000 --- a/gst-libs/gst/colorbalance/colorbalance.vcproj +++ /dev/null @@ -1,150 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="7.10" - Name="colorbalance" - ProjectGUID="{979C216F-0ACF-4956-AE00-055A42D67894}" - RootNamespace="colorbalance" - Keyword="Win32Proj"> - <Platforms> - <Platform - Name="Win32"/> - </Platforms> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="../../../win32/Debug" - IntermediateDirectory="../../../win32/Debug" - ConfigurationType="2" - CharacterSet="2"> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="../../../../gstreamer/win32;../../../../gstreamer;../../../../gstreamer/libs;../../../../glib;../../../../glib/glib;../../../../glib/gmodule;"../../../gst-libs";../../../../popt/include;../../../../libxml2/include/libxml2" - PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;_USE_MATH_DEFINES" - MinimalRebuild="TRUE" - BasicRuntimeChecks="3" - RuntimeLibrary="3" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="TRUE" - DebugInformationFormat="4"/> - <Tool - Name="VCCustomBuildTool"/> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="glib-2.0.lib gmodule-2.0.lib gthread-2.0.lib gobject-2.0.lib libgstreamer.lib gstbytestream.lib iconv.lib intl.lib" - OutputFile="$(OutDir)/gstcolorbalance.dll" - LinkIncremental="2" - AdditionalLibraryDirectories="../../../../gstreamer/win32/Debug;../../../../glib/glib;../../../../glib/gmodule;../../../../glib/gthread;../../../../glib/gobject;../../../../gettext/lib;../../../../libiconv/lib" - ModuleDefinitionFile="colorbalance.def" - GenerateDebugInformation="TRUE" - ProgramDatabaseFile="$(OutDir)/colorbalance.pdb" - SubSystem="2" - OptimizeReferences="2" - ImportLibrary="$(OutDir)/gstcolorbalance.lib" - TargetMachine="1"/> - <Tool - Name="VCMIDLTool"/> - <Tool - Name="VCPostBuildEventTool" - CommandLine="copy /Y $(TargetPath) c:\gstreamer\plugins"/> - <Tool - Name="VCPreBuildEventTool"/> - <Tool - Name="VCPreLinkEventTool"/> - <Tool - Name="VCResourceCompilerTool"/> - <Tool - Name="VCWebServiceProxyGeneratorTool"/> - <Tool - Name="VCXMLDataGeneratorTool"/> - <Tool - Name="VCWebDeploymentTool"/> - <Tool - Name="VCManagedWrapperGeneratorTool"/> - <Tool - Name="VCAuxiliaryManagedWrapperGeneratorTool"/> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="../../../win32/Release" - IntermediateDirectory="../../../win32/Release" - ConfigurationType="2" - CharacterSet="2"> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="../../../../gstreamer/win32;../../../../gstreamer;../../../../gstreamer/libs;../../../../glib;../../../../glib/glib;../../../../glib/gmodule;"../../../gst-libs";../../../../popt/include;../../../../libxml2/include/libxml2" - PreprocessorDefinitions="WIN32;NDEBUG;GST_DISABLE_GST_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;_USE_MATH_DEFINES" - RuntimeLibrary="2" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="TRUE" - DebugInformationFormat="3"/> - <Tool - Name="VCCustomBuildTool"/> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="glib-2.0.lib gmodule-2.0.lib gthread-2.0.lib gobject-2.0.lib libgstreamer.lib gstbytestream.lib iconv.lib intl.lib" - OutputFile="$(OutDir)/gstcolorbalance.dll" - LinkIncremental="1" - AdditionalLibraryDirectories="../../../../gstreamer/win32/Release;../../../../glib/glib;../../../../glib/gmodule;../../../../glib/gthread;../../../../glib/gobject;../../../../gettext/lib;../../../../libiconv/lib" - ModuleDefinitionFile="colorbalance.def" - GenerateDebugInformation="TRUE" - SubSystem="2" - OptimizeReferences="2" - EnableCOMDATFolding="2" - ImportLibrary="$(OutDir)/gstcolorbalance.lib" - TargetMachine="1"/> - <Tool - Name="VCMIDLTool"/> - <Tool - Name="VCPostBuildEventTool" - CommandLine="copy /Y $(TargetPath) c:\gstreamer\plugins"/> - <Tool - Name="VCPreBuildEventTool"/> - <Tool - Name="VCPreLinkEventTool"/> - <Tool - Name="VCResourceCompilerTool"/> - <Tool - Name="VCWebServiceProxyGeneratorTool"/> - <Tool - Name="VCXMLDataGeneratorTool"/> - <Tool - Name="VCWebDeploymentTool"/> - <Tool - Name="VCManagedWrapperGeneratorTool"/> - <Tool - Name="VCAuxiliaryManagedWrapperGeneratorTool"/> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> - <File - RelativePath=".\colorbalance.c"> - </File> - <File - RelativePath=".\colorbalancechannel.c"> - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> - <File - RelativePath=".\colorbalance.h"> - </File> - <File - RelativePath=".\colorbalancechannel.h"> - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/gst-libs/gst/colorbalance/colorbalancechannel.c b/gst-libs/gst/colorbalance/colorbalancechannel.c deleted file mode 100644 index 4fd0ea88..00000000 --- a/gst-libs/gst/colorbalance/colorbalancechannel.c +++ /dev/null @@ -1,106 +0,0 @@ -/* GStreamer Color Balance - * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net> - * - * colorbalancechannel.c: colorbalance channel object design - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "colorbalancechannel.h" - -enum -{ - /* FILL ME */ - SIGNAL_VALUE_CHANGED, - LAST_SIGNAL -}; - -static void gst_color_balance_channel_class_init (GstColorBalanceChannelClass * - klass); -static void gst_color_balance_channel_init (GstColorBalanceChannel * balance); -static void gst_color_balance_channel_dispose (GObject * object); - -static GObjectClass *parent_class = NULL; -static guint signals[LAST_SIGNAL] = { 0 }; - -GType -gst_color_balance_channel_get_type (void) -{ - static GType gst_color_balance_channel_type = 0; - - if (!gst_color_balance_channel_type) { - static const GTypeInfo color_balance_channel_info = { - sizeof (GstColorBalanceChannelClass), - NULL, - NULL, - (GClassInitFunc) gst_color_balance_channel_class_init, - NULL, - NULL, - sizeof (GstColorBalanceChannel), - 0, - (GInstanceInitFunc) gst_color_balance_channel_init, - NULL - }; - - gst_color_balance_channel_type = - g_type_register_static (G_TYPE_OBJECT, - "GstColorBalanceChannel", &color_balance_channel_info, 0); - } - - return gst_color_balance_channel_type; -} - -static void -gst_color_balance_channel_class_init (GstColorBalanceChannelClass * klass) -{ - GObjectClass *object_klass = (GObjectClass *) klass; - - parent_class = g_type_class_ref (G_TYPE_OBJECT); - - signals[SIGNAL_VALUE_CHANGED] = - g_signal_new ("value-changed", G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GstColorBalanceChannelClass, - value_changed), - NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); - - object_klass->dispose = gst_color_balance_channel_dispose; -} - -static void -gst_color_balance_channel_init (GstColorBalanceChannel * channel) -{ - channel->label = NULL; - channel->min_value = channel->max_value = 0; -} - -static void -gst_color_balance_channel_dispose (GObject * object) -{ - GstColorBalanceChannel *channel = GST_COLOR_BALANCE_CHANNEL (object); - - if (channel->label) - g_free (channel->label); - - channel->label = NULL; - - if (parent_class->dispose) - parent_class->dispose (object); -} diff --git a/gst-libs/gst/colorbalance/colorbalancechannel.h b/gst-libs/gst/colorbalance/colorbalancechannel.h deleted file mode 100644 index 23f73f8e..00000000 --- a/gst-libs/gst/colorbalance/colorbalancechannel.h +++ /dev/null @@ -1,64 +0,0 @@ -/* GStreamer Color Balance - * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net> - * - * colorbalancechannel.h: individual channel object - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __GST_COLOR_BALANCE_CHANNEL_H__ -#define __GST_COLOR_BALANCE_CHANNEL_H__ - -#include <gst/gst.h> - -G_BEGIN_DECLS - -#define GST_TYPE_COLOR_BALANCE_CHANNEL \ - (gst_color_balance_channel_get_type ()) -#define GST_COLOR_BALANCE_CHANNEL(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_COLOR_BALANCE_CHANNEL, \ - GstColorBalanceChannel)) -#define GST_COLOR_BALANCE_CHANNEL_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_COLOR_BALANCE_CHANNEL, \ - GstColorBalanceChannelClass)) -#define GST_IS_COLOR_BALANCE_CHANNEL(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_COLOR_BALANCE_CHANNEL)) -#define GST_IS_COLOR_BALANCE_CHANNEL_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_COLOR_BALANCE_CHANNEL)) - -typedef struct _GstColorBalanceChannel { - GObject parent; - - gchar *label; - gint min_value, - max_value; -} GstColorBalanceChannel; - -typedef struct _GstColorBalanceChannelClass { - GObjectClass parent; - - /* signals */ - void (* value_changed) (GstColorBalanceChannel *channel, - gint value); - - gpointer _gst_reserved[GST_PADDING]; -} GstColorBalanceChannelClass; - -GType gst_color_balance_channel_get_type (void); - -G_END_DECLS - -#endif /* __GST_COLOR_BALANCE_CHANNEL_H__ */ |