Blame gst-libs/gst/video/colorbalancechannel.h

Packit 971217
/* GStreamer Color Balance
Packit 971217
 * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
Packit 971217
 *
Packit 971217
 * colorbalancechannel.h: individual channel object
Packit 971217
 *
Packit 971217
 * This library is free software; you can redistribute it and/or
Packit 971217
 * modify it under the terms of the GNU Library General Public
Packit 971217
 * License as published by the Free Software Foundation; either
Packit 971217
 * version 2 of the License, or (at your option) any later version.
Packit 971217
 *
Packit 971217
 * This library is distributed in the hope that it will be useful,
Packit 971217
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 971217
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 971217
 * Library General Public License for more details.
Packit 971217
 *
Packit 971217
 * You should have received a copy of the GNU Library General Public
Packit 971217
 * License along with this library; if not, write to the
Packit 971217
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 971217
 * Boston, MA 02110-1301, USA.
Packit 971217
 */
Packit 971217
Packit 971217
#ifndef __GST_COLOR_BALANCE_CHANNEL_H__
Packit 971217
#define __GST_COLOR_BALANCE_CHANNEL_H__
Packit 971217
Packit 971217
#include <gst/gst.h>
Packit 971217
#include <gst/video/video-prelude.h>
Packit 971217
Packit 971217
G_BEGIN_DECLS
Packit 971217
Packit 971217
#define GST_TYPE_COLOR_BALANCE_CHANNEL \
Packit 971217
  (gst_color_balance_channel_get_type ())
Packit 971217
#define GST_COLOR_BALANCE_CHANNEL(obj) \
Packit 971217
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_COLOR_BALANCE_CHANNEL, \
Packit 971217
                               GstColorBalanceChannel))
Packit 971217
#define GST_COLOR_BALANCE_CHANNEL_CLASS(klass) \
Packit 971217
  (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_COLOR_BALANCE_CHANNEL, \
Packit 971217
                            GstColorBalanceChannelClass))
Packit 971217
#define GST_IS_COLOR_BALANCE_CHANNEL(obj) \
Packit 971217
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_COLOR_BALANCE_CHANNEL))
Packit 971217
#define GST_IS_COLOR_BALANCE_CHANNEL_CLASS(klass) \
Packit 971217
  (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_COLOR_BALANCE_CHANNEL))
Packit 971217
Packit 971217
typedef struct _GstColorBalanceChannel GstColorBalanceChannel;
Packit 971217
typedef struct _GstColorBalanceChannelClass GstColorBalanceChannelClass;
Packit 971217
Packit 971217
/**
Packit 971217
 * GstColorBalanceChannel:
Packit 971217
 * @label: A string containing a descriptive name for this channel
Packit 971217
 * @min_value: The minimum valid value for this channel.
Packit 971217
 * @max_value: The maximum valid value for this channel.
Packit 971217
 */
Packit 971217
struct _GstColorBalanceChannel {
Packit 971217
  GObject parent;
Packit 971217
Packit 971217
  /*< public >*/
Packit 971217
  gchar  *label;
Packit 971217
  gint    min_value;
Packit 971217
  gint    max_value;
Packit 971217
Packit 971217
  /*< private >*/
Packit 971217
  gpointer _gst_reserved[GST_PADDING];
Packit 971217
};
Packit 971217
Packit 971217
/**
Packit 971217
 * GstColorBalanceChannelClass:
Packit 971217
 * @parent: the parent class
Packit 971217
 * @value_changed: default handler for value changed notification
Packit 971217
 *
Packit 971217
 * Color-balance channel class.
Packit 971217
 */
Packit 971217
struct _GstColorBalanceChannelClass {
Packit 971217
  GObjectClass parent;
Packit 971217
Packit 971217
  /* signals */
Packit 971217
  void (* value_changed) (GstColorBalanceChannel *channel,
Packit 971217
                          gint                    value);
Packit 971217
Packit 971217
  /*< private >*/
Packit 971217
  gpointer _gst_reserved[GST_PADDING];
Packit 971217
};
Packit 971217
Packit 971217
GST_VIDEO_API
Packit 971217
GType   gst_color_balance_channel_get_type (void);
Packit 971217
Packit 971217
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
Packit 971217
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstColorBalanceChannel, gst_object_unref)
Packit 971217
#endif
Packit 971217
Packit 971217
G_END_DECLS
Packit 971217
Packit 971217
#endif /* __GST_COLOR_BALANCE_CHANNEL_H__ */