Mercurial > mplayer.hg
comparison mp3lib/sr1.c @ 25349:b257a1967539
cosmetics: Move public function declarations together.
author | diego |
---|---|
date | Wed, 12 Dec 2007 08:45:05 +0000 |
parents | 98598befcdd7 |
children | f689811209b1 |
comparison
equal
deleted
inserted
replaced
25348:98598befcdd7 | 25349:b257a1967539 |
---|---|
384 return frames; | 384 return frames; |
385 } | 385 } |
386 | 386 |
387 static int _has_mmx = 0; // used by layer2.c, layer3.c to pre-scale coeffs | 387 static int _has_mmx = 0; // used by layer2.c, layer3.c to pre-scale coeffs |
388 | 388 |
389 extern void dct64_altivec(real *, real *, real *); | |
390 | |
391 #include "layer2.c" | |
392 #include "layer3.c" | |
393 #include "layer1.c" | |
394 | |
395 /******************************************************************************/ | 389 /******************************************************************************/ |
396 /* PUBLIC FUNCTIONS */ | 390 /* PUBLIC FUNCTIONS */ |
397 /******************************************************************************/ | 391 /******************************************************************************/ |
398 | 392 |
399 /* It's hidden from gcc in assembler */ | 393 /* It's hidden from gcc in assembler */ |
400 extern void dct64_MMX(short *, short *, real *); | 394 extern void dct64_MMX(short *, short *, real *); |
401 extern void dct64_MMX_3dnow(short *, short *, real *); | 395 extern void dct64_MMX_3dnow(short *, short *, real *); |
402 extern void dct64_MMX_3dnowex(short *, short *, real *); | 396 extern void dct64_MMX_3dnowex(short *, short *, real *); |
403 extern void dct64_sse(short *, short *, real *); | 397 extern void dct64_sse(short *, short *, real *); |
398 extern void dct64_altivec(real *, real *, real *); | |
404 void (*dct64_MMX_func)(short *, short *, real *); | 399 void (*dct64_MMX_func)(short *, short *, real *); |
400 | |
401 #include "layer2.c" | |
402 #include "layer3.c" | |
403 #include "layer1.c" | |
405 | 404 |
406 #include "cpudetect.h" | 405 #include "cpudetect.h" |
407 | 406 |
408 // Init decoder tables. Call first, once! | 407 // Init decoder tables. Call first, once! |
409 #ifdef USE_FAKE_MONO | 408 #ifdef USE_FAKE_MONO |