Gst.Base
Description:
Content:
Classes:
- Adapter - This class is for elements that receive buffers in an undesired size.
- Aggregator - Manages a set of pads with the purpose of aggregating their buffers.
- AggregatorPad - Pads managed by a Aggregator subclass.
- BitReader - BitReader provides a bit reader that can read any number of bits from a memory buffer.
- ByteReader - ByteReader provides a byte reader that can read different integer and floating point types from a memory buffer.
- ByteWriter - ByteWriter provides a byte writer and reader that can write/read different integer and floating point types to/from a memory buffer.
- CollectPads - Manages a set of pads that operate in collect mode.
- DataQueue - DataQueue is an object that handles threadsafe queueing of objects.
- FlowCombiner - Utility struct to help handling FlowReturn combination.
- Parse - This base class is for parser elements that process data and splits it into separate audio/video/whatever frames.
- ParseFrame - Frame (context) data passed to each frame parsing virtual methods.
- PushSrc - This class is mostly useful for elements that cannot do random access, or at least very slowly.
- Sink - Sink is the base class for sink elements in GStreamer, such as xvimagesink or filesink.
- Src - This is a generic base class for source elements.
- Transform - This base class is for filter elements that process data.
- TypeFindData - The opaque TypeFindData structure.
Structs:
- BitWriter - BitWriter provides a bit writer that can write any number of bits into a memory buffer.
- CollectData - Structure used by the collect_pads.
Enums:
- AggregatorStartTimeSelection
- CollectPadsStateFlags
- ParseFrameFlags - Flags to be used in a ParseFrame.
- SrcFlags - The Element flags that a basesrc element may have.
Constants:
- public const int PARSE_FLAG_DRAINING
- public const int PARSE_FLAG_LOST_SYNC
- public const string TRANSFORM_SINK_NAME
The name of the templates for the sink pad.
- public const string TRANSFORM_SRC_NAME
The name of the templates for the source pad.
Delegates:
- public delegate void CollectDataDestroyNotify (CollectData data)
A function that will be called when the CollectData will be freed.
- public delegate FlowReturn CollectPadsBufferFunction (CollectPads pads, CollectData data, owned Buffer buffer)
A function that will be called when a (considered oldest) buffer can be muxed.
- public delegate FlowReturn CollectPadsClipFunction (CollectPads pads, CollectData data, owned Buffer inbuffer, out Buffer outbuffer)
A function that will be called when
inbuffer
is received on the pad managed bydata
in the collectpad objectpads
. - public delegate int CollectPadsCompareFunction (CollectPads pads, CollectData data1, ClockTime timestamp1, CollectData data2, ClockTime timestamp2)
A function for comparing two timestamps of buffers or newsegments collected on one pad.
- public delegate bool CollectPadsEventFunction (CollectPads pads, CollectData pad, Event event)
A function that will be called while processing an event.
- public delegate void CollectPadsFlushFunction (CollectPads pads)
A function that will be called while processing a flushing seek event.
- public delegate FlowReturn CollectPadsFunction (CollectPads pads)
A function that will be called when all pads have received data.
- public delegate bool CollectPadsQueryFunction (CollectPads pads, CollectData pad, Query query)
A function that will be called while processing a query.
- public delegate void DataQueueEmptyCallback (DataQueue queue, void* checkdata)
- public delegate void DataQueueFullCallback (DataQueue queue, void* checkdata)
- public delegate FlowReturn TypeFindHelperGetRangeFunction (Object obj, Object? parent, uint64 offset, uint length, out Buffer buffer)
This function will be called by type_find_helper_get_range when typefinding functions request to peek at the data of a stream at certain offsets.
Functions:
- public Caps? type_find_helper (Pad src, uint64 size)
Tries to find what type of data is flowing from the given source Pad.
- public Caps? type_find_helper_for_buffer (Object? obj, Buffer buf, out TypeFindProbability prob)
Tries to find what type of data is contained in the given Buffer, the assumption being that the buffer represents the beginning of the stream or file.
- public Caps? type_find_helper_for_buffer_with_caps (Object? obj, Buffer buf, Caps caps, out TypeFindProbability prob)
Tries to find if type of media contained in the given Buffer, matches
caps
specified, assumption being that the buffer represents the beginning of the stream or file. - public Caps? type_find_helper_for_buffer_with_extension (Object? obj, Buffer buf, string? extension, out TypeFindProbability prob)
Tries to find what type of data is contained in the given Buffer, the assumption being that the buffer represents the beginning of the stream or file.
- public Caps? type_find_helper_for_data (Object? obj, uint8[] data, out TypeFindProbability prob)
Tries to find what type of data is contained in the given
data
, the assumption being that the data represents the beginning of the stream or file. - public Caps? type_find_helper_for_data_with_caps (Object? obj, uint8[] data, Caps caps, out TypeFindProbability prob)
Tries to find if type of media contained in the given
data
, matches thecaps
specified, assumption being that the data represents the beginning of the stream or file. - public Caps? type_find_helper_for_data_with_extension (Object? obj, uint8[] data, string? extension, out TypeFindProbability prob)
Tries to find what type of data is contained in the given
data
, the assumption being that the data represents the beginning of the stream or file. - public Caps? type_find_helper_for_extension (Object? obj, string extension)
Tries to find the best Caps associated with
extension
. - public Caps? type_find_helper_get_range (Object obj, Object? parent, TypeFindHelperGetRangeFunction func, uint64 size, string? extension, out TypeFindProbability prob)
Utility function to do pull-based typefinding.
- public FlowReturn type_find_helper_get_range_full (Object obj, Object? parent, TypeFindHelperGetRangeFunction func, uint64 size, string? extension, out Caps caps, out TypeFindProbability prob)
Utility function to do pull-based typefinding.
- public List<TypeFindFactory>? type_find_list_factories_for_caps (Object? obj, Caps caps)
Tries to find the best TypeFindFactory associated with
caps
.