Package org.freedesktop.gstreamer.video
Class VideoDecoder.VideoDecoderClass
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.video.VideoDecoder.VideoDecoderClass
- All Implemented Interfaces:
Proxy
- Enclosing class:
VideoDecoder
Subclasses can override any of the available virtual methods or not, as
needed. At minimum
handleFrame
needs to be overridden, and setFormat
and likely as well. If non-packetized input is supported or expected,
parse
needs to be overridden as well.-
Constructor Summary
ConstructorDescriptionAllocate a new VideoDecoderClass.VideoDecoderClass
(Arena arena) Allocate a new VideoDecoderClass.VideoDecoderClass
(MemorySegment address) Create a VideoDecoderClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideClose
(Arena arena, Method method) Override virtual methodclose
.void
overrideDecideAllocation
(Arena arena, Method method) Override virtual methoddecide_allocation
.void
overrideDrain
(Arena arena, Method method) Override virtual methoddrain
.void
overrideFinish
(Arena arena, Method method) Override virtual methodfinish
.void
overrideFlush
(Arena arena, Method method) Override virtual methodflush
.void
overrideGetcaps
(Arena arena, Method method) Override virtual methodgetcaps
.void
overrideHandleFrame
(Arena arena, Method method) Override virtual methodhandle_frame
.void
overrideHandleMissingData
(Arena arena, Method method) Override virtual methodhandle_missing_data
.void
overrideNegotiate
(Arena arena, Method method) Override virtual methodnegotiate
.void
overrideOpen
(Arena arena, Method method) Override virtual methodopen
.void
overrideParse
(Arena arena, Method method) Override virtual methodparse
.void
overrideProposeAllocation
(Arena arena, Method method) Override virtual methodpropose_allocation
.void
overrideReset
(Arena arena, Method method) Override virtual methodreset
.void
overrideSetFormat
(Arena arena, Method method) Override virtual methodset_format
.void
overrideSinkEvent
(Arena arena, Method method) Override virtual methodsink_event
.void
overrideSinkQuery
(Arena arena, Method method) Override virtual methodsink_query
.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
overrideTransformMeta
(Arena arena, Method method) Override virtual methodtransform_meta
.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
-
VideoDecoderClass
Create a VideoDecoderClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
VideoDecoderClass
Allocate a new VideoDecoderClass.- Parameters:
arena
- to control the memory allocation scope
-
VideoDecoderClass
public VideoDecoderClass()Allocate a new VideoDecoderClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideOpen
-
overrideClose
-
overrideStart
-
overrideStop
-
overrideParse
-
overrideSetFormat
-
overrideReset
-
overrideFinish
-
overrideHandleFrame
-
overrideSinkEvent
-
overrideSrcEvent
-
overrideNegotiate
-
overrideDecideAllocation
-
overrideProposeAllocation
-
overrideFlush
-
overrideSinkQuery
-
overrideSrcQuery
-
overrideGetcaps
-
overrideDrain
-
overrideTransformMeta
-
overrideHandleMissingData
-