Go to the source code of this file.
◆ cng_decode_close()
◆ cng_decode_init()
◆ make_lpc_coefs()
static void make_lpc_coefs |
( |
float * |
lpc, |
|
|
const float * |
refl, |
|
|
int |
order |
|
) |
| |
|
static |
◆ cng_decode_flush()
◆ cng_decode_frame()
◆ ff_comfortnoise_decoder
Initial value:= {
.name = "comfortnoise",
}
Definition at line 164 of file cngdec.c.
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
static av_cold int init(AVCodecContext *avctx)
static enum AVSampleFormat sample_fmts[]
static int cng_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
static void flush(AVCodecContext *avctx)
static av_cold int cng_decode_close(AVCodecContext *avctx)
static void cng_decode_flush(AVCodecContext *avctx)
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AV_CODEC_ID_COMFORT_NOISE
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
AVSampleFormat
Audio sample formats.
@ AV_SAMPLE_FMT_S16
signed 16 bits
static av_cold int cng_decode_init(AVCodecContext *avctx)