Functions
GST_META_FLAGS()
#define GST_META_FLAGS(meta) (GST_META_CAST (meta)->flags)
GST_META_FLAG_IS_SET()
#define GST_META_FLAG_IS_SET(meta,flag) !!(GST_META_FLAGS (meta) & (flag))
GST_META_FLAG_SET()
#define GST_META_FLAG_SET(meta,flag) (GST_META_FLAGS (meta) |= (flag))
GST_META_FLAG_UNSET()
#define GST_META_FLAG_UNSET(meta,flag) (GST_META_FLAGS (meta) &= ~(flag))
GstMetaFreeFunction ()
void
(*GstMetaFreeFunction) (GstMeta *meta
,
GstBuffer *buffer
);
GST_META_TRANSFORM_IS_COPY()
#define GST_META_TRANSFORM_IS_COPY(type) ((type) == _gst_meta_transform_copy)
gst_meta_api_type_register ()
GType
gst_meta_api_type_register (const gchar *api
,
const gchar **tags
);
gst_meta_api_type_get_tags ()
const gchar * const*
gst_meta_api_type_get_tags (GType api
);
Types and Values
struct GstMeta
struct GstMeta {
GstMetaFlags flags;
const GstMetaInfo *info;
};
struct GstMetaInfo
struct GstMetaInfo {
GType api;
GType type;
gsize size;
GstMetaInitFunction init_func;
GstMetaFreeFunction free_func;
GstMetaTransformFunction transform_func;
};
GstMetaTransformCopy
typedef struct {
gboolean region;
gsize offset;
gsize size;
} GstMetaTransformCopy;
GST_META_TAG_MEMORY
#define GST_META_TAG_MEMORY (_gst_meta_tag_memory)
GST_META_TAG_MEMORY
is deprecated and should not be used in newly-written code.
GST_META_TAG_MEMORY_STR
#define GST_META_TAG_MEMORY_STR "memory"