#include <math.h>
#include "libavutil/common.h"
#include "libavutil/ffmath.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 void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static int cng_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
#define AV_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)
AVSampleFormat
Audio sample formats.
static av_cold int cng_decode_close(AVCodecContext *avctx)
static enum AVSampleFormat sample_fmts[]
static int decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *pkt)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
static av_cold int cng_decode_init(AVCodecContext *avctx)
Definition at line 159 of file cngdec.c.