org.gstreamer.elements
Class RGBDataSink
java.lang.Object
org.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.lowlevel.RefCountedObject
org.gstreamer.GObject
org.gstreamer.GstObject
org.gstreamer.Element
org.gstreamer.Bin
org.gstreamer.elements.RGBDataSink
public class RGBDataSink
- extends Bin
Class that allows to pull out buffers from the GStreamer pipeline into
the application.
Methods inherited from class org.gstreamer.Bin |
add, addMany, connect, connect, connect, debugToDotFile, debugToDotFile, disconnect, disconnect, disconnect, getElementByInterface, getElementByName, getElementByNameRecurseUp, getElements, getElementsRecursive, getElementsSorted, getSinks, getSources, launch, remove, removeMany |
Methods inherited from class org.gstreamer.Element |
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 |
Methods inherited from class org.gstreamer.GstObject |
addListenerProxy, getName, getParent, initializer, initializer, ref, removeListenerProxy, setName, steal, toString, unref |
Methods inherited from class org.gstreamer.GObject |
addCallback, connect, connect, connect, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, invalidate, objectFor, removeCallback, set |
Methods inherited from class org.gstreamer.lowlevel.NativeObject |
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
RGBDataSink
public RGBDataSink(java.lang.String name,
RGBDataSink.Listener listener)
- Creates a new instance of RGBDataSink with the given name.
- Parameters:
name
- The name used to identify this pipeline.
RGBDataSink
public RGBDataSink(java.lang.String name,
Pipeline pipeline,
RGBDataSink.Listener listener)
removeListener
public void removeListener()
- Sets the listener to null. This should be used when disposing
the parent object that contains the listener method, to make sure
that no dangling references remain to the parent.
setPassDirectBuffer
public void setPassDirectBuffer(boolean passThru)
- Indicate whether the
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 data
- Parameters:
passThru
- If true, pass through the native IntBuffer instead of
copying it to a heap IntBuffer.
getSinkElement
public BaseSink getSinkElement()
- Gets the actual gstreamer sink element.
- Returns:
- a BaseSink