Package org.freedesktop.gstreamer.base
Class BaseSink.BaseSinkClass
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.BaseSink.BaseSinkClass
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
AudioBaseSink.AudioBaseSinkClass
,VideoSink.VideoSinkClass
- Enclosing class:
BaseSink
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.-
Constructor Summary
ConstructorDescriptionAllocate a new BaseSinkClass.BaseSinkClass
(Arena arena) Allocate a new BaseSinkClass.BaseSinkClass
(MemorySegment address) Create a BaseSinkClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideActivatePull
(Arena arena, Method method) Override virtual methodactivate_pull
.void
overrideEvent
(Arena arena, Method method) Override virtual methodevent
.void
overrideFixate
(Arena arena, Method method) Override virtual methodfixate
.void
overrideGetCaps
(Arena arena, Method method) Override virtual methodget_caps
.void
overrideGetTimes
(Arena arena, Method method) Override virtual methodget_times
.void
overridePrepare
(Arena arena, Method method) Override virtual methodprepare
.void
overridePrepareList
(Arena arena, Method method) Override virtual methodprepare_list
.void
overridePreroll
(Arena arena, Method method) Override virtual methodpreroll
.void
overrideProposeAllocation
(Arena arena, Method method) Override virtual methodpropose_allocation
.void
overrideQuery
(Arena arena, Method method) Override virtual methodquery
.void
overrideRender
(Arena arena, Method method) Override virtual methodrender
.void
overrideRenderList
(Arena arena, Method method) Override virtual methodrender_list
.void
overrideSetCaps
(Arena arena, Method method) Override virtual methodset_caps
.void
overrideStart
(Arena arena, Method method) Override virtual methodstart
.void
overrideStop
(Arena arena, Method method) Override virtual methodstop
.void
overrideUnlock
(Arena arena, Method method) Override virtual methodunlock
.void
overrideUnlockStop
(Arena arena, Method method) Override virtual methodunlock_stop
.void
overrideWaitEvent
(Arena arena, Method method) Override virtual methodwait_event
.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, 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
-
BaseSinkClass
Create a BaseSinkClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
BaseSinkClass
Allocate a new BaseSinkClass.- Parameters:
arena
- to control the memory allocation scope
-
BaseSinkClass
public BaseSinkClass()Allocate a new BaseSinkClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideGetCaps
-
overrideSetCaps
-
overrideFixate
-
overrideActivatePull
-
overrideGetTimes
-
overrideProposeAllocation
-
overrideStart
-
overrideStop
-
overrideUnlock
-
overrideUnlockStop
-
overrideQuery
Override virtual methodquery
.- Overrides:
overrideQuery
in classElement.ElementClass
- Parameters:
method
- the method to invoke
-
overrideEvent
-
overrideWaitEvent
-
overridePrepare
-
overridePrepareList
-
overridePreroll
-
overrideRender
-
overrideRenderList
-