Package org.freedesktop.gstreamer.base
Class Aggregator.AggregatorClass
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.gobject.InitiallyUnowned.InitiallyUnownedClass
org.freedesktop.gstreamer.gst.GstObject.ObjectClass
org.freedesktop.gstreamer.gst.Element.ElementClass
org.freedesktop.gstreamer.base.Aggregator.AggregatorClass
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
AudioAggregator.AudioAggregatorClass,VideoAggregator.VideoAggregatorClass
- Enclosing class:
Aggregator
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.
It will also take care of event ordering (stream-start, segment, eos).
Basically, a simple implementation will override aggregate, and call
_finish_buffer from inside that function.
- Since:
- 1.14
-
Constructor Summary
ConstructorsConstructorDescriptionAggregatorClass(MemorySegment address) Create a AggregatorClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.voidoverrideAggregate(Arena arena, @Nullable Method method) Override virtual methodaggregate.voidoverrideClip(Arena arena, @Nullable Method method) Override virtual methodclip.voidoverrideCreateNewPad(Arena arena, @Nullable Method method) Override virtual methodcreate_new_pad.voidoverrideDecideAllocation(Arena arena, @Nullable Method method) Override virtual methoddecide_allocation.voidoverrideFinishBuffer(Arena arena, @Nullable Method method) Override virtual methodfinish_buffer.voidoverrideFinishBufferList(Arena arena, @Nullable Method method) Override virtual methodfinish_buffer_list.voidoverrideFixateSrcCaps(Arena arena, @Nullable Method method) Override virtual methodfixate_src_caps.voidoverrideFlush(Arena arena, @Nullable Method method) Override virtual methodflush.voidoverrideGetNextTime(Arena arena, @Nullable Method method) Override virtual methodget_next_time.voidoverrideNegotiate(Arena arena, @Nullable Method method) Override virtual methodnegotiate.voidoverrideNegotiatedSrcCaps(Arena arena, @Nullable Method method) Override virtual methodnegotiated_src_caps.voidoverridePeekNextSample(Arena arena, @Nullable Method method) Override virtual methodpeek_next_sample.voidoverrideProposeAllocation(Arena arena, @Nullable Method method) Override virtual methodpropose_allocation.voidoverrideSinkEvent(Arena arena, @Nullable Method method) Override virtual methodsink_event.voidoverrideSinkEventPreQueue(Arena arena, @Nullable Method method) Override virtual methodsink_event_pre_queue.voidoverrideSinkQuery(Arena arena, @Nullable Method method) Override virtual methodsink_query.voidoverrideSinkQueryPreQueue(Arena arena, @Nullable Method method) Override virtual methodsink_query_pre_queue.voidoverrideSrcActivate(Arena arena, @Nullable Method method) Override virtual methodsrc_activate.voidoverrideSrcEvent(Arena arena, @Nullable Method method) Override virtual methodsrc_event.voidoverrideSrcQuery(Arena arena, @Nullable Method method) Override virtual methodsrc_query.voidoverrideStart(Arena arena, @Nullable Method method) Override virtual methodstart.voidoverrideStop(Arena arena, @Nullable Method method) Override virtual methodstop.voidoverrideUpdateSrcCaps(Arena arena, @Nullable Method method) Override virtual methodupdate_src_caps.Methods inherited from class org.freedesktop.gstreamer.gst.Element.ElementClass
addMetadata, addPadTemplate, addStaticMetadata, addStaticPadTemplate, addStaticPadTemplateWithGtype, getMetadata, getPadTemplate, getPadTemplateList, overrideChangeState, overrideGetState, overrideNoMorePads, overridePadAdded, overridePadRemoved, overridePostMessage, overrideProvideClock, overrideQuery, overrideReleasePad, overrideRequestNewPad, overrideSendEvent, overrideSetBus, overrideSetClock, overrideSetContext, overrideSetState, overrideStateChanged, readElementfactory, readMetadata, readNumpadtemplates, readPadtemplates, readPadTemplCookie, setMetadata, setStaticMetadata, writeElementfactory, writeMetadata, writeNumpadtemplates, writePadtemplates, writePadTemplCookieMethods inherited from class org.freedesktop.gstreamer.gst.GstObject.ObjectClass
overrideDeepNotify, readPathStringSeparator, writePathStringSeparatorMethods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readConstructProperties, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeConstructProperties, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecsMethods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, get, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGTypeMethods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
AggregatorClass
Create a AggregatorClass proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideFlush
-
overrideClip
-
overrideFinishBuffer
-
overrideSinkEvent
-
overrideSinkQuery
-
overrideSrcEvent
-
overrideSrcQuery
-
overrideSrcActivate
-
overrideAggregate
-
overrideStop
-
overrideStart
-
overrideGetNextTime
-
overrideCreateNewPad
-
overrideUpdateSrcCaps
-
overrideFixateSrcCaps
-
overrideNegotiatedSrcCaps
-
overrideDecideAllocation
-
overrideProposeAllocation
-
overrideNegotiate
-
overrideSinkEventPreQueue
-
overrideSinkQueryPreQueue
-
overrideFinishBufferList
-
overridePeekNextSample
-