2003-06-22 03:58:04 +00:00
|
|
|
/*
|
|
|
|
* efence.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GST_EFENCE_H__
|
|
|
|
#define __GST_EFENCE_H__
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2004-03-15 16:32:54 +00:00
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
2003-06-22 03:58:04 +00:00
|
|
|
|
|
|
|
/* #define's don't like whitespacey bits */
|
|
|
|
#define GST_TYPE_EFENCE \
|
|
|
|
(gst_gst_efence_get_type())
|
|
|
|
#define GST_EFENCE(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EFENCE,GstEFence))
|
|
|
|
#define GST_EFENCE_CLASS(klass) \
|
2006-06-01 21:07:26 +00:00
|
|
|
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EFENCE,GstEFenceClass))
|
2003-06-22 03:58:04 +00:00
|
|
|
#define GST_IS_EFENCE(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EFENCE))
|
2006-06-01 21:07:26 +00:00
|
|
|
#define GST_IS_EFENCE_CLASS(klass) \
|
2003-06-22 03:58:04 +00:00
|
|
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE))
|
|
|
|
|
2004-03-15 16:32:54 +00:00
|
|
|
typedef struct _GstEFence GstEFence;
|
|
|
|
typedef struct _GstEFenceClass GstEFenceClass;
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2004-03-15 16:32:54 +00:00
|
|
|
struct _GstEFence
|
|
|
|
{
|
|
|
|
GstElement element;
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2004-03-15 16:32:54 +00:00
|
|
|
GstPad *sinkpad, *srcpad;
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2004-03-15 16:32:54 +00:00
|
|
|
gboolean fence_top;
|
|
|
|
};
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2004-03-15 16:32:54 +00:00
|
|
|
struct _GstEFenceClass
|
|
|
|
{
|
|
|
|
GstElementClass parent_class;
|
|
|
|
};
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2004-03-15 16:32:54 +00:00
|
|
|
GType gst_gst_efence_get_type (void);
|
2003-06-22 03:58:04 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2004-03-15 16:32:54 +00:00
|
|
|
#endif /* __cplusplus */
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2004-03-15 16:32:54 +00:00
|
|
|
#endif /* __GST_EFENCE_H__ */
|