gst.base.c.types

Undocumented in source.

Public Imports

glib.c.types
public import glib.c.types;
gobject.c.types
public import gobject.c.types;
gstreamer.c.types
public import gstreamer.c.types;

Members

Aliases

GstCollectDataDestroyNotify
alias GstCollectDataDestroyNotify = void function(GstCollectData* data)

A function that will be called when the GstCollectData will be freed. It is passed the pointer to the structure and should free any custom memory and resources allocated for it.

GstCollectPadsBufferFunction
alias GstCollectPadsBufferFunction = GstFlowReturn function(GstCollectPads* pads, GstCollectData* data, GstBuffer* buffer, void* userData)

A function that will be called when a (considered oldest) buffer can be muxed. If all pads have reached EOS, this function is called with NULL buffer and NULL data.

GstCollectPadsClipFunction
alias GstCollectPadsClipFunction = GstFlowReturn function(GstCollectPads* pads, GstCollectData* data, GstBuffer* inbuffer, GstBuffer** outbuffer, void* userData)

A function that will be called when inbuffer is received on the pad managed by data in the collectpad object pads.

GstCollectPadsCompareFunction
alias GstCollectPadsCompareFunction = int function(GstCollectPads* pads, GstCollectData* data1, GstClockTime timestamp1, GstCollectData* data2, GstClockTime timestamp2, void* userData)

A function for comparing two timestamps of buffers or newsegments collected on one pad.

GstCollectPadsEventFunction
alias GstCollectPadsEventFunction = int function(GstCollectPads* pads, GstCollectData* pad, GstEvent* event, void* userData)

A function that will be called while processing an event. It takes ownership of the event and is responsible for chaining up (to CollectPads.eventDefault) or dropping events (such typical cases being handled by the default handler).

GstCollectPadsFlushFunction
alias GstCollectPadsFlushFunction = void function(GstCollectPads* pads, void* userData)

A function that will be called while processing a flushing seek event.

GstCollectPadsFunction
alias GstCollectPadsFunction = GstFlowReturn function(GstCollectPads* pads, void* userData)

A function that will be called when all pads have received data.

GstCollectPadsQueryFunction
alias GstCollectPadsQueryFunction = int function(GstCollectPads* pads, GstCollectData* pad, GstQuery* query, void* userData)

A function that will be called while processing a query. It takes ownership of the query and is responsible for chaining up (to events downstream (with Pad.eventDefault).

GstDataQueueCheckFullFunction
alias GstDataQueueCheckFullFunction = int function(GstDataQueue* queue, uint visible, uint bytes, ulong time, void* checkdata)

The prototype of the function used to inform the queue that it should be considered as full.

GstDataQueueEmptyCallback
alias GstDataQueueEmptyCallback = void function(GstDataQueue* queue, void* checkdata)
GstDataQueueFullCallback
alias GstDataQueueFullCallback = void function(GstDataQueue* queue, void* checkdata)
GstTypeFindHelperGetRangeFunction
alias GstTypeFindHelperGetRangeFunction = GstFlowReturn function(GstObject* obj, GstObject* parent, ulong offset, uint length, GstBuffer** buffer)

This function will be called by TypeFind.helperGetRange when typefinding functions request to peek at the data of a stream at certain offsets. If this function returns GST_FLOW_OK, the result buffer will be stored in buffer. The contents of buffer is invalid for any other return value.

Enums

GstBaseParseFrameFlags
enum GstBaseParseFrameFlags

Flags to be used in a gst.BaseParseFrame.BaseParseFrame

GstBaseSrcFlags
enum GstBaseSrcFlags

The gstreamer.Element flags that a basesrc element may have.

Manifest constants

BASE_TRANSFORM_SINK_NAME
enum BASE_TRANSFORM_SINK_NAME;

The name of the templates for the sink pad.

BASE_TRANSFORM_SRC_NAME
enum BASE_TRANSFORM_SRC_NAME;

The name of the templates for the source pad.

Structs

GstAggregator
struct GstAggregator

Undocumented in source.

GstAggregatorClass
struct GstAggregatorClass

The aggregator base class will handle in a thread-safe way all manners of concurrent flushes, seeks, pad additions and removals, leaving to the subclass the responsibility of clipping buffers, and aggregating buffers in the way the implementor sees fit.

GstAggregatorPad
struct GstAggregatorPad

Undocumented in source.

GstAggregatorPadClass
struct GstAggregatorPadClass

Undocumented in source.

GstBaseParse
struct GstBaseParse

Undocumented in source.

GstBaseParseClass
struct GstBaseParseClass

Subclasses can override any of the available virtual methods or not, as needed. At minimum handle_frame needs to be overridden.

GstBaseParseFrame
struct GstBaseParseFrame

Undocumented in source.

GstBaseSinkClass
struct GstBaseSinkClass

Subclasses can override any of the available virtual methods or not, as needed. At the minimum, the render method should be overridden to output/present buffers.

GstBaseSrcClass
struct GstBaseSrcClass

Subclasses can override any of the available virtual methods or not, as needed. At the minimum, the create method should be overridden to produce buffers.

GstBaseTransformClass
struct GstBaseTransformClass

Subclasses can override any of the available virtual methods or not, as needed. At minimum either transform or transform_ip need to be overridden. If the element can overwrite the input data with the results (data is of the same type and quantity) it should provide transform_ip.

GstBitReader
struct GstBitReader

Undocumented in source.

GstBitWriter
struct GstBitWriter

Undocumented in source.

GstByteReader
struct GstByteReader

Undocumented in source.

GstByteWriter
struct GstByteWriter

Undocumented in source.

GstCollectData
struct GstCollectData

Structure used by the collect_pads.

GstCollectPads
struct GstCollectPads

Undocumented in source.

GstDataQueue
struct GstDataQueue

Undocumented in source.

GstDataQueueClass
struct GstDataQueueClass

Undocumented in source.

GstDataQueueItem
struct GstDataQueueItem

Structure used by gst.DataQueue.DataQueue You can supply a different structure, as long as the top of the structure is identical to this structure.

GstDataQueueSize
struct GstDataQueueSize

Structure describing the size of a queue.

GstPushSrcClass
struct GstPushSrcClass

Subclasses can override any of the available virtual methods or not, as needed. At the minimum, the fill method should be overridden to produce buffers.