"Fossies" - the Fresh Open Source Software Archive

Member "gstreamer-1.16.1/libs/gst/controller/gsttriggercontrolsource.h" (19 Apr 2019, 3029 Bytes) of package /linux/misc/gstreamer-1.16.1.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "gsttriggercontrolsource.h" see the Fossies "Dox" file reference documentation.

    1 /* GStreamer
    2  *
    3  * Copyright (C) 2007 Sebastian Dröge <slomo@circular-chaos.org>
    4  *               2011 Stefan Sauer <ensonic@users.sf.net>
    5  *
    6  * gsttriggercontrolsource.h: Control source that provides some values at time-
    7  *                            stamps
    8  *
    9  * This library is free software; you can redistribute it and/or
   10  * modify it under the terms of the GNU Library General Public
   11  * License as published by the Free Software Foundation; either
   12  * version 2 of the License, or (at your option) any later version.
   13  *
   14  * This library is distributed in the hope that it will be useful,
   15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   17  * Library General Public License for more details.
   18  *
   19  * You should have received a copy of the GNU Library General Public
   20  * License along with this library; if not, write to the
   21  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
   22  * Boston, MA 02110-1301, USA.
   23  */
   24 
   25 
   26 #ifndef __GST_TRIGGER_CONTROL_SOURCE_H__
   27 #define __GST_TRIGGER_CONTROL_SOURCE_H__
   28 
   29 #include <glib-object.h>
   30 #include <gst/gst.h>
   31 
   32 #include <gst/controller/gsttimedvaluecontrolsource.h>
   33 
   34 G_BEGIN_DECLS
   35 
   36 #define GST_TYPE_TRIGGER_CONTROL_SOURCE \
   37   (gst_trigger_control_source_get_type ())
   38 #define GST_TRIGGER_CONTROL_SOURCE(obj) \
   39   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TRIGGER_CONTROL_SOURCE, GstTriggerControlSource))
   40 #define GST_TRIGGER_CONTROL_SOURCE_CLASS(vtable) \
   41   (G_TYPE_CHECK_CLASS_CAST ((vtable), GST_TYPE_TRIGGER_CONTROL_SOURCE, GstTriggerControlSourceClass))
   42 #define GST_IS_TRIGGER_CONTROL_SOURCE(obj) \
   43   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TRIGGER_CONTROL_SOURCE))
   44 #define GST_IS_TRIGGER_CONTROL_SOURCE_CLASS(vtable) \
   45   (G_TYPE_CHECK_CLASS_TYPE ((vtable), GST_TYPE_TRIGGER_CONTROL_SOURCE))
   46 #define GST_TRIGGER_CONTROL_SOURCE_GET_CLASS(inst) \
   47   (G_TYPE_INSTANCE_GET_CLASS ((inst), GST_TYPE_TRIGGER_CONTROL_SOURCE, GstTriggerControlSourceClass))
   48 
   49 #define GST_TYPE_TRIGGER_WAVEFORM (gst_trigger_waveform_get_type ())
   50 
   51 typedef struct _GstTriggerControlSource GstTriggerControlSource;
   52 typedef struct _GstTriggerControlSourceClass GstTriggerControlSourceClass;
   53 typedef struct _GstTriggerControlSourcePrivate GstTriggerControlSourcePrivate;
   54 
   55 /**
   56  * GstTriggerControlSource:
   57  *
   58  * The instance structure of #GstControlSource.
   59  */
   60 struct _GstTriggerControlSource {
   61   GstTimedValueControlSource parent;
   62 
   63   /*< private >*/
   64   GstTriggerControlSourcePrivate *priv;
   65   gpointer _gst_reserved[GST_PADDING];
   66 };
   67 
   68 struct _GstTriggerControlSourceClass {
   69   GstTimedValueControlSourceClass parent_class;
   70   
   71   /*< private >*/
   72   gpointer _gst_reserved[GST_PADDING];
   73 };
   74 
   75 GST_CONTROLLER_API
   76 GType gst_trigger_control_source_get_type (void);
   77 
   78 /* Functions */
   79 
   80 GST_CONTROLLER_API
   81 GstControlSource *gst_trigger_control_source_new (void);
   82 
   83 #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
   84 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTriggerControlSource, gst_object_unref)
   85 #endif
   86 
   87 G_END_DECLS
   88 
   89 #endif /* __GST_TRIGGER_CONTROL_SOURCE_H__ */