= {
.name = "eac3",
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_EAC3,
.init = ff_ac3_float_encode_init,
.encode2 = ff_ac3_float_encode_frame,
AV_SAMPLE_FMT_NONE },
.priv_class = &eac3enc_class,
.defaults = ac3_defaults,
}
float, planar
Definition: samplefmt.h:69
struct AC3EncodeContext AC3EncodeContext
AC-3 encoder private context.
av_cold int ff_ac3_encode_close(AVCodecContext *avctx)
Finalize encoding and free any memory allocated by the encoder.
Definition: ac3enc.c:2017
const uint64_t ff_ac3_channel_layouts[19]
List of supported channel layouts.
Definition: ac3enc.c:81
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58