FFmpeg
|
G.722 ADPCM audio decoder. More...
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "get_bits.h"
#include "g722.h"
#include "internal.h"
Go to the source code of this file.
Macros | |
#define | OFFSET(x) offsetof(G722Context, x) |
#define | AD AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static av_cold int | g722_decode_init (AVCodecContext *avctx) |
static int | g722_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) |
Variables | |
static const AVOption | options [] |
static const AVClass | g722_decoder_class |
static const int16_t | low_inv_quant5 [32] |
static const int16_t *const | low_inv_quants [3] |
AVCodec | ff_adpcm_g722_decoder |
G.722 ADPCM audio decoder.
This G.722 decoder is a bit-exact implementation of the ITU G.722 specification for all three specified bitrates - 64000bps, 56000bps and 48000bps. It passes the ITU tests.
Definition in file g722dec.c.
#define OFFSET | ( | x | ) | offsetof(G722Context, x) |
#define AD AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Definition at line 45 of file g722dec.c.
Referenced by interpolate().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 82 of file g722dec.c.
Referenced by g722_decode_frame().
AVCodec ff_adpcm_g722_decoder |