Package org.freedesktop.gstreamer.video
Class VideoEncoder.VideoEncoderClass
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.VideoEncoder.VideoEncoderClass
- All Implemented Interfaces:
Proxy
- Enclosing class:
VideoEncoder
Subclasses can override any of the available virtual methods or not, as
needed. At minimum
handleFrame
needs to be overridden, and setFormat
and getCaps
are likely needed as well.-
Constructor Summary
ConstructorDescriptionAllocate a new VideoEncoderClass.VideoEncoderClass
(Arena arena) Allocate a new VideoEncoderClass.VideoEncoderClass
(MemorySegment address) Create a VideoEncoderClass 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
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
overrideNegotiate
(Arena arena, Method method) Override virtual methodnegotiate
.void
overrideOpen
(Arena arena, Method method) Override virtual methodopen
.void
overridePrePush
(Arena arena, Method method) Override virtual methodpre_push
.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
-
VideoEncoderClass
Create a VideoEncoderClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
VideoEncoderClass
Allocate a new VideoEncoderClass.- Parameters:
arena
- to control the memory allocation scope
-
VideoEncoderClass
public VideoEncoderClass()Allocate a new VideoEncoderClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideOpen
-
overrideClose
-
overrideStart
-
overrideStop
-
overrideSetFormat
-
overrideHandleFrame
-
overrideReset
-
overrideFinish
-
overridePrePush
-
overrideGetcaps
-
overrideSinkEvent
-
overrideSrcEvent
-
overrideNegotiate
-
overrideDecideAllocation
-
overrideProposeAllocation
-
overrideFlush
-
overrideSinkQuery
-
overrideSrcQuery
-
overrideTransformMeta
-