summaryrefslogtreecommitdiffstats
path: root/mp3lib
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 13:52:59 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 13:52:59 +0000
commit7f120a0443546b0aa46fee4f801f4af834965bfc (patch)
tree1df140c5268b306fd04866671d1306a8364ba3e3 /mp3lib
parentdcd229d6fc4081cfa1b11aa9e25a129a31034bd9 (diff)
downloadmpv-7f120a0443546b0aa46fee4f801f4af834965bfc.tar.bz2
mpv-7f120a0443546b0aa46fee4f801f4af834965bfc.tar.xz
Declare all public mp3lib functions in mpg123.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30700 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib')
-rw-r--r--mp3lib/decode_mmx.c1
-rw-r--r--mp3lib/mpg123.h9
-rw-r--r--mp3lib/sr1.c8
3 files changed, 9 insertions, 9 deletions
diff --git a/mp3lib/decode_mmx.c b/mp3lib/decode_mmx.c
index de48cd41b7..211630f219 100644
--- a/mp3lib/decode_mmx.c
+++ b/mp3lib/decode_mmx.c
@@ -11,7 +11,6 @@
#include "mangle.h"
#include "mpg123.h"
-extern void (*dct64_MMX_func)(short*, short*, real*);
static const unsigned long long attribute_used __attribute__((aligned(8))) null_one = 0x0000ffff0000ffffULL;
static const unsigned long long attribute_used __attribute__((aligned(8))) one_null = 0xffff0000ffff0000ULL;
const unsigned int __attribute__((aligned(16))) costab_mmx[] =
diff --git a/mp3lib/mpg123.h b/mp3lib/mpg123.h
index f55fb27e43..3d98366b4f 100644
--- a/mp3lib/mpg123.h
+++ b/mp3lib/mpg123.h
@@ -129,6 +129,15 @@ void dct36_3dnow(real *, real *, real *, real *, real *);
void dct36_3dnowex(real *, real *, real *, real *, real *);
void dct36_sse(real *, real *, real *, real *, real *);
+void dct64_MMX(short *, short *, real *);
+void dct64_MMX_3dnow(short *, short *, real *);
+void dct64_MMX_3dnowex(short *, short *, real *);
+void dct64_sse(short *, short *, real *);
+void dct64_altivec(real *, real *, real *);
+void (*dct64_MMX_func)(short *, short *, real *);
+
+void mp3lib_dct64(real *, real *, real *);
+
typedef int (*synth_func_t)( real *,int,short * );
typedef void (*dct36_func_t)(real *,real *,real *,real *,real *);
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c
index ee9e336877..72502d61ee 100644
--- a/mp3lib/sr1.c
+++ b/mp3lib/sr1.c
@@ -387,14 +387,6 @@ static int _has_mmx = 0; // used by layer2.c, layer3.c to pre-scale coeffs
/* PUBLIC FUNCTIONS */
/******************************************************************************/
-/* It's hidden from gcc in assembler */
-void dct64_MMX(short *, short *, real *);
-void dct64_MMX_3dnow(short *, short *, real *);
-void dct64_MMX_3dnowex(short *, short *, real *);
-void dct64_sse(short *, short *, real *);
-void dct64_altivec(real *, real *, real *);
-void (*dct64_MMX_func)(short *, short *, real *);
-
#include "layer2.c"
#include "layer3.c"
#include "layer1.c"