Package org.freedesktop.gstreamer.base
Class BaseTransform.BaseTransformClass
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.BaseTransform.BaseTransformClass
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
AudioFilter.AudioFilterClass
,VideoFilter.VideoFilterClass
- Enclosing class:
BaseTransform
Subclasses can override any of the available virtual methods or not, as
needed. At minimum either
transform
or transformIp
need to be overridden.
If the element can overwrite the input data with the results (data is of the
same type and quantity) it should provide transformIp
.-
Constructor Summary
ConstructorDescriptionAllocate a new BaseTransformClass.BaseTransformClass
(Arena arena) Allocate a new BaseTransformClass.BaseTransformClass
(MemorySegment address) Create a BaseTransformClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideAcceptCaps
(Arena arena, Method method) Override virtual methodaccept_caps
.void
overrideBeforeTransform
(Arena arena, Method method) Override virtual methodbefore_transform
.void
overrideCopyMetadata
(Arena arena, Method method) Override virtual methodcopy_metadata
.void
overrideDecideAllocation
(Arena arena, Method method) Override virtual methoddecide_allocation
.void
overrideFilterMeta
(Arena arena, Method method) Override virtual methodfilter_meta
.void
overrideFixateCaps
(Arena arena, Method method) Override virtual methodfixate_caps
.void
overrideGenerateOutput
(Arena arena, Method method) Override virtual methodgenerate_output
.void
overrideGetUnitSize
(Arena arena, Method method) Override virtual methodget_unit_size
.void
overridePrepareOutputBuffer
(Arena arena, Method method) Override virtual methodprepare_output_buffer
.void
overrideProposeAllocation
(Arena arena, Method method) Override virtual methodpropose_allocation
.void
overrideQuery
(Arena arena, Method method) Override virtual methodquery
.void
overrideSetCaps
(Arena arena, Method method) Override virtual methodset_caps
.void
overrideSinkEvent
(Arena arena, Method method) Override virtual methodsink_event
.void
overrideSrcEvent
(Arena arena, Method method) Override virtual methodsrc_event
.void
overrideStart
(Arena arena, Method method) Override virtual methodstart
.void
overrideStop
(Arena arena, Method method) Override virtual methodstop
.void
overrideSubmitInputBuffer
(Arena arena, Method method) Override virtual methodsubmit_input_buffer
.void
overrideTransform
(Arena arena, Method method) Override virtual methodtransform
.void
overrideTransformCaps
(Arena arena, Method method) Override virtual methodtransform_caps
.void
overrideTransformIp
(Arena arena, Method method) Override virtual methodtransform_ip
.void
overrideTransformMeta
(Arena arena, Method method) Override virtual methodtransform_meta
.void
overrideTransformSize
(Arena arena, Method method) Override virtual methodtransform_size
.boolean
Read the value of the fieldpassthrough_on_same_caps
.boolean
Read the value of the fieldtransform_ip_on_passthrough
.void
writePassthroughOnSameCaps
(boolean passthroughOnSameCaps) Write a value in the fieldpassthrough_on_same_caps
.void
writeTransformIpOnPassthrough
(boolean transformIpOnPassthrough) Write a value in the fieldtransform_ip_on_passthrough
.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
-
BaseTransformClass
Create a BaseTransformClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
BaseTransformClass
Allocate a new BaseTransformClass.- Parameters:
arena
- to control the memory allocation scope
-
BaseTransformClass
public BaseTransformClass()Allocate a new BaseTransformClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readPassthroughOnSameCaps
public boolean readPassthroughOnSameCaps()Read the value of the fieldpassthrough_on_same_caps
.- Returns:
- The value of the field
passthrough_on_same_caps
-
writePassthroughOnSameCaps
public void writePassthroughOnSameCaps(boolean passthroughOnSameCaps) Write a value in the fieldpassthrough_on_same_caps
.- Parameters:
passthroughOnSameCaps
- The new value for the fieldpassthrough_on_same_caps
-
readTransformIpOnPassthrough
public boolean readTransformIpOnPassthrough()Read the value of the fieldtransform_ip_on_passthrough
.- Returns:
- The value of the field
transform_ip_on_passthrough
-
writeTransformIpOnPassthrough
public void writeTransformIpOnPassthrough(boolean transformIpOnPassthrough) Write a value in the fieldtransform_ip_on_passthrough
.- Parameters:
transformIpOnPassthrough
- The new value for the fieldtransform_ip_on_passthrough
-
overrideTransformCaps
-
overrideFixateCaps
-
overrideAcceptCaps
-
overrideSetCaps
-
overrideQuery
Override virtual methodquery
.- Overrides:
overrideQuery
in classElement.ElementClass
- Parameters:
method
- the method to invoke
-
overrideDecideAllocation
-
overrideFilterMeta
-
overrideProposeAllocation
-
overrideTransformSize
-
overrideGetUnitSize
-
overrideStart
-
overrideStop
-
overrideSinkEvent
-
overrideSrcEvent
-
overridePrepareOutputBuffer
-
overrideCopyMetadata
-
overrideTransformMeta
-
overrideBeforeTransform
-
overrideTransform
-
overrideTransformIp
-
overrideSubmitInputBuffer
-
overrideGenerateOutput
-