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()
static int opus_gen_toc |
( |
OpusEncContext * |
s, |
|
|
uint8_t * |
toc, |
|
|
int * |
size, |
|
|
int * |
fsize_needed |
|
) |
| |
|
static |
◆ 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
Initial value:= {
{
"apply_phase_inv",
"Apply intensity stereo phase inversion", 0x42,
AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1,
OPUSENC_FLAGS, .unit =
"apply_phase_inv" },
}
Definition at line 716 of file enc.c.
◆ opusenc_class
Initial value:= {
.class_name = "Opus encoder",
}
Definition at line 722 of file enc.c.
◆ opusenc_defaults
Initial value:= {
{ "b", "0" },
{ "compression_level", "10" },
}
Definition at line 729 of file enc.c.
◆ ff_opus_encoder
Initial value:= {
.p.name = "opus",
.p.supported_samplerates = (const int []){ 48000, 0 },
}
Definition at line 735 of file enc.c.
@ AV_SAMPLE_FMT_FLTP
float, planar
static av_cold int opus_encode_init(AVCodecContext *avctx)
#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 const AVClass opusenc_class
#define OPUS_MAX_LOOKAHEAD
#define FF_CODEC_ENCODE_CB(func)
#define AV_CODEC_CAP_EXPERIMENTAL
Codec is experimental and is thus avoided in favor of non experimental encoders.
static av_cold int opus_encode_end(AVCodecContext *avctx)
#define CODEC_LONG_NAME(str)
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const FFCodecDefault opusenc_defaults[]
static int opus_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
int(* init)(AVBSFContext *ctx)
#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.
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
AVSampleFormat
Audio sample formats.
#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
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
#define AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.