Package ch.bailu.gtk.gst
Klasse Sample
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gst.Sample
- Alle implementierten Schnittstellen:
PointerInterface
A #GstSample is a small object containing data, a type, timing and
extra arbitrary information.
extra arbitrary information.
https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html
-
Feldübersicht
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the buffer associated with @sampleGet the buffer list associated with @samplegetCaps()Get the caps associated with @samplestatic ClassHandlergetInfo()Get extra information associated with @sample.static intstatic longstatic TypeSystem.TypeSizeGet the segment associated with @samplestatic longstatic TypeSystem.TypeSizevoidSet the buffer associated with @sample.voidsetBufferList(BufferList buffer_list) Set the buffer list associated with @sample.voidSet the caps associated with @sample.booleanSet the info structure associated with @sample.voidsetSegment(Segment segment) Set the segment associated with @sample.Von 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
-
Konstruktordetails
-
Sample
-
Sample
public Sample(@Nullable Buffer buffer, @Nullable Caps caps, @Nullable Segment segment, @Nullable Structure info) Create a new #GstSample with the provided details.
Free-function: gst_sample_unref- Parameter:
buffer- a #GstBuffer, or %NULLcaps- a #GstCaps, or %NULLsegment- a #GstSegment, or %NULLinfo- a #GstStructure, or %NULL
-
-
Methodendetails
-
getClassHandler
-
getBuffer
Get the buffer associated with @sample- Gibt zurück:
- the buffer of @sample or %NULL when there is no buffer. The buffer remains valid as long as @sample is valid. If you need to hold on to it for longer than that, take a ref to the buffer with gst_buffer_ref().
-
getBufferList
Get the buffer list associated with @sample- Gibt zurück:
- the buffer list of @sample or %NULL when there is no buffer list. The buffer list remains valid as long as @sample is valid. If you need to hold on to it for longer than that, take a ref to the buffer list with gst_mini_object_ref ().
-
getCaps
Get the caps associated with @sample- Gibt zurück:
- the caps of @sample or %NULL when there is no caps. The caps remain valid as long as @sample is valid. If you need to hold on to the caps for longer than that, take a ref to the caps with gst_caps_ref().
-
getInfo
Get extra information associated with @sample.- Gibt zurück:
- the extra info of @sample. The info remains valid as long as @sample is valid.
-
getSegment
Get the segment associated with @sample- Gibt zurück:
- the segment of @sample. The segment remains valid as long as @sample is valid.
-
setBuffer
Set the buffer associated with @sample. @sample must be writable.- Parameter:
buffer- A #GstBuffer
-
setBufferList
Set the buffer list associated with @sample. @sample must be writable.- Parameter:
buffer_list- a #GstBufferList
-
setCaps
Set the caps associated with @sample. @sample must be writable.- Parameter:
caps- A #GstCaps
-
setInfo
Set the info structure associated with @sample. @sample must be writable,
and @info must not have a parent set already.- Parameter:
info- A #GstStructure- Gibt zurück:
-
setSegment
Set the segment associated with @sample. @sample must be writable.- Parameter:
segment- A #GstSegment
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-