Class ProxyPad
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
GhostPad
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProxyPad.Builder<B extends ProxyPad.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.static classNested classes/interfaces inherited from class Pad
Pad.LinkedCallback, Pad.PadClass, Pad.UnlinkedCallbackNested classes/interfaces inherited from class GstObject
GstObject.DeepNotifyCallback, GstObject.Object$Impl, GstObject.ObjectClassNested classes/interfaces inherited from class InitiallyUnowned
InitiallyUnowned.InitiallyUnownedClassNested classes/interfaces inherited from class GObject
GObject.NotifyCallback -
Constructor Summary
ConstructorsConstructorDescriptionProxyPad()Create a new ProxyPad.ProxyPad(MemorySegment address) Create a ProxyPad instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionprotected ProxyPadasParent()Return this instance as if it were its parent type.static ProxyPad.Builder<? extends ProxyPad.Builder> builder()AProxyPad.Builderobject constructs aProxyPadwith the specified properties.static FlowReturnchainDefault(Pad pad, @Nullable GstObject parent, Buffer buffer) Invoke the default chain function of the proxy pad.static FlowReturnchainListDefault(Pad pad, @Nullable GstObject parent, BufferList list) Invoke the default chain list function of the proxy pad.@Nullable ProxyPadGet the internal pad ofpad.Unref target pad after usage.static MemoryLayoutThe memory layout of the native struct.static FlowReturngetrangeDefault(Pad pad, GstObject parent, long offset, int size, Out<Buffer> buffer) Invoke the default getrange function of the proxy pad.static @Nullable TypegetType()Get the GType of the ProxyPad class.static @Nullable IteratoriterateInternalLinksDefault(Pad pad, @Nullable GstObject parent) Invoke the default iterate internal links function of the proxy pad.Methods inherited from class Pad
activateMode, addProbe, addProbe, canLink, chain, chainList, checkReconfigure, createStreamId, createStreamIdPrintf, emitLinked, emitUnlinked, eventDefault, forward, fromStaticTemplate, fromTemplate, getAllowedCaps, getCurrentCaps, getDirection, getElementPrivate, getLastFlowReturn, getOffset, getPadTemplate, getPadTemplateCaps, getParentElement, getPeer, getRange, getSingleInternalLink, getStickyEvent, getStream, getStreamId, getTaskState, hasCurrentCaps, isActive, isBlocked, isBlocking, isLinked, iterateInternalLinks, iterateInternalLinksDefault, link, linked, linkFull, linkFull, linkGetName, linkMaybeGhosting, linkMaybeGhostingFull, linkMaybeGhostingFull, markReconfigure, needsReconfigure, onLinked, onUnlinked, pauseTask, peerQuery, peerQueryAcceptCaps, peerQueryCaps, peerQueryConvert, peerQueryDuration, peerQueryPosition, proxyQueryAcceptCaps, proxyQueryCaps, pullRange, push, pushEvent, pushList, query, queryAcceptCaps, queryCaps, queryConvert, queryDefault, queryDuration, queryPosition, removeProbe, sendEvent, setActivateFunctionFull, setActivatemodeFunctionFull, setActive, setChainFunctionFull, setChainListFunctionFull, setElementPrivate, setEventFullFunctionFull, setEventFunctionFull, setGetrangeFunctionFull, setIterateInternalLinksFunctionFull, setLinkFunctionFull, setOffset, setQueryFunctionFull, setUnlinkFunctionFull, startTask, stickyEventsForeach, stopTask, storeStickyEvent, unlink, unlinked, useFixedCapsMethods inherited from class GstObject
addControlBinding, checkUniqueness, deepNotify, defaultDeepNotify, defaultError, emitDeepNotify, getControlBinding, getControlRate, getGValueArray, getName, getParent, getPathString, getValue, getValueArray, hasActiveControlBindings, hasAncestor, hasAsAncestor, hasAsParent, onDeepNotify, ref, refSink, removeControlBinding, replace, setControlBindingDisabled, setControlBindingsDisabled, setControlRate, setName, setParent, suggestNextSync, syncValues, unparent, unrefMethods inherited from class GObject
addToggleRef, addWeakPointer, bindProperty, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, connect, constructed, disconnect, dispatchPropertiesChanged, dispose, dupData, dupQdata, emit, emitNotify, finalize_, forceFloating, freezeNotify, get, getData, getProperty, getProperty, getProperty, getQdata, getv, interfaceFindProperty, interfaceInstallProperty, interfaceListProperties, isFloating, newInstance, newInstance, newv, notify, notify, notifyByPspec, onNotify, refSink, removeToggleRef, removeWeakPointer, replaceData, replaceQdata, runDispose, set, setData, setDataFull, setProperty, setProperty, setProperty, setQdata, setQdataFull, setv, stealData, stealQdata, takeRef, thawNotify, watchClosure, weakRef, weakUnref, withPropertiesMethods inherited from class TypeInstance
callParent, callParent, cast, getPrivate, readGClass, writeGClassMethods inherited from class ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
ProxyPad
Create a ProxyPad instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
ProxyPad
public ProxyPad()Create a new ProxyPad.
-
-
Method Details
-
getType
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
asParent
-
chainDefault
Invoke the default chain function of the proxy pad.- Parameters:
pad- a sinkGstPad, returns GST_FLOW_ERROR if not.parent- the parent ofpadornullbuffer- theGstBufferto send, return GST_FLOW_ERROR if not.- Returns:
- a
GstFlowReturnfrom the pad.
-
chainListDefault
Invoke the default chain list function of the proxy pad.- Parameters:
pad- a sinkGstPad, returns GST_FLOW_ERROR if not.parent- the parent ofpadornulllist- theGstBufferListto send, return GST_FLOW_ERROR if not.- Returns:
- a
GstFlowReturnfrom the pad.
-
getrangeDefault
public static FlowReturn getrangeDefault(Pad pad, GstObject parent, long offset, int size, Out<Buffer> buffer) Invoke the default getrange function of the proxy pad.- Parameters:
pad- a srcGstPad, returnsGST_FLOW_ERRORif not.parent- the parent ofpadoffset- The start offset of the buffersize- The length of the bufferbuffer- a pointer to hold theGstBuffer, returnsGST_FLOW_ERRORifnull.- Returns:
- a
GstFlowReturnfrom the pad.
-
iterateInternalLinksDefault
Invoke the default iterate internal links function of the proxy pad.- Parameters:
pad- theGstPadto get the internal links of.parent- the parent ofpadornull- Returns:
- a
GstIteratorofGstPad, ornullifpadhas no parent. Unref each returned pad with gst_object_unref().
-
getInternal
Get the internal pad of
pad.Unref target pad after usage.The internal pad of a
GstGhostPadis the internally used pad of opposite direction, which is used to link to the target.- Returns:
- the target
GstProxyPad, can benull. Unref target pad after usage.
-
builder
AProxyPad.Builderobject constructs aProxyPadwith the specified properties. Use the variousset...()methods to set properties, and finish construction withProxyPad.Builder.build().- Returns:
- the builder object
-