| Package | Description |
|---|---|
| io.humble.video |
The Humble Video library for decoding and encoding audio and pictures (i.e.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MediaAudio
Raw audio data.
|
class |
MediaPicture
Picture (or video) raw data that can be displayed or modified, and also
encoded by Encoder objects. |
| Modifier and Type | Method and Description |
|---|---|
MediaSampled |
MediaSampled.copyReference()
Create a new MediaSampled object that is actually referring to the
exact same underlying native object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Decoder.decode(MediaSampled output,
MediaPacket packet,
int byteOffset)
Decode this packet into output.
|
static int |
VideoJNI.Decoder_decode(long jarg1,
Decoder jarg1_,
long jarg2,
MediaSampled jarg2_,
long jarg3,
MediaPacket jarg3_,
int jarg4) |
void |
Encoder.encode(MediaPacket output,
MediaSampled media)
Encode the given Media using this encoder.
Callers should call this repeatedly on a media object ntil we consume all the media. Also, when done in order to flush the encoder, caller should call this method passing in 0 (null) for media to tell the encoder to flush any data it was keeping a hold of. |
static void |
VideoJNI.Encoder_encode(long jarg1,
Encoder jarg1_,
long jarg2,
MediaPacket jarg2_,
long jarg3,
MediaSampled jarg3_) |
static int |
VideoJNI.MediaAudioResampler_resample(long jarg1,
MediaAudioResampler jarg1_,
long jarg2,
MediaSampled jarg2_,
long jarg3,
MediaSampled jarg3_) |
static int |
VideoJNI.MediaPictureResampler_resample(long jarg1,
MediaPictureResampler jarg1_,
long jarg2,
MediaSampled jarg2_,
long jarg3,
MediaSampled jarg3_) |
static int |
VideoJNI.MediaResampler_resample(long jarg1,
MediaResampler jarg1_,
long jarg2,
MediaSampled jarg2_,
long jarg3,
MediaSampled jarg3_) |
static int |
VideoJNI.MediaSampled_getNumSamples(long jarg1,
MediaSampled jarg1_) |
int |
MediaResampler.resample(MediaSampled out,
MediaSampled in)
Resample in to out based on the resampler parameters.
Resamples the in media based on the parameters set when this resampler was constructed. |
int |
MediaAudioResampler.resample(MediaSampled out,
MediaSampled in)
Convert audio.
in can be set to null to flush the last few samples out at the end. If more input is provided than output space then the input will be buffered. You can avoid this buffering by providing more output space than input. Conversion will run directly without copying whenever possible. |
int |
MediaPictureResampler.resample(MediaSampled out,
MediaSampled in)
Resample in to out based on the resampler parameters.
Resamples the in picture based on the parameters set when this resampler was constructed. |
Copyright © 2018 Humble Software. All rights reserved.