|
FFmpeg
|
#include <opus.h>#include <opus_multistream.h>#include "libavutil/channel_layout.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "avcodec.h"#include "bytestream.h"#include "codec_internal.h"#include "encode.h"#include "libopus.h"#include "audio_frame_queue.h"#include "vorbis_data.h"Go to the source code of this file.
Data Structures | |
| struct | LibopusEncOpts |
| struct | LibopusEncContext |
Macros | |
| #define | OFFSET(x) |
| #define | FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
| static void | libopus_write_header (AVCodecContext *avctx, int stream_count, int coupled_stream_count, int mapping_family, const uint8_t *channel_mapping) |
| static int | libopus_configure_encoder (AVCodecContext *avctx, OpusMSEncoder *enc, LibopusEncOpts *opts) |
| static int | libopus_check_max_channels (AVCodecContext *avctx, int max_channels) |
| static int | libopus_check_vorbis_layout (AVCodecContext *avctx, int mapping_family) |
| static int | libopus_validate_layout_and_get_channel_map (AVCodecContext *avctx, int mapping_family, const uint8_t **channel_map_result) |
| static av_cold int | libopus_encode_init (AVCodecContext *avctx) |
| static void | libopus_copy_samples_with_channel_map (uint8_t *dst, const uint8_t *src, const uint8_t *channel_map, int nb_channels, int nb_samples, int bytes_per_sample) |
| static int | libopus_encode (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
| static av_cold int | libopus_encode_close (AVCodecContext *avctx) |
Variables | |
| static const uint8_t | opus_coupled_streams [8] |
| static const uint8_t | opus_vorbis_channel_map [8][8] |
| static const uint8_t | libavcodec_libopus_channel_map [8][8] |
| static const AVOption | libopus_options [] |
| static const AVClass | libopus_class |
| static const FFCodecDefault | libopus_defaults [] |
| static const int | libopus_sample_rates [] |
| const FFCodec | ff_libopus_encoder |
| #define OFFSET | ( | x | ) |
Definition at line 541 of file libopusenc.c.
| #define FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 542 of file libopusenc.c.
|
static |
Definition at line 90 of file libopusenc.c.
Referenced by libopus_encode_init().
|
static |
Definition at line 114 of file libopusenc.c.
Referenced by libopus_encode_init().
|
static |
Definition at line 190 of file libopusenc.c.
Referenced by libopus_validate_layout_and_get_channel_map().
|
static |
Definition at line 201 of file libopusenc.c.
Referenced by libopus_validate_layout_and_get_channel_map().
|
static |
Definition at line 222 of file libopusenc.c.
Referenced by libopus_encode_init().
|
static |
Definition at line 267 of file libopusenc.c.
|
static |
Definition at line 451 of file libopusenc.c.
Referenced by libopus_encode().
|
static |
Definition at line 465 of file libopusenc.c.
|
static |
Definition at line 528 of file libopusenc.c.
|
static |
Definition at line 62 of file libopusenc.c.
Referenced by libopus_encode_init().
|
static |
Definition at line 67 of file libopusenc.c.
Referenced by libopus_encode_init().
|
static |
Definition at line 79 of file libopusenc.c.
Referenced by libopus_encode_init().
|
static |
Definition at line 543 of file libopusenc.c.
|
static |
Definition at line 563 of file libopusenc.c.
|
static |
Definition at line 570 of file libopusenc.c.
|
static |
Definition at line 576 of file libopusenc.c.
| const FFCodec ff_libopus_encoder |
Definition at line 580 of file libopusenc.c.