gst.base.c.types

Undocumented in source.

Public Imports

glib.c.types
public import glib.c.types;
Undocumented in source.
gobject.c.types
public import gobject.c.types;
Undocumented in source.
gstreamer.c.types
public import gstreamer.c.types;
Undocumented in source.

Members

Aliases

BaseParseFrameFlags
alias BaseParseFrameFlags = GstBaseParseFrameFlags
Undocumented in source.
BaseSrcFlags
alias BaseSrcFlags = GstBaseSrcFlags
Undocumented in source.
CollectPadsStateFlags
alias CollectPadsStateFlags = GstCollectPadsStateFlags
Undocumented in source.
GST_BASE_PARSE_FLAG_DRAINING
alias GST_BASE_PARSE_FLAG_DRAINING = BASE_PARSE_FLAG_DRAINING
Undocumented in source.
GST_BASE_PARSE_FLAG_LOST_SYNC
alias GST_BASE_PARSE_FLAG_LOST_SYNC = BASE_PARSE_FLAG_LOST_SYNC
Undocumented in source.
GST_BASE_TRANSFORM_SINK_NAME
alias GST_BASE_TRANSFORM_SINK_NAME = BASE_TRANSFORM_SINK_NAME
Undocumented in source.
GST_BASE_TRANSFORM_SRC_NAME
alias GST_BASE_TRANSFORM_SRC_NAME = BASE_TRANSFORM_SRC_NAME
Undocumented in source.
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 gst_collect_pads_event_default()) 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 gst_pad_event_default()).

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 gst_type_find_helper_get_range() 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 #GstBaseParseFrame.

GstBaseSrcFlags
enum GstBaseSrcFlags

The #GstElement flags that a basesrc element may have.

GstCollectPadsStateFlags
enum GstCollectPadsStateFlags
Undocumented in source.

Manifest constants

BASE_PARSE_FLAG_DRAINING
enum BASE_PARSE_FLAG_DRAINING;
Undocumented in source.
BASE_PARSE_FLAG_LOST_SYNC
enum BASE_PARSE_FLAG_LOST_SYNC;
Undocumented in source.
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

GstAdapter
struct GstAdapter
Undocumented in source.
GstAdapterClass
struct GstAdapterClass
Undocumented in source.
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.
GstAggregatorPadPrivate
struct GstAggregatorPadPrivate
Undocumented in source.
GstAggregatorPrivate
struct GstAggregatorPrivate
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.
GstBaseParsePrivate
struct GstBaseParsePrivate
Undocumented in source.
GstBaseSink
struct GstBaseSink
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.

GstBaseSinkPrivate
struct GstBaseSinkPrivate
Undocumented in source.
GstBaseSrc
struct GstBaseSrc
Undocumented in source.
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.

GstBaseSrcPrivate
struct GstBaseSrcPrivate
Undocumented in source.
GstBaseTransform
struct GstBaseTransform
Undocumented in source.
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.

GstBaseTransformPrivate
struct GstBaseTransformPrivate
Undocumented in source.
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.

GstCollectDataPrivate
struct GstCollectDataPrivate
Undocumented in source.
GstCollectPads
struct GstCollectPads
Undocumented in source.
GstCollectPadsClass
struct GstCollectPadsClass
Undocumented in source.
GstCollectPadsPrivate
struct GstCollectPadsPrivate
Undocumented in source.
GstDataQueue
struct GstDataQueue
Undocumented in source.
GstDataQueueClass
struct GstDataQueueClass
Undocumented in source.
GstDataQueueItem
struct GstDataQueueItem

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

GstDataQueuePrivate
struct GstDataQueuePrivate
Undocumented in source.
GstDataQueueSize
struct GstDataQueueSize

Structure describing the size of a queue.

GstFlowCombiner
struct GstFlowCombiner
Undocumented in source.
GstPushSrc
struct GstPushSrc
Undocumented in source.
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.

GstQueueArray
struct GstQueueArray
Undocumented in source.

Meta