summaryrefslogtreecommitdiffstats
path: root/mp3lib
Commit message (Collapse)AuthorAgeFilesLines
* Start unifying names of internal preprocessor directives.diego2008-07-305-6/+6
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove AltiVec vector declaration compiler compatibility macros.diego2008-07-261-9/+3
| | | | | | | | | | | The original problem was that FSF and Apple gcc used a different syntax for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support the standard {} syntax and versions that support {} are available on all relevant Mac OS X versions. Thus the greater compatibility is no longer worth cluttering the code with macros. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27350 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for HAVE_ALTIVEC_VECTOR_BRACES instead of __APPLE_CC__.diego2008-05-301-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26927 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge mp3lib/Makefile into top-level Makefile.diego2008-04-271-19/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26555 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert accidentally committed changes.diego2008-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26540 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only add loader to parts if WIN32DLL is enabled.diego2008-04-251-1/+1
| | | | | | | Plus, some unrelated changes to mp3lib/Makefile committed by accident. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only compile decode_i586.c on x86_32.diego2008-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26537 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless comments with compilation commands.diego2008-04-252-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26536 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix test program linking.diego2008-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26535 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add return statement, fixes the warning:diego2008-04-251-1/+1
| | | | | | | test.c:75: warning: control reaches end of non-void function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26534 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant declaration, fixes the warning:diego2008-04-251-1/+0
| | | | | | | | test.c:15: warning: redundant redeclaration of 'gCpuCaps' ../cpudetect.h:53: warning: previous declaration of 'gCpuCaps' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26533 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add return statement, fixes the warning:diego2008-04-251-1/+1
| | | | | | | test2.c:72: warning: control reaches end of non-void function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26532 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.diego2008-04-251-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26531 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include, fixes the warning:diego2008-04-251-0/+1
| | | | | | | test2.c:65: warning: implicit declaration of function 'memcpy' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26530 b3059339-0415-0410-9bf9-f77b7e298cf2
* Take name of getch file to link against from config.mak.diego2008-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26529 b3059339-0415-0410-9bf9-f77b7e298cf2
* Expand conditional addition of elements to variables with a form that permitsdiego2008-04-241-5/+3
| | | | | | | using two conditions. This allows getting rid of some ifeqs in Makefiles. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use directory name as library name template.diego2008-04-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26498 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include config.h before all other headers.diego2008-03-142-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Refactor AltiVec macros as done for FFmpeg.diego2008-02-181-14/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26028 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always use inline instead of _inline, the former is supported by allreimar2008-01-271-4/+0
| | | | | | | compilers we care about, while e.g. ICC does not support the later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25876 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary <signal.h> includesuau2008-01-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove ugly and inconsistent uppercasing from filenames.diego2007-12-124-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25378 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Move public function declarations together.diego2007-12-121-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25377 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing declaration for dct64_altivec, fixes the warning:diego2007-12-121-0/+2
| | | | | | | | | | In file included from layer3.c:1171, from sr1.c:391: decod386.c: In function 'synth_1to1': decod386.c:145: warning: implicit declaration of function 'dct64_altivec' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25376 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include <stdio.h>, fixes the warning:diego2007-12-111-0/+1
| | | | | | | | | dct64_altivec.c: In function 'dct64_altivec': dct64_altivec.c:74: warning: implicit declaration of function 'printf' dct64_altivec.c:74: warning: incompatible implicit declaration of built-in function 'printf' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25369 b3059339-0415-0410-9bf9-f77b7e298cf2
* There is a check for altivec.h in configure so use the preprocessor directivediego2007-12-111-1/+1
| | | | | | | set by configure instead of an OS-specific directive when #including altivec.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25356 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace SYS_DARWIN conditional directive around gcc macros by __APPLE_CC__.diego2007-12-111-3/+3
| | | | | | | The macro definition depends on compiler capabilities, not OS features. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25355 b3059339-0415-0410-9bf9-f77b7e298cf2
* Identifiers starting with __ are reserved for the system.diego2007-12-112-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless HAVE_ALTIVEC around the whole file, it is only compiled whendiego2007-12-111-5/+0
| | | | | | | HAVE_ALTIVEC is set anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25352 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:diego2007-08-251-4/+0
| | | | | | | | | | In file included from layer3.c:1171, from sr1.c:391: decod386.c:106: warning: redundant redeclaration of 'synth_1to1_MMX' mpg123.h:120: warning: previous declaration of 'synth_1to1_MMX' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24193 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of duplicate processor feature variables.diego2007-06-271-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23684 b3059339-0415-0410-9bf9-f77b7e298cf2
* Follow ffmpeg TARGET_ARCH_* -> ARCH_* change.reimar2007-06-161-1/+1
| | | | | | Feel free to revert if you do not like it, but I want to get MPlayer to compile again. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable SIMD optmizations for mp3lib on AMD64zuxy2007-06-083-11/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change some static temporary vars to automatic ones because mingw32 binutilszuxy2007-06-062-4/+4
| | | | | | | couldn't align them properly. Also 1% faster decode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23485 b3059339-0415-0410-9bf9-f77b7e298cf2
* Align output pointer so that we can use movaps instead of movups in dct64_sse;zuxy2007-06-064-19/+9
| | | | | | | 1.5% faster decode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23484 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-1/+1
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change '%ld' to '%d' to remove warnings introduced by r23452zuxy2007-06-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23460 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct dct64 functions' declarationszuxy2007-06-045-13/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23459 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove non-existing make_decode_tables_MMX()zuxy2007-06-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23453 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use int and uint32_t instead of long and unsigned long, when appropriate.zuxy2007-06-026-26/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23452 b3059339-0415-0410-9bf9-f77b7e298cf2
* Record what was produced by make_decode_table_MMX() and used that data tozuxy2007-05-254-164/+138
| | | | | | | | initialize mp3lib_decwins directly, then remove call to make_decode_table_MMX() and tabinit_MMX.c itself. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23383 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove hardcoded registerszuxy2007-05-231-67/+67
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23378 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace hardcoded 32-bit leal with equivalent add/sub so pointer arithmetic ↵zuxy2007-05-221-11/+10
| | | | | | will be 64-bit under AMD64 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23376 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused synth_1to1_mono()zuxy2007-05-221-21/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23374 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rewrite generic code in decode_MMX.c in C for easier AMD64 port. Slightly ↵zuxy2007-05-212-55/+37
| | | | | | faster than original assembly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23360 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix bug in reference codezuxy2007-05-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23341 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move test program removal on distclean to mpcommon.mak.diego2007-03-241-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22802 b3059339-0415-0410-9bf9-f77b7e298cf2
* Nuke MIPS-specific compiler bug workaround, it's unlikely to help anyway.diego2007-03-171-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22703 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify setting special CFLAGS for decode_i586.o.diego2007-03-151-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify conditional expression.diego2007-03-151-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove Darwin AltiVec CFLAGS settings, configure handles this.diego2007-03-151-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22612 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove addition of AltiVec flags to CFLAGS, configure takes care of this.diego2007-03-151-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22607 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix test program compilation.diego2007-03-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22555 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename mp3lib/libMP3.a to mp3lib/libmp3.a for consistency.diego2007-03-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22554 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix indentation, reorder some lines for consistency.diego2007-03-131-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give more descriptive names to the source and library variables and splitdiego2007-03-131-9/+9
| | | | | | | between common, MPlayer-specific and MEncoder-specific parts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing registers to asm code in mp3libreimar2007-03-013-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22393 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure buffer is aligned so no unaligned access happens.reimar2007-02-051-5/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22158 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around libavutil/bswap.h compilation problems due to always_inline ↵reimar2006-12-071-1/+1
| | | | | | undefined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bswap.h, use libavutil/bswap.h instead.diego2006-11-291-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg-style dependency declarationdiego2006-11-271-12/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21325 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant ifeq ($(TARGET_ARCH_POWERPC),yes), AltiVec exists only on PPC.diego2006-11-271-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21324 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify test program generation.diego2006-11-271-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21312 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove superfluous CFLAGS declaration (is in mpcommon.mak).diego2006-11-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21311 b3059339-0415-0410-9bf9-f77b7e298cf2
* There are no .s files in mp3lib/, remove the corresponding suffix rule.diego2006-11-271-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21310 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary header indirection.diego2006-11-271-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge common parts of all Makefiles into one file included by all.diego2006-11-261-26/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove superfluous comment.diego2006-11-251-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify dep/depend targets.diego2006-11-201-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove (now hopefully unnecessary) workarounds added in r21056reimar2006-11-193-18/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21065 b3059339-0415-0410-9bf9-f77b7e298cf2
* directly insert ffreep %%st(0) opcode for compatibility with oldreimar2006-11-191-8/+1
| | | | | | | binutils instead of darwin-specific workaround. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21063 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use ASMALIGN macro for better compatibility and remove SYS_DARWINreimar2006-11-191-4/+2
| | | | | | | #ifdef hack introduced in r21056. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21062 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid code like "fstps %1+64(,%%ecx,4)\n\t", it might end up asreimar2006-11-191-16/+16
| | | | | | | "fstps (%eax)+64(,%ecx,4)", which will not compile. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21060 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix mp3lib compilation on OSXnplourde2006-11-195-1/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21056 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix clobber list, half of the modified registers were missing.reimar2006-11-191-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21043 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp3lib asm does not compile on AMD64.reimar2006-11-012-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20591 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable nonworking/broken code for now till I find out what it is supposed ↵reimar