public class RGBDataSink extends Bin
Modifier and Type | Class and Description |
---|---|
static interface |
RGBDataSink.Listener |
Bin.DO_LATENCY, Bin.ELEMENT_ADDED, Bin.ELEMENT_REMOVED
Element.NO_MORE_PADS, Element.PAD_ADDED, Element.PAD_REMOVED
GObject.GCallback
NativeObject.Initializer
DEBUG_GRAPH_SHOW_ALL, DEBUG_GRAPH_SHOW_CAPS_DETAILS, DEBUG_GRAPH_SHOW_MEDIA_TYPE, DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS, DEBUG_GRAPH_SHOW_STATES
defaultInit, ownsHandle
Constructor and Description |
---|
RGBDataSink(java.lang.String name,
Pipeline pipeline,
RGBDataSink.Listener listener) |
RGBDataSink(java.lang.String name,
RGBDataSink.Listener listener)
Creates a new instance of RGBDataSink with the given name.
|
Modifier and Type | Method and Description |
---|---|
BaseSink |
getSinkElement()
Gets the actual gstreamer sink element.
|
void |
removeListener()
Sets the listener to null.
|
void |
setPassDirectBuffer(boolean passThru)
Indicate whether the
RGBDataSink should pass the native IntBuffer
to the listener, or should copy it to a heap buffer. |
add, addMany, connect, connect, connect, debugToDotFile, debugToDotFile, disconnect, disconnect, disconnect, getElementByInterface, getElementByName, getElementByNameRecurseUp, getElements, getElementsRecursive, getElementsSorted, getSinks, getSources, launch, remove, removeMany
addPad, connect, connect, connect, disconnect, disconnect, disconnect, getBaseTime, getBus, getClock, getFactory, getPad, getPads, getRequestPad, getSinkPads, getSrcPads, getStartTime, getState, getState, getState, getState, getStaticPad, isPlaying, link, link, linkMany, linkPads, linkPadsFiltered, makeRawElement, pause, play, postMessage, ready, releaseRequestPad, removePad, sendEvent, setBaseTime, setCaps, setLockedState, setStartTime, setState, stop, syncStateWithParent, unlink, unlinkMany, unlinkPads
addListenerProxy, getName, getParent, initializer, initializer, ref, removeListenerProxy, setName, steal, toString, unref
addCallback, connect, connect, connect, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, invalidate, objectForX, removeCallback, set
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor
public RGBDataSink(java.lang.String name, RGBDataSink.Listener listener)
name
- The name used to identify this pipeline.public RGBDataSink(java.lang.String name, Pipeline pipeline, RGBDataSink.Listener listener)
public void removeListener()
public void setPassDirectBuffer(boolean passThru)
RGBDataSink
should pass the native IntBuffer
to the listener, or should copy it to a heap buffer. The default is to pass
a heap IntBuffer
copy of the datapassThru
- If true, pass through the native IntBuffer instead of
copying it to a heap IntBuffer.public BaseSink getSinkElement()