| Package | Description |
|---|---|
| io.humble.ferry |
A collection of classes that ferry objects from Java to native code and back,
and manage native memory.
|
| io.humble.video |
The Humble Video library for decoding and encoding audio and pictures (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
Buffer.copyReference()
Create a new Buffer object that is actually referring to the
exact same underlying Native object.
|
static Buffer |
Buffer.make(RefCounted requestor,
Buffer.Type type,
int numElements,
boolean zero)
Allocate a new buffer of at least bufferSize.
|
static Buffer |
Buffer.make(RefCounted requestor,
byte[] buffer,
int offset,
int length)
Allocate a new Buffer, and copy the data in buffer into
the new Buffer object. |
static Buffer |
Buffer.make(RefCounted requestor,
ByteBuffer directByteBuffer,
int offset,
int length)
Create a new Buffer object that uses the direct byte buffer
passed in by reference (i.e. |
static Buffer |
Buffer.make(RefCounted requestor,
int bufferSize)
Allocate a new buffer of at least bufferSize.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
FerryJNI.Buffer_getBufferSize(long jarg1,
Buffer jarg1_) |
static byte[] |
FerryJNI.Buffer_getByteArray(long jarg1,
Buffer jarg1_,
int jarg2,
int jarg3) |
static int |
FerryJNI.Buffer_getSize(long jarg1,
Buffer jarg1_) |
static int |
FerryJNI.Buffer_getType(long jarg1,
Buffer jarg1_) |
static ByteBuffer |
FerryJNI.Buffer_java_getByteBuffer(long jarg1,
Buffer jarg1_,
int jarg2,
int jarg3) |
static void |
FerryJNI.Buffer_setType(long jarg1,
Buffer jarg1_,
int jarg2) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
MediaPacket.getData()
Get any underlying raw data available for this packet.
|
Buffer |
MediaPicture.getData(int plane)
Get any underlying raw data available for this object.
|
Buffer |
MediaAudio.getData(int plane)
Get any underlying raw data available for this object.
|
Buffer |
MediaSubtitleRectangle.getPictureData(int line) |
Buffer |
MediaPacket.getSideData(int n)
Get the n'th item of SideData.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
VideoJNI.BitStreamFilter_filter__SWIG_0(long jarg1,
BitStreamFilter jarg1_,
long jarg2,
Buffer jarg2_,
int jarg3,
long jarg4,
Buffer jarg4_,
int jarg5,
int jarg6,
long jarg7,
Coder jarg7_,
String jarg8,
boolean jarg9) |
int |
BitStreamFilter.filter(Buffer output,
int outputOffset,
Buffer input,
int inputOffset,
int inputSize,
Coder coder,
String args,
boolean isKey)
Filter the input buffer into the output buffer.
|
static MediaPacket |
MediaPacket.make(Buffer buffer)
Allocate a new packet that wraps an existing Buffer.
NOTE: At least 16 bytes of the passed in buffer will be used for header information, so the resulting Packet.getSize() will be smaller than Buffer.getBufferSize() . |
static MediaAudio |
MediaAudio.make(Buffer buffer,
int numSamples,
int sampleRate,
int channels,
AudioChannel.Layout channelLayout,
AudioFormat.Type format)
Create a MediaAudio using the given buffer.
Note: that the Buffer.getBufferSize() constraints the max number of samples we can place in here, and HumbleVideo needs to reserve some of the buffer for, um, stuff (assume at least 64 bytes). |
static MediaPicture |
MediaPicture.make(Buffer buffer,
int width,
int height,
PixelFormat.Type format)
Create a media picture using a buffer as the memory backing it.
|
static long |
VideoJNI.MediaAudio_make__SWIG_1(long jarg1,
Buffer jarg1_,
int jarg2,
int jarg3,
int jarg4,
int jarg5,
int jarg6) |
static long |
VideoJNI.MediaPacket_make__SWIG_1(long jarg1,
Buffer jarg1_) |
static long |
VideoJNI.MediaPicture_make__SWIG_1(long jarg1,
Buffer jarg1_,
int jarg2,
int jarg3,
int jarg4) |
Copyright © 2018 Humble Software. All rights reserved.