Go to the source code of this file.
|
static void | opus_write_extradata (AVCodecContext *avctx) |
|
static int | opus_gen_toc (OpusEncContext *s, uint8_t *toc, int *size, int *fsize_needed) |
|
static void | celt_frame_setup_input (OpusEncContext *s, CeltFrame *f) |
|
static void | celt_apply_preemph_filter (OpusEncContext *s, CeltFrame *f) |
|
static void | celt_frame_mdct (OpusEncContext *s, CeltFrame *f) |
|
static void | celt_enc_tf (CeltFrame *f, OpusRangeCoder *rc) |
|
static void | celt_enc_quant_pfilter (OpusRangeCoder *rc, CeltFrame *f) |
|
static void | exp_quant_coarse (OpusRangeCoder *rc, CeltFrame *f, float last_energy[][CELT_MAX_BANDS], int intra) |
|
static void | celt_quant_coarse (CeltFrame *f, OpusRangeCoder *rc, float last_energy[][CELT_MAX_BANDS]) |
|
static void | celt_quant_fine (CeltFrame *f, OpusRangeCoder *rc) |
|
static void | celt_quant_final (OpusEncContext *s, OpusRangeCoder *rc, CeltFrame *f) |
|
static void | celt_encode_frame (OpusEncContext *s, OpusRangeCoder *rc, CeltFrame *f, int index) |
|
static int | write_opuslacing (uint8_t *dst, int v) |
|
static void | opus_packet_assembler (OpusEncContext *s, AVPacket *avpkt) |
|
static AVFrame * | spawn_empty_frame (OpusEncContext *s) |
|
static int | opus_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
|
static av_cold int | opus_encode_end (AVCodecContext *avctx) |
|
static av_cold int | opus_encode_init (AVCodecContext *avctx) |
|
◆ OPUSENC_FLAGS
◆ opus_write_extradata()
◆ opus_gen_toc()
◆ celt_frame_setup_input()
◆ celt_apply_preemph_filter()
◆ celt_frame_mdct()
◆ celt_enc_tf()
◆ celt_enc_quant_pfilter()
◆ exp_quant_coarse()
◆ celt_quant_coarse()
◆ celt_quant_fine()
◆ celt_quant_final()
◆ celt_encode_frame()
◆ write_opuslacing()
◆ opus_packet_assembler()
◆ spawn_empty_frame()
◆ opus_encode_frame()
◆ opus_encode_end()
◆ opus_encode_init()
◆ opusenc_options
◆ opusenc_class
Initial value:= {
.class_name = "Opus encoder",
}
Definition at line 708 of file opusenc.c.
◆ opusenc_defaults
Initial value:= {
{ "b", "0" },
{ "compression_level", "10" },
}
Definition at line 715 of file opusenc.c.
◆ ff_opus_encoder
Initial value:= {
.name = "opus",
.supported_samplerates = (const int []){ 48000, 0 },
}
Definition at line 721 of file opusenc.c.
@ AV_SAMPLE_FMT_FLTP
float, planar
#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)
#define AV_CH_LAYOUT_MONO
static const AVOption opusenc_options[]
static const AVCodecDefault opusenc_defaults[]
static av_cold int opus_encode_end(AVCodecContext *avctx)
static int opus_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
#define AV_CH_LAYOUT_STEREO
#define OPUS_MAX_LOOKAHEAD
#define AV_CODEC_CAP_EXPERIMENTAL
Codec is experimental and is thus avoided in favor of non experimental encoders.
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#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.
static const AVClass opusenc_class
#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 AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
static av_cold int opus_encode_init(AVCodecContext *avctx)