summaryrefslogtreecommitdiffstats
path: root/mp3lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r29532Uoti Urpala2009-08-181-4/+4
|\
| * Make sure it builds with -ftracerlu_zero2009-08-041-4/+4
| | | | | | | | | | | | | | | | Use local labels to avoid clashes caused by -ftracer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29476 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29455Uoti Urpala2009-07-291-2/+2
|\|
| * Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.diego2009-07-261-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-1312-110/+110
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove unnecessary libavutil/internal.h includesUoti Urpala2009-07-262-5/+1
| | | | | | | | | | | | | | These includes were added earlier after the definition of the DECLARE_ALIGNED and DECLARE_ASM_CONST macros were moved to this header in FFmpeg. However now those macros are again in the public mem.h header, and there is no need to include internal.h.
* | Remove trailing whitespace from most filesUoti Urpala2009-07-0712-118/+110
|/
* Reduce size of needlessly large mp3lib bandInfoStructreimar2009-03-071-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28866 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make several constant mp3lib tables constreimar2009-03-072-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28865 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move libavutil #includes below all others so that they do not overridediego2009-02-171-2/+3
| | | | | | | | | system functions and cause the warning: In file included from mp3lib/sr1.c:27: /mp_msg.h:115: warning: 'please_use_av_log_instead_of_printf' is an unrecognized format function type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28622 b3059339-0415-0410-9bf9-f77b7e298cf2
* WORDS_BIGENDIAN is defined/undefined, not 0/1.diego2009-01-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28374 b3059339-0415-0410-9bf9-f77b7e298cf2
* some more HAVE_3DNOW --> HAVE_AMD3DNOWdiego2009-01-261-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28373 b3059339-0415-0410-9bf9-f77b7e298cf2
* DECLARE_ALIGNED was moved in FFmpeg.diego2009-01-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28363 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.diego2009-01-251-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28362 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOWEX --> HAVE_3DNOWEXTdiego2009-01-251-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28361 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lots and lots of #ifdef ARCH_... -> #if ARCH_...reimar2009-01-162-12/+14
| | | | | | | | and #ifdef HAVE_MMX etc -> #if HAVE_MMX. There might be still more that need to be fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' keyword to parameterless function declarations.diego2009-01-052-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently include config.h before mangle.h, fixes possible compilationreimar2008-12-152-0/+2
| | | | | | | issues due to r28151 (using EXTERN_PREFIX). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28152 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' to parameterless function declaration.diego2008-12-112-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28129 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-033-27/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.diego2008-10-166-6/+6
| | | | | | | | We were using an inconsistent mix of the three variants and 'volatile' should be the most correct and portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.diego2008-10-166-15/+15
| | | | | | | Neither variant is valid C99 syntax, but __asm__ is the most portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
*