|
| void | logWarning (FFAudioIO *, int, const char *) |
| | Log a warning. More...
|
| |
| void | logFine (FFAudioIO *, int, const char *) |
| | Log a debug message. More...
|
| |
| void | throwUnsupportedAudioFileExceptionIfError (JNIEnv *, int, const char *) |
| | Throws an UnsupportedAudioFileException. More...
|
| |
| void | throwIOExceptionIfError (JNIEnv *, int, const char *) |
| | Throws an IOException. More...
|
| |
| void | throwIndexOutOfBoundsExceptionIfError (JNIEnv *, int, int) |
| | Throws an IndexOutOfBoundsException. More...
|
| |
| void | throwFileNotFoundExceptionIfError (JNIEnv *, int, const char *) |
| | Throws an IllegalArgumentException. More...
|
| |
| void | dumpCodecIds () |
| |
| int | ff_open_stream (JNIEnv *, AVStream *, AVCodecContext **) |
| | Opens the given stream, i.e. More...
|
| |
| int | ff_open_format_context (JNIEnv *, AVFormatContext **, const char *) |
| | Opens the input file/url and allocates a AVFormatContext for it, but does not open the audio stream with an appropriate decoder. More...
|
| |
| int | ff_open_file (JNIEnv *, AVFormatContext **, AVStream **, AVCodecContext **, int *, const char *) |
| | Opens the input file/url, allocates a AVFormatContext for it and opens the audio stream with an appropriate decoder. More...
|
| |
| int | ff_init_audioio (JNIEnv *, FFAudioIO *) |
| | Initialize our main context FFAudioIO, so that SwrContext, decode buffers and the encoder are set to reasonable values. More...
|
| |
| void | ff_audioio_free (FFAudioIO *) |
| | Free all resources held by aio and then itself. More...
|
| |
| int | ff_fill_buffer (FFAudioIO *) |
| | Reads a frame via av_read_frame(AVFormatContext, AVPacket), decodes it to a AVPacket, and writes the result to the Java-side nativeBuffer. More...
|
| |
| AVCodec * | ff_find_encoder (enum AVSampleFormat, int, int, int) |
| | Finds an AVCodec encoder for the given sample format, bits per sample, byte order and signed/unsigned encoding. More...
|
| |
| int | ff_init_encoder (JNIEnv *, FFAudioIO *, AVCodec *) |
| | Allocates and initializes the encoder context and frame in FFAudioIO. More...
|
| |
| int | ff_big_endian (enum AVCodecID) |
| | Indicates whether the given id belongs to a big endian codec. More...
|
| |
| AVCodec* ff_find_encoder |
( |
enum AVSampleFormat |
sampleFormat, |
|
|
int |
bits, |
|
|
int |
big_endian, |
|
|
int |
signedSamples |
|
) |
| |
Finds an AVCodec encoder for the given sample format, bits per sample, byte order and signed/unsigned encoding.
This method never returns a planar, but always a packed codec.
- Parameters
-
| sampleFormat | AVSampleFormat |
| bits | bits per sample |
| big_endian | true or false |
| signedSamples | true, if the samples are signed |
- Returns
- an appropriate encoder or NULL, if none can be found
Definition at line 431 of file FFUtils.c.