#include <math.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"
#include "lpc.h"
Go to the source code of this file.
◆ cng_encode_close()
◆ cng_encode_init()
◆ cng_encode_frame()
◆ ff_comfortnoise_encoder
| const FFCodec ff_comfortnoise_encoder |
Initial value:= {
.p.name = "comfortnoise",
}
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)
#define CODEC_CH_LAYOUTS(...)
#define FF_CODEC_ENCODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define CODEC_SAMPLEFMTS(...)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
@ AV_CODEC_ID_COMFORT_NOISE
#define AV_CHANNEL_LAYOUT_MONO
@ AV_SAMPLE_FMT_S16
signed 16 bits
Definition at line 101 of file cngenc.c.