1 #ifndef MPG123_H_OPTIMIZE 2 #define MPG123_H_OPTIMIZE 119 static const char dn_autodec[] =
"auto";
120 static const char dn_generic[] =
"generic";
121 static const char dn_generic_dither[] =
"generic_dither";
122 static const char dn_idrei[] =
"i386";
123 static const char dn_ivier[] =
"i486";
124 static const char dn_ifuenf[] =
"i586";
125 static const char dn_ifuenf_dither[] =
"i586_dither";
126 static const char dn_mmx[] =
"MMX";
127 static const char dn_dreidnow[] =
"3DNow";
128 static const char dn_dreidnowext[] =
"3DNowExt";
129 static const char dn_altivec[] =
"AltiVec";
130 static const char dn_sse[] =
"SSE";
131 static const char dn_x86_64[] =
"x86-64";
132 static const char dn_arm[] =
"ARM";
133 static const char dn_neon[] =
"NEON";
134 static const char dn_neon64[] =
"NEON64";
135 static const char dn_avx[] =
"AVX";
136 static const char dn_dreidnow_vintage[] =
"3DNow_vintage";
137 static const char dn_dreidnowext_vintage[] =
"3DNowExt_vintage";
138 static const char dn_sse_vintage[] =
"SSE_vintage";
139 static const char dn_nodec[] =
"nodec";
140 static const char* decname[] =
160 ,dn_dreidnowext_vintage
185 #define ALIGNED(a) __declspec(align(a)) 187 #define ALIGNED(a) __attribute__((aligned(a))) 195 #if (defined OPT_I486) || (defined OPT_I586) || (defined OPT_I586_DITHER) \ 196 || (defined OPT_MMX) || (defined OPT_SSE) || (defined_OPT_ALTIVEC) \ 197 || (defined OPT_3DNOW) || (defined OPT_3DNOWEXT) || (defined OPT_X86_64) \ 198 || (defined OPT_3DNOW_VINTAGE) || (defined OPT_3DNOWEXT_VINTAGE) \ 199 || (defined OPT_SSE_VINTAGE) \ 200 || (defined OPT_NEON) || (defined OPT_NEON64) || (defined OPT_AVX) \ 201 || (defined OPT_GENERIC_DITHER) 202 #error "Bad decoder choice together with fixed point math!" 206 #if (defined NO_LAYER1 && defined NO_LAYER2) 212 # define defopt generic 216 #ifdef OPT_GENERIC_DITHER 219 # define defopt generic_dither 228 #error "i486 can only work alone!" 230 #define FIR_BUFFER_SIZE 128 237 # define defopt idrei 244 # define defopt ifuenf 248 #ifdef OPT_I586_DITHER 252 # define defopt ifuenf_dither 272 # define opt_dct36(fr) dct36_sse 276 #ifdef OPT_SSE_VINTAGE 290 # define defopt dreidnowext 295 #ifdef OPT_3DNOWEXT_VINTAGE 300 # define defopt dreidnowext_vintage 301 # define opt_dct36(fr) dct36_3dnowext 314 # define defopt dreidnow 319 #ifdef OPT_3DNOW_VINTAGE 322 # define defopt dreidnow_vintage 323 # define opt_dct36(fr) dct36_3dnow 329 # define defopt altivec 336 # define defopt x86_64 337 # define opt_dct36(fr) dct36_x86_64 345 # define opt_dct36(fr) dct36_avx 359 # define opt_dct36(fr) dct36_neon 366 # define defopt neon64 367 # define opt_dct36(fr) dct36_neon64 382 # define defopt nodec 384 # if (defined OPT_3DNOW_VINTAGE || defined OPT_3DNOWEXT_VINTAGE || defined OPT_SSE || defined OPT_X86_64 || defined OPT_AVX || defined OPT_NEON || defined OPT_NEON64) 385 # define opt_dct36(fr) ((fr)->cpu_opts.the_dct36) 391 # define opt_dct36(fr) dct36 int frame_cpu_opt(mpg123_handle *fr, const char *cpu)
enum optdec dectype(const char *decoder)
enum optcla decclass(const enum optdec)
int set_synth_functions(mpg123_handle *fr)
void check_decoders(void)