|
ADPCM Codecs
|
ADPCM Encoder. More...
#include <ADPCMEncoder.h>


Public Member Functions | |
| bool | begin (int sampleRate, int channels) |
| void | end () |
| AVPacket & | encode (int16_t *data, size_t sampleCount) |
| virtual bool | is_trellis () |
| int | blockAlign () |
| AVCodecContext & | ctx () |
| void | setCodecID (AVCodecID id) |
| AVCodecID | codecID () |
| void | setFrameSize (int fs) |
| virtual void | setBlockSize (int size) |
| int | blockSize () |
| int | frameSize () |
| int | channels () |
| bool | isPlanar () |
Protected Member Functions | |
| virtual int | adpcm_encode_init_impl ()=0 |
| virtual int | adpcm_encode_init () |
| int | adpcm_encode_close () |
| uint8_t | adpcm_ima_compress_sample (ADPCMChannelStatus *c, int16_t sample) |
| uint8_t | adpcm_ima_qt_compress_sample (ADPCMChannelStatus *c, int16_t sample) |
| uint8_t | adpcm_yamaha_compress_sample (ADPCMChannelStatus *c, int16_t sample) |
| virtual int | adpcm_encode_frame_impl (AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)=0 |
| virtual int | adpcm_encode_frame (AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
| int | av_get_bits_per_sample () |
| int | ff_get_encode_buffer (AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int flags) |
| int | ff_get_buffer (AVCodecContext *avctx, AVFrame *frame, int flags) |
| void | avpriv_request_sample (void *avc, const char *msg,...) |
Protected Attributes | |
| AVPacket | result |
| AVFrame | frame |
| int16_t * | extended_data [2] = {0} |
| std::vector< uint8_t > | av_packet_data |
| std::vector< std::vector< int16_t > > | frame_extended_data_vectors |
| int | st |
| int | pkt_size |
| int | ret |
| const int16_t * | samples |
| const int16_t *const * | samples_p |
| uint8_t * | dst |
| ADPCMEncodeContext * | c |
| ADPCMEncodeContext * | s |
| AVCodecContext | avctx |
| ADPCMEncodeContext | enc_ctx |
| std::vector< AVSampleFormat > | sample_formats |
ADPCM Encoder.