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()
static int write_opuslacing |
( |
uint8_t * |
dst, |
|
|
int |
v |
|
) |
| |
|
inlinestatic |
◆ 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 720 of file opusenc.c.
◆ opusenc_defaults
Initial value:= {
{ "b", "0" },
{ "compression_level", "10" },
}
Definition at line 727 of file opusenc.c.
◆ ff_opus_encoder
Initial value:= {
.p.name = "opus",
.p.supported_samplerates = (const int []){ 48000, 0 },
}
Definition at line 733 of file opusenc.c.
@ AV_SAMPLE_FMT_FLTP
float, planar
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define AV_CHANNEL_LAYOUT_STEREO
static const AVOption opusenc_options[]
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 FF_CODEC_ENCODE_CB(func)
#define OPUS_MAX_LOOKAHEAD
#define AV_CODEC_CAP_EXPERIMENTAL
Codec is experimental and is thus avoided in favor of non experimental encoders.
int(* init)(AVBSFContext *ctx)
#define CODEC_LONG_NAME(str)
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
An AVChannelLayout holds information about the channel layout of audio data.
AVSampleFormat
Audio sample formats.
static const AVClass opusenc_class
static const FFCodecDefault opusenc_defaults[]
#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_CHANNEL_LAYOUT_MONO
#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)