#include <math.h>
#include "libavutil/common.h"
#include "avcodec.h"
#include "internal.h"
#include "lpc.h"
Go to the source code of this file.
◆ cng_encode_close()
◆ cng_encode_init()
◆ cng_encode_frame()
◆ ff_comfortnoise_encoder
Initial value:= {
.name = "comfortnoise",
}
static enum AVSampleFormat sample_fmts[]
static av_cold int init(AVCodecContext *avctx)
static av_cold int cng_encode_init(AVCodecContext *avctx)
static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
static av_cold int cng_encode_close(AVCodecContext *avctx)
@ AV_CODEC_ID_COMFORT_NOISE
AVSampleFormat
Audio sample formats.
@ AV_SAMPLE_FMT_S16
signed 16 bits
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 103 of file cngenc.c.