#include <math.h>
#include "libavutil/common.h"
#include "avcodec.h"
#include "celp_filters.h"
#include "internal.h"
#include "libavutil/lfg.h"
Go to the source code of this file.
static void make_lpc_coefs |
( |
float * |
lpc, |
|
|
const float * |
refl, |
|
|
int |
order |
|
) |
| |
|
static |
Initial value:= {
.name = "comfortnoise",
}
static int cng_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
static int decode(MimicContext *ctx, int quality, int num_coeffs, int is_iframe)
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#define CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static void cng_decode_flush(AVCodecContext *avctx)
static void close(AVCodecParserContext *s)
static av_cold void flush(AVCodecContext *avctx)
Flush (reset) the frame ID after seeking.
AVSampleFormat
Audio Sample Formats.
static av_cold int init(AVCodecParserContext *s)
static av_cold int cng_decode_close(AVCodecContext *avctx)
static av_cold int cng_decode_init(AVCodecContext *avctx)
Definition at line 160 of file cngdec.c.