#include "libavutil/opt.h"#include "libavutil/samplefmt.h"#include "avcodec.h"#include "ac3.h"#include "ac3enc_opts_template.c"Go to the source code of this file.
Data Structures | |
| struct | CombineContext |
Defines | |
| #define | OFFSET(param) offsetof(CombineContext, options.param) |
| #define | AC3ENC_PARAM (AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
| #define | AC3ENC_TYPE_AC3_FIXED 0 |
| #define | AC3ENC_TYPE_AC3 1 |
| #define | AC3ENC_TYPE_EAC3 2 |
| #define | AC3ENC_TYPE 12354 |
Functions | |
| static av_cold AVCodec * | get_codec (enum AVSampleFormat s) |
| static av_cold int | encode_init (AVCodecContext *avctx) |
| static int | encode_frame (AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data) |
| static av_cold int | encode_close (AVCodecContext *avctx) |
Variables | |
| static AVClass | ac3enc_class |
| AVCodec | ff_ac3_encoder |
| #define AC3ENC_PARAM (AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Definition at line 15 of file ac3enc_combined.c.
| #define AC3ENC_TYPE 12354 |
Definition at line 21 of file ac3enc_combined.c.
| #define AC3ENC_TYPE_AC3 1 |
Definition at line 18 of file ac3enc_combined.c.
| #define AC3ENC_TYPE_AC3_FIXED 0 |
Definition at line 17 of file ac3enc_combined.c.
| #define AC3ENC_TYPE_EAC3 2 |
Definition at line 19 of file ac3enc_combined.c.
| #define OFFSET | ( | param | ) | offsetof(CombineContext, options.param) |
Definition at line 14 of file ac3enc_combined.c.
| static av_cold int encode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 69 of file ac3enc_combined.c.
| static int encode_frame | ( | AVCodecContext * | avctx, | |
| unsigned char * | frame, | |||
| int | buf_size, | |||
| void * | data | |||
| ) | [static] |
Definition at line 57 of file ac3enc_combined.c.
Referenced by encode_superframe(), flac_encode_frame(), MPA_encode_frame(), and qtrle_encode_frame().
| static av_cold int encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 38 of file ac3enc_combined.c.
| static av_cold AVCodec* get_codec | ( | enum AVSampleFormat | s | ) | [static] |
AVClass ac3enc_class [static] |
Initial value:
{ "AC-3 Encoder", av_default_item_name,
eac3_options, LIBAVUTIL_VERSION_INT }
Definition at line 24 of file ac3enc_combined.c.
Initial value:
{
"ac3",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AC3,
sizeof(CombineContext),
encode_init,
encode_frame,
encode_close,
NULL,
.sample_fmts = (const enum AVSampleFormat[]){
AV_SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
.priv_class = &ac3enc_class,
.channel_layouts = ff_ac3_channel_layouts,
}
Definition at line 80 of file ac3enc_combined.c.
1.5.8