22 #define CONFIG_FLOAT 1
25 #if CONFIG_MP1FLOAT_DECODER
41 #if CONFIG_MP2FLOAT_DECODER
57 #if CONFIG_MP3FLOAT_DECODER
73 #if CONFIG_MP3ADUFLOAT_DECODER
74 AVCodec ff_mp3adufloat_decoder = {
75 .
name =
"mp3adufloat",
81 .
decode = decode_frame_adu,
89 #if CONFIG_MP3ON4FLOAT_DECODER
90 AVCodec ff_mp3on4float_decoder = {
91 .
name =
"mp3on4float",
95 .priv_data_size =
sizeof(MP3On4DecodeContext),
96 .
init = decode_init_mp3on4,
97 .
close = decode_close_mp3on4,
98 .
decode = decode_frame_mp3on4,
100 .
flush = flush_mp3on4,
static av_cold int init(AVCodecContext *avctx)
const char * name
Name of the codec implementation.
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
static av_cold int decode_init(AVCodecContext *avctx)
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
preferred ID for decoding MPEG audio layer 1, 2 or 3
static void flush(AVCodecContext *avctx)
AVSampleFormat
Audio Sample Formats.
static void close(AVCodecParserContext *s)
static enum AVSampleFormat sample_fmts[]
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)