Uses of Class
com.avpkit.ferry.IBuffer
-
Packages that use IBuffer Package Description com.avpkit.core An advanced API for reading, decoding, re-sampling, encoding and writing of most media files.com.avpkit.ferry A collection of classes that ferry objects from Java to native code and back, and manage native memory. -
-
Uses of IBuffer in com.avpkit.core
Methods in com.avpkit.core that return IBuffer Modifier and Type Method Description IBufferIMediaData. getData()Get any underlying raw data available for this object.protected IBufferIMediaData. getData_internal()Get any underlying raw data available for this object.
IBufferIMediaData. getDataCached()Get any underlying raw data available for this object, but do not create a new Java wrapping object for it.IBufferIStreamCoder. getExtraData()Returns a read-only copy of the extra data in this stream coder as a newIBuffer.Methods in com.avpkit.core with parameters of type IBuffer Modifier and Type Method Description intIContainer. createSDPData(IBuffer buffer)Fills the given buffer with a null-terminated ASCII
set of bytes representing SDP data that
is suitable for use with an RTSP-based system.intIStreamCoder. getExtraData(IBuffer dest, int offset, int maxBytesToCopy)Copies the current content of the extra-data buffer maintained by this codec (e.g.static longAVPKitJNI. IAudioSamples_make__SWIG_1(long jarg1, IBuffer jarg1_, int jarg2, int jarg3)static intAVPKitJNI. IContainer_createSDPData(long jarg1, IContainer jarg1_, long jarg2, IBuffer jarg2_)static voidAVPKitJNI. IMediaData_setData_internal(long jarg1, IMediaData jarg1_, long jarg2, IBuffer jarg2_)static longAVPKitJNI. IPacket_make__SWIG_1(long jarg1, IBuffer jarg1_)static intAVPKitJNI. IStreamCoder_getExtraData(long jarg1, IStreamCoder jarg1_, long jarg2, IBuffer jarg2_, int jarg3, int jarg4)static intAVPKitJNI. IStreamCoder_setExtraData(long jarg1, IStreamCoder jarg1_, long jarg2, IBuffer jarg2_, int jarg3, int jarg4, boolean jarg5)static longAVPKitJNI. IVideoPicture_make__SWIG_2(long jarg1, IBuffer jarg1_, int jarg2, int jarg3, int jarg4)static voidAVPKitJNI. IVideoPicture_setSideData(long jarg1, IVideoPicture jarg1_, int jarg2, long jarg3, IBuffer jarg3_)static IAudioSamplesIAudioSamples. make(IBuffer buffer, int channels, IAudioSamples.Format format)Creates an {IAudioSamples} object by wrapping an
{com.avpkit.ferry.IBuffer object}.static IPacketIPacket. make(IBuffer buffer)Allocate a new packet that wraps an existing IBuffer.
static IVideoPictureIVideoPicture. make(IBuffer buffer, IPixelFormat.Type format, int width, int height)Get a new picture object, by wrapping an existing
{com.avpkit.ferry.IBuffer}.voidIMediaData. setData(IBuffer buffer)Sets the underlying buffer used by this object.protected voidIMediaData. setData_internal(IBuffer buffer)Sets the underlying buffer used by this object.intIStreamCoder. setExtraData(IBuffer src, int offset, int length, boolean allocNew)Copies data from the given buffer into the extra-data area maintained
by encoders.voidIVideoPicture. setSideData(IVideoPicture.FrameDataType type, IBuffer buffer) -
Uses of IBuffer in com.avpkit.ferry
Methods in com.avpkit.ferry that return IBuffer Modifier and Type Method Description IBufferIBuffer. copyReference()Create a new IBuffer object that is actually referring to the exact same underlying Native object.static IBufferIBuffer. make(RefCounted requestor, byte[] buffer, int offset, int length)Allocate a new IBuffer, and copy the data in buffer into
the new IBuffer object.
static IBufferIBuffer. make(RefCounted requestor, int bufferSize)Allocate a new buffer of at least bufferSize.
static IBufferIBuffer. make(RefCounted requestor, IBuffer.Type type, int numElements, boolean zero)Allocate a new buffer of at least bufferSize.
static IBufferIBuffer. make(RefCounted requestor, java.nio.ByteBuffer directByteBuffer, int offset, int length)Create a new IBuffer object that uses the direct byte buffer
passed in by reference (i.e.Methods in com.avpkit.ferry with parameters of type IBuffer Modifier and Type Method Description static longIBuffer. getCPtr(IBuffer obj)Internal Only.static intFerryJNI. IBuffer_getBufferSize(long jarg1, IBuffer jarg1_)static byte[]FerryJNI. IBuffer_getByteArray(long jarg1, IBuffer jarg1_, int jarg2, int jarg3)static intFerryJNI. IBuffer_getSize(long jarg1, IBuffer jarg1_)static intFerryJNI. IBuffer_getType(long jarg1, IBuffer jarg1_)static java.nio.ByteBufferFerryJNI. IBuffer_java_getByteBuffer(long jarg1, IBuffer jarg1_, int jarg2, int jarg3)static voidFerryJNI. IBuffer_setType(long jarg1, IBuffer jarg1_, int jarg2)
-