Package org.freedesktop.gstreamer.base
Class Aggregator.AggregatorClass
java.lang.Object
io.github.jwharm.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.
-
Constructor Summary
ConstructorDescriptionAllocate a new AggregatorClass.AggregatorClass
(Arena arena) Allocate a new AggregatorClass.AggregatorClass
(MemorySegment address) Create a AggregatorClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideAggregate
(Arena arena, Method method) Override virtual methodaggregate
.void
overrideClip
(Arena arena, Method method) Override virtual methodclip
.void
overrideCreateNewPad
(Arena arena, Method method) Override virtual methodcreate_new_pad
.void
overrideDecideAllocation
(Arena arena, Method method) Override virtual methoddecide_allocation
.void
overrideFinishBuffer
(Arena arena, Method method) Override virtual methodfinish_buffer
.void
overrideFinishBufferList
(Arena arena, Method method) Override virtual methodfinish_buffer_list
.void
overrideFixateSrcCaps
(Arena arena, Method method) Override virtual methodfixate_src_caps
.void
overrideFlush
(Arena arena, Method method) Override virtual methodflush
.void
overrideGetNextTime
(Arena arena, Method method) Override virtual methodget_next_time
.void
overrideNegotiate
(Arena arena, Method method) Override virtual methodnegotiate
.void
overrideNegotiatedSrcCaps
(Arena arena, Method method) Override virtual methodnegotiated_src_caps
.void
overridePeekNextSample
(Arena arena, Method method) Override virtual methodpeek_next_sample
.void
overrideProposeAllocation
(Arena arena, Method method) Override virtual methodpropose_allocation
.void
overrideSinkEvent
(Arena arena, Method method) Override virtual methodsink_event
.void
overrideSinkEventPreQueue
(Arena arena, Method method) Override virtual methodsink_event_pre_queue
.void
overrideSinkQuery
(Arena arena, Method method) Override virtual methodsink_query
.void
overrideSinkQueryPreQueue
(Arena arena, Method method) Override virtual methodsink_query_pre_queue
.void
overrideSrcActivate
(Arena arena, Method method) Override virtual methodsrc_activate
.void
overrideSrcEvent
(Arena arena, Method method) Override virtual methodsrc_event
.void
overrideSrcQuery
(Arena arena, Method method) Override virtual methodsrc_query
.void
overrideStart
(Arena arena, Method method) Override virtual methodstart
.void
overrideStop
(Arena arena, Method method) Override virtual methodstop
.void
overrideUpdateSrcCaps
(Arena arena, 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, readPadTemplCookie, setMetadata, setStaticMetadata, writeElementfactory, writeMetadata, writeNumpadtemplates, writePadTemplCookie
Methods inherited from class org.freedesktop.gstreamer.gst.GstObject.ObjectClass
overrideDeepNotify, readPathStringSeparator, writePathStringSeparator
Methods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecs
Methods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGType
Methods inherited from class io.github.jwharm.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
-
AggregatorClass
Allocate a new AggregatorClass.- Parameters:
arena
- to control the memory allocation scope
-
AggregatorClass
public AggregatorClass()Allocate a new AggregatorClass. The memory is allocated withArena.ofAuto()
.
-
-
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
-