Package org.freedesktop.gstreamer.base
package org.freedesktop.gstreamer.base
Provides some GStreamer base classes to be extended by elements and utility classes that are most useful for plugin developers
The following native libraries are required and will be loaded: libgstbase-1.0.0
For namespace-global declarations, refer to the GstBase
class documentation.
Gsttypefindhelper
Utility functions for elements doing typefinding: gst_type_find_helper() does typefinding in pull mode, while gst_type_find_helper_for_buffer() is useful for elements needing to do typefinding in push mode from a chain function.-
ClassDescriptionThis class is for elements that receive buffers in an undesired size.Adapter.Builder<B extends Adapter.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Manages a set of pads with the purpose of aggregating their buffers.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.The AggregatorImpl type represents a native instance of the abstract Aggregator class.Aggregator.Builder<B extends Aggregator.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of the
SamplesSelectedCallback
callback.Pads managed by aGstAggregator
subclass.Functional interface declaration of theBufferConsumedCallback
callback.AggregatorPad.Builder<B extends AggregatorPad.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.This base class is for parser elements that process data and splits it into separate audio/video/whatever frames.Subclasses can override any of the available virtual methods or not, as needed.The BaseParseImpl type represents a native instance of the abstract BaseParse class.BaseParse.Builder<B extends BaseParse.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Frame (context) data passed to each frame parsing virtual methods.Flags to be used in aGstBaseParseFrame
.GstBaseSink
is the base class for sink elements in GStreamer, such as xvimagesink or filesink.Subclasses can override any of the available virtual methods or not, as needed.The BaseSinkImpl type represents a native instance of the abstract BaseSink class.BaseSink.Builder<B extends BaseSink.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.This is a generic base class for source elements.Subclasses can override any of the available virtual methods or not, as needed.The BaseSrcImpl type represents a native instance of the abstract BaseSrc class.BaseSrc.Builder<B extends BaseSrc.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.TheGstElement
flags that a basesrc element may have.This base class is for filter elements that process data.Subclasses can override any of the available virtual methods or not, as needed.The BaseTransformImpl type represents a native instance of the abstract BaseTransform class.BaseTransform.Builder<B extends BaseTransform.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.GstBitReader
provides a bit reader that can read any number of bits from a memory buffer.GstBitWriter
provides a bit writer that can write any number of bits into a memory buffer.GstByteReader
provides a byte reader that can read different integer and floating point types from a memory buffer.GstByteWriter
provides a byte writer and reader that can write/read different integer and floating point types to/from a memory buffer.Structure used by the collect_pads.Functional interface declaration of theCollectDataDestroyNotify
callback.Manages a set of pads that operate in collect mode.CollectPads.Builder<B extends CollectPads.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theCollectPadsBufferFunction
callback.Functional interface declaration of theCollectPadsClipFunction
callback.Functional interface declaration of theCollectPadsCompareFunction
callback.Functional interface declaration of theCollectPadsEventFunction
callback.Functional interface declaration of theCollectPadsFlushFunction
callback.Functional interface declaration of theCollectPadsFunction
callback.Functional interface declaration of theCollectPadsQueryFunction
callback.GstDataQueue
is an object that handles threadsafe queueing of objects.DataQueue.Builder<B extends DataQueue.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theEmptyCallback
callback.Functional interface declaration of theFullCallback
callback.Functional interface declaration of theDataQueueCheckFullFunction
callback.Functional interface declaration of theDataQueueEmptyCallback
callback.Functional interface declaration of theDataQueueFullCallback
callback.Structure used byGstDataQueue
.Structure describing the size of a queue.Utility struct to help handlingGstFlowReturn
combination.Constants and functions that are declared in the global GstBase namespace.This class is mostly useful for elements that cannot do random access, or at least very slowly.PushSrc.Builder<B extends PushSrc.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Subclasses can override any of the available virtual methods or not, as needed.GstQueueArray
is an object that provides standard queue functionality based on an array instead of linked lists.The opaqueGstTypeFindData
structure.Functional interface declaration of theTypeFindHelperGetRangeFunction
callback.