public class RGBDataSink extends Bin
| Modifier and Type | Class and Description |
|---|---|
static interface |
RGBDataSink.Listener |
Bin.DO_LATENCY, Bin.ELEMENT_ADDED, Bin.ELEMENT_REMOVEDElement.NO_MORE_PADS, Element.PAD_ADDED, Element.PAD_REMOVEDGObject.GCallbackNativeObject.InitializerDEBUG_GRAPH_SHOW_ALL, DEBUG_GRAPH_SHOW_CAPS_DETAILS, DEBUG_GRAPH_SHOW_MEDIA_TYPE, DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS, DEBUG_GRAPH_SHOW_STATESdefaultInit, 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, removeManyaddPad, 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, unlinkPadsaddListenerProxy, getName, getParent, initializer, initializer, ref, removeListenerProxy, setName, steal, toString, unrefaddCallback, connect, connect, connect, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, invalidate, objectForX, removeCallback, setclassFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectForpublic 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()