22 #include "config_components.h"
30 #define SHR(a,b) (((int)(a))>>(b))
32 #define FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5))
33 #define FIXR(a) ((int)((a) * FRAC_ONE + 0.5))
34 #define FIXHR(a) ((int)((a) * (1LL<<32) + 0.5))
35 #define MULH3(x, y, s) MULH((s)*(x), y)
36 #define MULLx(x, y, s) MULL((int)(x),(y),s)
37 #define RENAME(a) a ## _fixed
38 #define OUT_FMT AV_SAMPLE_FMT_S16
39 #define OUT_FMT_P AV_SAMPLE_FMT_S16P
44 { 0x000000, 0x1B0CB1, 0x2ED9EC, 0x400000, 0x512614, 0x64F34F, 0x800000 },
45 { 0x800000, 0x64F34F, 0x512614, 0x400000, 0x2ED9EC, 0x1B0CB1, 0x000000 }
51 { 0x36E129F8, 0xDF128056, 0x15F3AA4E, 0xA831565E },
52 { 0x386E75F2, 0xE1CF24A5, 0x1A3D9A97, 0xA960AEB3 },
53 { 0x3CC6B73A, 0xEBF19FA6, 0x28B856E0, 0xAF2AE86C },
54 { 0x3EEEA054, 0xF45B88BC, 0x334A2910, 0xB56CE868 },
55 { 0x3FB6905C, 0xF9F27F18, 0x39A90F74, 0xBA3BEEBC },
56 { 0x3FF23F20, 0xFD60D1E4, 0x3D531104, 0xBD6E92C4 },
57 { 0x3FFE5932, 0xFF175EE4, 0x3F15B816, 0xBF1905B2 },
58 { 0x3FFFE34A, 0xFFC3612F, 0x3FC34479, 0xBFC37DE5 }
63 #if CONFIG_MP1_DECODER
80 #if CONFIG_MP2_DECODER
97 #if CONFIG_MP3_DECODER
114 #if CONFIG_MP3ADU_DECODER
117 CODEC_LONG_NAME(
"ADU (Application Data Unit) MP3 (MPEG audio layer 3)"),
131 #if CONFIG_MP3ON4_DECODER
137 .priv_data_size =
sizeof(MP3On4DecodeContext),
138 .
init = decode_init_mp3on4,
139 .close = decode_close_mp3on4,
143 .flush = flush_mp3on4,