FFmpeg
|
#include "opus_celt.h"
#include "opus_pvq.h"
#include "opustab.h"
#include "libavutil/float_dsp.h"
#include "libavutil/opt.h"
#include "internal.h"
#include "bytestream.h"
#include "audio_frame_queue.h"
#include "libavfilter/bufferqueue.h"
Go to the source code of this file.
Data Structures | |
struct | OpusEncOptions |
struct | OpusEncContext |
Macros | |
#define | FF_BUFQUEUE_SIZE 145 |
#define | OPUS_MAX_LOOKAHEAD ((FF_BUFQUEUE_SIZE - 1)*2.5f) |
#define | OPUS_MAX_CHANNELS 2 |
#define | OPUS_MAX_FRAMES_PER_PACKET 48 |
#define | OPUS_BLOCK_SIZE(x) (2 * 15 * (1 << ((x) + 2))) |
#define | OPUS_SAMPLES_TO_BLOCK_SIZE(x) (ff_log2((x) / (2 * 15)) - 2) |
#define | OPUSENC_FLAGS AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM |
Variables | |
static const AVOption | opusenc_options [] |
static const AVClass | opusenc_class |
static const AVCodecDefault | opusenc_defaults [] |
AVCodec | ff_opus_encoder |
#define OPUS_MAX_LOOKAHEAD ((FF_BUFQUEUE_SIZE - 1)*2.5f) |
#define OPUS_MAX_FRAMES_PER_PACKET 48 |
Definition at line 41 of file opusenc.c.
Referenced by opus_encode_init().
#define OPUS_BLOCK_SIZE | ( | x | ) | (2 * 15 * (1 << ((x) + 2))) |
Definition at line 43 of file opusenc.c.
Referenced by celt_apply_preemph_filter(), celt_frame_mdct(), celt_frame_setup_input(), ff_opus_psy_celt_frame_setup(), and opus_encode_frame().
#define OPUS_SAMPLES_TO_BLOCK_SIZE | ( | x | ) | (ff_log2((x) / (2 * 15)) - 2) |
Definition at line 45 of file opusenc.c.
Referenced by ff_opus_psy_process().
#define OPUSENC_FLAGS AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM |
|
static |
Definition at line 76 of file opusenc.c.
Referenced by opus_encode_init().
|
static |
Definition at line 89 of file opusenc.c.
Referenced by opus_packet_assembler().
|
static |
Definition at line 131 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 172 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 207 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 252 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 287 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 314 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 639 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 682 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 700 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 719 of file opusenc.c.
Referenced by celt_encode_frame().
|
static |
Definition at line 812 of file opusenc.c.
Referenced by opus_encode_frame().
|
static |
Definition at line 858 of file opusenc.c.
Referenced by opus_encode_frame().
|
static |
Definition at line 873 of file opusenc.c.
Referenced by opus_encode_frame().
|
static |
Definition at line 903 of file opusenc.c.
Referenced by opus_encode_frame().
|
static |
Definition at line 919 of file opusenc.c.
Referenced by opus_encode_frame(), and opus_encode_init().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
AVCodec ff_opus_encoder |