int |
IStreamCoder.decodeAudio(IAudioSamples pOutSamples,
IPacket packet,
int byteOffset) |
Decode this packet into pOutSamples.
|
int |
IStreamCoder.decodeVideo(IVideoPicture pOutFrame,
IPacket packet,
int byteOffset) |
Decode this packet into pOutFrame.
The caller is responsible for allocating the
IVideoPicture object.
|
int |
IStreamCoder.encodeAudio(IPacket pOutPacket,
IAudioSamples pSamples,
int sampleToStartFrom) |
Encode the given samples using this StreamCoder.
The VideoPicture will allocate a buffer to use internally for this, and
will free it when the frame destroys itself.
Callers should call this repeatedly on a set of samples until
we consume all the samples.
Also, when done in order to flush the encoder, caller should call
this method passing in 0 (null) for pSamples to tell the encoder
to flush any data it was keeping a hold of.
|
int |
IStreamCoder.encodeVideo(IPacket pOutPacket,
IVideoPicture pFrame,
int suggestedBufferSize) |
Encode the given frame using this StreamCoder.
The VideoPicture will allocate a buffer to use internally for this, and
will free it when the frame destroys itself.
Also, when done in order to flush the encoder, caller should call
this method passing in 0 (null) for pFrame to tell the encoder
to flush any data it was keeping a hold of.
|
static long |
IPacket.getCPtr(IPacket obj) |
Internal Only.
|
static int |
AVPKitJNI.IContainer_readNextPacket(long jarg1,
IContainer jarg1_,
long jarg2,
IPacket jarg2_) |
|
static int |
AVPKitJNI.IContainer_writePacket__SWIG_0(long jarg1,
IContainer jarg1_,
long jarg2,
IPacket jarg2_,
boolean jarg3) |
|
static int |
AVPKitJNI.IContainer_writePacket__SWIG_1(long jarg1,
IContainer jarg1_,
long jarg2,
IPacket jarg2_) |
|
static int |
AVPKitJNI.IPacket_allocateNewPayload(long jarg1,
IPacket jarg1_,
int jarg2) |
|
static long |
AVPKitJNI.IPacket_getDts(long jarg1,
IPacket jarg1_) |
|
static long |
AVPKitJNI.IPacket_getDuration(long jarg1,
IPacket jarg1_) |
|
static int |
AVPKitJNI.IPacket_getFlags(long jarg1,
IPacket jarg1_) |
|
static int |
AVPKitJNI.IPacket_getMaxSize(long jarg1,
IPacket jarg1_) |
|
static long |
AVPKitJNI.IPacket_getPosition(long jarg1,
IPacket jarg1_) |
|
static long |
AVPKitJNI.IPacket_getPts(long jarg1,
IPacket jarg1_) |
|
static int |
AVPKitJNI.IPacket_getSize(long jarg1,
IPacket jarg1_) |
|
static int |
AVPKitJNI.IPacket_getStreamIndex(long jarg1,
IPacket jarg1_) |
|
static boolean |
AVPKitJNI.IPacket_isComplete(long jarg1,
IPacket jarg1_) |
|
static boolean |
AVPKitJNI.IPacket_isKeyPacket(long jarg1,
IPacket jarg1_) |
|
static long |
AVPKitJNI.IPacket_make__SWIG_2(long jarg1,
IPacket jarg1_,
boolean jarg2) |
|
static void |
AVPKitJNI.IPacket_reset(long jarg1,
IPacket jarg1_) |
|
static void |
AVPKitJNI.IPacket_setComplete(long jarg1,
IPacket jarg1_,
boolean jarg2,
int jarg3) |
|
static void |
AVPKitJNI.IPacket_setDts(long jarg1,
IPacket jarg1_,
long jarg2) |
|
static void |
AVPKitJNI.IPacket_setDuration(long jarg1,
IPacket jarg1_,
long jarg2) |
|
static void |
AVPKitJNI.IPacket_setFlags(long jarg1,
IPacket jarg1_,
int jarg2) |
|
static void |
AVPKitJNI.IPacket_setKeyPacket(long jarg1,
IPacket jarg1_,
boolean jarg2) |
|
static void |
AVPKitJNI.IPacket_setPosition(long jarg1,
IPacket jarg1_,
long jarg2) |
|
static void |
AVPKitJNI.IPacket_setPts(long jarg1,
IPacket jarg1_,
long jarg2) |
|
static void |
AVPKitJNI.IPacket_setStreamIndex(long jarg1,
IPacket jarg1_,
int jarg2) |
|
static int |
AVPKitJNI.IStream_stampOutputPacket(long jarg1,
IStream jarg1_,
long jarg2,
IPacket jarg2_) |
|
static int |
AVPKitJNI.IStreamCoder_decodeAudio(long jarg1,
IStreamCoder jarg1_,
long jarg2,
IAudioSamples jarg2_,
long jarg3,
IPacket jarg3_,
int jarg4) |
|
static int |
AVPKitJNI.IStreamCoder_decodeVideo(long jarg1,
IStreamCoder jarg1_,
long jarg2,
IVideoPicture jarg2_,
long jarg3,
IPacket jarg3_,
int jarg4) |
|
static int |
AVPKitJNI.IStreamCoder_encodeAudio(long jarg1,
IStreamCoder jarg1_,
long jarg2,
IPacket jarg2_,
long jarg3,
IAudioSamples jarg3_,
int jarg4) |
|
static int |
AVPKitJNI.IStreamCoder_encodeVideo(long jarg1,
IStreamCoder jarg1_,
long jarg2,
IPacket jarg2_,
long jarg3,
IVideoPicture jarg3_,
int jarg4) |
|
static IPacket |
IPacket.make(IPacket packet,
boolean copyData) |
Allocate a new packet wrapping the existing contents of
a passed in packet.
|
int |
IContainer.readNextPacket(IPacket packet) |
Reads the next packet into the IPacket.
|
int |
IStream.stampOutputPacket(IPacket packet) |
Takes a packet destined for this stream, and stamps
the stream index, and converts the time stamp to the
correct units (adjusting for rounding errors between
stream conversions).
|
int |
IContainer.writePacket(IPacket packet) |
Writes the contents of the packet to the container, but make sure the
packets are interleaved.
|
int |
IContainer.writePacket(IPacket packet,
boolean forceInterleave) |
Writes the contents of the packet to the container.
|