23 #include "config_components.h"
31 #define SHR(a,b) ((a)*(1.0f/(1<<(b))))
32 #define FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5))
33 #define FIXR(x) ((float)(x))
34 #define FIXHR(x) ((float)(x))
35 #define MULH3(x, y, s) ((s)*(y)*(x))
36 #define MULLx(x, y, s) ((y)*(x))
37 #define RENAME(a) a ## _float
38 #define OUT_FMT AV_SAMPLE_FMT_FLT
39 #define OUT_FMT_P AV_SAMPLE_FMT_FLTP
44 { 0.000000000000000000e+00, 2.113248705863952637e-01, 3.660253882408142090e-01,
45 5.000000000000000000e-01, 6.339746117591857910e-01, 7.886751294136047363e-01,
46 1.000000000000000000e+00 },
47 { 1.000000000000000000e+00, 7.886751294136047363e-01, 6.339746117591857910e-01,
48 5.000000000000000000e-01, 3.660253882408142090e-01, 2.113248705863952637e-01,
49 0.000000000000000000e+00 }
56 { 8.574929237365722656e-01, -5.144957900047302246e-01,
57 3.429971337318420410e-01, -1.371988654136657715e+00 },
58 { 8.817420005798339844e-01, -4.717319905757904053e-01,
59 4.100100100040435791e-01, -1.353474020957946777e+00 },
60 { 9.496286511421203613e-01, -3.133774697780609131e-01,
61 6.362511515617370605e-01, -1.263006091117858887e+00 },
62 { 9.833145737648010254e-01, -1.819131970405578613e-01,
63 8.014013767242431641e-01, -1.165227770805358887e+00 },
64 { 9.955177903175354004e-01, -9.457419067621231079e-02,
65 9.009436368942260742e-01, -1.090092062950134277e+00 },
66 { 9.991605877876281738e-01, -4.096558317542076111e-02,
67 9.581949710845947266e-01, -1.040126085281372070e+00 },
68 { 9.998992085456848145e-01, -1.419856864959001541e-02,
69 9.857006072998046875e-01, -1.014097809791564941e+00 },
70 { 9.999931454658508301e-01, -3.699974622577428818e-03,
71 9.962931871414184570e-01, -1.003693103790283203e+00 }
76 #if CONFIG_MP1FLOAT_DECODER
93 #if CONFIG_MP2FLOAT_DECODER
110 #if CONFIG_MP3FLOAT_DECODER
112 .
p.
name =
"mp3float",
127 #if CONFIG_MP3ADUFLOAT_DECODER
129 .
p.
name =
"mp3adufloat",
130 CODEC_LONG_NAME(
"ADU (Application Data Unit) MP3 (MPEG audio layer 3)"),
144 #if CONFIG_MP3ON4FLOAT_DECODER
146 .
p.
name =
"mp3on4float",
150 .priv_data_size =
sizeof(MP3On4DecodeContext),
151 .
init = decode_init_mp3on4,
152 .close = decode_close_mp3on4,
156 .flush = flush_mp3on4,