Package ch.bailu.gtk.gst
Klasse MetaInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gst.MetaInfo
- Alle implementierten Schnittstellen:
PointerInterface
The #GstMetaInfo provides information about a specific metadata
structure.
structure.
https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic interfacestatic interface -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringtag identifying the metadata structure and apistatic final Stringfunction for freeing the metadata
SeeMetaInfo.OnMetaFreeFunction.onMetaFreeFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.gst.Buffer)static final Stringfunction for initializing the metadata
SeeMetaInfo.OnMetaInitFunction.onMetaInitFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.gst.Buffer)static final Stringsize of the metadatastatic final Stringstatic final Stringtype identifying the implementor of the api -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic MetaInfoCreates a new structure that needs to be filled before being
registered.static ClassHandlerlongtag identifying the metadata structure and apich.bailu.gtk.gst.JnaMetaInfo.OnMetaFreeFunctionfunction for freeing the metadata
SeeMetaInfo.OnMetaFreeFunction.onMetaFreeFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.gst.Buffer)ch.bailu.gtk.gst.JnaMetaInfo.OnMetaInitFunctionfunction for initializing the metadata
SeeMetaInfo.OnMetaInitFunction.onMetaInitFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.gst.Buffer)longsize of the metadatach.bailu.gtk.gst.JnaMetaInfo.OnMetaTransformFunctionlongtype identifying the implementor of the apibooleanisCustom()register()Registers a new meta.voidsetFieldApi(long api) tag identifying the metadata structure and apivoidsetFieldFreeFunc(MetaInfo.OnMetaFreeFunction free_func) function for freeing the metadata
SeeMetaInfo.OnMetaFreeFunction.onMetaFreeFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.gst.Buffer)voidsetFieldInitFunc(MetaInfo.OnMetaInitFunction init_func) function for initializing the metadata
SeeMetaInfo.OnMetaInitFunction.onMetaInitFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.gst.Buffer)voidsetFieldSize(long size) size of the metadatavoidsetFieldTransformFunc(MetaInfo.OnMetaTransformFunction transform_func) voidsetFieldType(long type) type identifying the implementor of the apiVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
API
tag identifying the metadata structure and api- Siehe auch:
-
TYPE
type identifying the implementor of the api- Siehe auch:
-
SIZE
size of the metadata- Siehe auch:
-
INIT_FUNC
function for initializing the metadata
SeeMetaInfo.OnMetaInitFunction.onMetaInitFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.gst.Buffer)- Siehe auch:
-
FREE_FUNC
function for freeing the metadata
SeeMetaInfo.OnMetaFreeFunction.onMetaFreeFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.gst.Buffer)- Siehe auch:
-
TRANSFORM_FUNC
function for transforming the metadata
SeeMetaInfo.OnMetaTransformFunction.onMetaTransformFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Buffer, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.gst.Buffer, int, ch.bailu.gtk.type.Pointer)- Siehe auch:
-
-
Konstruktordetails
-
MetaInfo
-
-
Methodendetails
-
getClassHandler
-
setFieldApi
public void setFieldApi(long api) tag identifying the metadata structure and api -
getFieldApi
public long getFieldApi()tag identifying the metadata structure and api -
setFieldType
public void setFieldType(long type) type identifying the implementor of the api -
getFieldType
public long getFieldType()type identifying the implementor of the api -
setFieldSize
public void setFieldSize(long size) size of the metadata -
getFieldSize
public long getFieldSize()size of the metadata -
setFieldInitFunc
function for initializing the metadata
SeeMetaInfo.OnMetaInitFunction.onMetaInitFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.gst.Buffer) -
getFieldInitFunc
public ch.bailu.gtk.gst.JnaMetaInfo.OnMetaInitFunction getFieldInitFunc()function for initializing the metadata
SeeMetaInfo.OnMetaInitFunction.onMetaInitFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.gst.Buffer) -
setFieldFreeFunc
function for freeing the metadata
SeeMetaInfo.OnMetaFreeFunction.onMetaFreeFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.gst.Buffer) -
getFieldFreeFunc
public ch.bailu.gtk.gst.JnaMetaInfo.OnMetaFreeFunction getFieldFreeFunc()function for freeing the metadata
SeeMetaInfo.OnMetaFreeFunction.onMetaFreeFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gst.Meta, ch.bailu.gtk.gst.Buffer) -
setFieldTransformFunc
-
getFieldTransformFunc
public ch.bailu.gtk.gst.JnaMetaInfo.OnMetaTransformFunction getFieldTransformFunc() -
isCustom
public boolean isCustom()- Gibt zurück:
- whether @info was registered as a #GstCustomMeta with gst_meta_register_custom()
-
register
Registers a new meta.
Use the structure returned by gst_meta_info_new(), it consumes it and the
structure shouldnt be used after. The one returned by the function can be
kept.- Gibt zurück:
- the registered meta
-
_new
Creates a new structure that needs to be filled before being
registered. This structure should filled and then registered with
gst_meta_info_register().
Example:
```c
const GstMetaInfo *
gst_my_meta_get_info (void)
{
static const GstMetaInfo *meta_info = NULL;
if (g_once_init_enter ((GstMetaInfo **) & meta_info)) {
GstMetaInfo *info = gst_meta_info_new (
gst_my_meta_api_get_type (),
"GstMyMeta",
sizeof (GstMyMeta));
const GstMetaInfo *meta = NULL;
info->init_func = my_meta_init;
info->free_func = my_meta_free;
info->transform_func = my_meta_transform;
info->serialize_func = my_meta_serialize;
info->deserialize_func = my_meta_deserialize;
meta = gst_meta_info_register (info);
g_once_init_leave ((GstMetaInfo **) & meta_info, (GstMetaInfo *) meta);
}
return meta_info;
}
```- Parameter:
api- the type of the #GstMeta APIimpl- the name of the #GstMeta implementationsize- the size of the #GstMeta structure- Gibt zurück:
- a new #GstMetaInfo that needs to be filled
-