diff options
-rw-r--r-- | mp3lib/decod386.c | 2 | ||||
-rw-r--r-- | mp3lib/decode_MMX.c | 2 | ||||
-rw-r--r-- | mp3lib/decode_i586.c | 2 | ||||
-rw-r--r-- | mp3lib/mpg123.h | 2 | ||||
-rw-r--r-- | mp3lib/tabinit.c | 8 | ||||
-rw-r--r-- | mp3lib/tabinit_MMX.c | 8 |
6 files changed, 12 insertions, 12 deletions
diff --git a/mp3lib/decod386.c b/mp3lib/decod386.c index efbcae0f3b..c76d3bb843 100644 --- a/mp3lib/decod386.c +++ b/mp3lib/decod386.c @@ -202,7 +202,7 @@ static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt) { register int j; - real *window = decwin + 16 - bo1; + real *window = mp3lib_decwin + 16 - bo1; for (j=16;j;j--,b0+=0x10,window+=0x20,samples+=step) { diff --git a/mp3lib/decode_MMX.c b/mp3lib/decode_MMX.c index 13cafda8a8..5ed21c5a2c 100644 --- a/mp3lib/decode_MMX.c +++ b/mp3lib/decode_MMX.c @@ -86,7 +86,7 @@ __asm __volatile( "leal 1(%%ebx), %%ecx\n\t" "subl %5,%%ebx\n\t" "pushl %%ecx\n\t" - "leal "MANGLE(decwins)"(%%ebx,%%ebx,1), %%edx\n\t" + "leal "MANGLE(mp3lib_decwins)"(%%ebx,%%ebx,1), %%edx\n\t" "shrl $1, %%ecx\n\t" ".balign 16\n\t" ".L03:\n\t" diff --git a/mp3lib/decode_i586.c b/mp3lib/decode_i586.c index a2d0a65b43..946116cb07 100644 --- a/mp3lib/decode_i586.c +++ b/mp3lib/decode_i586.c @@ -79,7 +79,7 @@ int synth_1to1_pent(real *bandPtr, int channel, short *samples) " addl $12,%%esp\n\t" " movl %4,%%edx\n\t" " leal 0(,%%edx,4),%%edx\n\t" -" movl $"MANGLE(decwin)"+64,%%eax\n\t" +" movl $"MANGLE(mp3lib_decwin)"+64,%%eax\n\t" " movl %%eax,%%ecx\n\t" " subl %%edx,%%ecx\n\t" " movl $16,%%ebp\n\t" diff --git a/mp3lib/mpg123.h b/mp3lib/mpg123.h index 4df63614fb..41e667b4f6 100644 --- a/mp3lib/mpg123.h +++ b/mp3lib/mpg123.h @@ -108,7 +108,7 @@ struct III_sideinfo }; static long freqs[9]; -extern real decwin[(512+32)]; +extern real mp3lib_decwin[(512+32)]; extern real *pnts[]; static int do_layer2(struct frame *fr,int single); diff --git a/mp3lib/tabinit.c b/mp3lib/tabinit.c index b6b7a3386b..fd17bd95e6 100644 --- a/mp3lib/tabinit.c +++ b/mp3lib/tabinit.c @@ -1,4 +1,4 @@ -real decwin[(512+32)], cos64[32], cos32[16], cos16[8], cos8[4], cos4[2]; +real mp3lib_decwin[(512+32)], cos64[32], cos32[16], cos16[8], cos8[4], cos4[2]; real *pnts[]={ cos64,cos32,cos16,cos8,cos4 }; static long intwinbase[] = { @@ -42,11 +42,11 @@ void make_decode_tables(long scaleval) for(k=0;k<kr;k++) costab[k] = 1.0 / (2.0 * cos(M_PI * ((double) k * 2.0 + 1.0) / (double) divv)); } - table = decwin; + table = mp3lib_decwin; scaleval = -scaleval; for(i=0,j=0;i<256;i++,j++,table+=32) { - if(table < decwin+512+16) + if(table < mp3lib_decwin+512+16) table[16] = table[0] = (double) intwinbase[j] / 65536.0 * (double) scaleval; if(i % 32 == 31) table -= 1023; @@ -56,7 +56,7 @@ void make_decode_tables(long scaleval) for( /* i=256 */ ;i<512;i++,j--,table+=32) { - if(table < decwin+512+16) + if(table < mp3lib_decwin+512+16) table[16] = table[0] = (double) intwinbase[j] / 65536.0 * (double) scaleval; if(i % 32 == 31) table -= 1023; diff --git a/mp3lib/tabinit_MMX.c b/mp3lib/tabinit_MMX.c index 5e7040810d..1881998e67 100644 --- a/mp3lib/tabinit_MMX.c +++ b/mp3lib/tabinit_MMX.c @@ -5,10 +5,10 @@ */ #include "../mangle.h" -long __attribute__((aligned(8))) decwins [544]; +long __attribute__((aligned(8))) mp3lib_decwins [544]; #define real float -extern real decwin[(512+32)]; +extern real mp3lib_decwin[(512+32)]; // static long decwin [544]; static short intwinbase_MMX[] = @@ -95,7 +95,7 @@ void make_decode_tables_MMX(long scaleval) "negl %3\n\t" "jmp .L00\n\t" ".L04:\n\t" - ::"g"(intwinbase_MMX),"m"(decwin[0]),"m"(scaleval),"m"(intwinbase_step) + ::"g"(intwinbase_MMX),"m"(mp3lib_decwin[0]),"m"(scaleval),"m"(intwinbase_step) :"memory","%ebx","%esi","%edi"); intwinbase_step=2; __asm __volatile( @@ -154,6 +154,6 @@ intwinbase_step=2; "negl %3\n\t" "jmp .L05\n\t" ".L13:\n\t" - ::"g"(intwinbase_MMX),"m"(decwins[0]),"m"(scaleval),"m"(intwinbase_step) + ::"g"(intwinbase_MMX),"m"(mp3lib_decwins[0]),"m"(scaleval),"m"(intwinbase_step) :"memory","%ebx","%esi","%edi"); } |