summaryrefslogtreecommitdiffstats
path: root/mp3lib
Commit message (Collapse)AuthorAgeFilesLines
* 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 ↵reimar2006-10-292-0/+6
| | | | | | to do. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20520 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify OBJS handling.diego2006-10-191-9/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20312 b3059339-0415-0410-9bf9-f77b7e298cf2
* always use 3dnowext version of dct64 when supported by the CPU (K6-3+ and up).gpoirier2006-08-231-1/+1
| | | | | | | | | | Patch by Zuxy Meng Original thread: Date: Aug 9, 2006 7:05 AM Subject: Re: [MPlayer-dev-eng] [PATCH] Saturation & PSWAPD bugfix in mp3lib/dct64_3dnow.c & mp3lib/dct64_k7.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19506 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.diego2006-08-182-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify licensing situation.diego2006-07-301-6/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19270 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, i missed ifdefs around the callsrfelker2006-07-192-1/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19138 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not compile mmx/sse/3dnow code if not availablerfelker2006-07-191-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19136 b3059339-0415-0410-9bf9-f77b7e298cf2
* OPTFLAGS already includes EXTRA_INC.diego2006-07-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix sound distortion on K-6, patch by Zuxy Meng zuxy PP meng AHHH gmail PP comgpoirier2006-07-081-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18946 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add dct64_sse, a replacement for dct64_MMX. About 60% faster on its author's ↵gpoirier2006-07-074-3/+447
| | | | | | | | | | | | | Pentium III Currently only used on CPUs that _only_ support SSE (otherwise try 3DNow* before) Patch by The Mighty Zuxy Meng %zuxy * meng $ gmail * com% Original thread: Date: Jun 21, 2006 10:20 AM Subject: [MPlayer-dev-eng] [PATCH] SSE version of DCT64 for mp3lib git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18937 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing license, as chosen by its authorgpoirier2006-06-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18852 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove MMX2 dependency (replace pshufw $78 with pswapd) so it cangpoirier2006-06-271-32/+32
| | | | | | | | | | | be used on a K6-2/3+. Patch by Zuxy Meng < zuxy PP meng AH gmail PP com > Original thread: Date: Jun 21, 2006 2:50 PM Subject: [MPlayer-dev-eng] [PATCH] Saturation & PSWAPD bugfix in mp3lib/dct64_3dnow.c & mp3lib/dct64_k7.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18838 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix conversion float to int to use saturated ops,gpoirier2006-06-272-41/+52
| | | | | | | | | | Patch by Zuxy Meng < zuxy PP meng AH gmail PP com > Original thread: Date: Jun 21, 2006 2:50 PM Subject: [MPlayer-dev-eng] [PATCH] Saturation & PSWAPD bugfix in mp3lib/dct64_3dnow.c & mp3lib/dct64_k7.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18837 b3059339-0415-0410-9bf9-f77b7e298cf2
* CVS --> Subversion in copyright noticesdiego2006-06-2213-26/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now obsolete .cvsignore files.diego2006-06-021-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make mp3lib say that it's using Altivec to decode instead of generic Cdiego2006-04-151-0/+7
| | | | | | | | when it uses the optimized IMDCT. patch by Alexander Strange, astrange __ at __ ithinksw __ dot __ com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18102 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-092-8/+8
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make clean/distclean behave uniformly in all directories.diego2006-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse commit 31 Dec 2005 18:56:35 -0000 1.34gpoirier2006-01-031-2/+1
| | | | | | | | | | This was an incorrect fix made at the codec when it should be done at the demuxer level. static variables in codecs are ALWAYS wrong: the demuxer is supposed to have already removed all the junk Does anyone have an idea of a fix for the demuxer? (discussed on IRC) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17301 b3059339-0415-0410-9bf9-f77b7e298cf2
* "Currently mplayer looks for only one MP3 frame sync. The attachedgpoirier2005-12-311-1/+2
| | | | | | | | | | | | | | | | | | patch makes it to look for two consecutive valid MP3 frame headers, reducing the probability of false positives, which causes Bug 380. Funny that the fix is so simple. Seems that someone has forgotten to initialize MP3_resync correctly. Also this is the recommended way to sync MP3 frames. See http://www.dv.co.yu/mpgscript/mpeghdr.htm. " Original thread: Date: Dec 31, 2005 10:15 AM Subject: [MPlayer-dev-eng] [PATCH] Try twice when searching for MP3 frame header, fixes Bug 380 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.diego2005-11-1511-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16990 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l broken asm crap needs an external namerfelker2005-10-252-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16859 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not export useless symbols! fixed compile bug with decode support in lamerfelker2005-10-252-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16853 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark modified imported files as such to comply with (L)GPL §2a.diego2005-04-1513-0/+74
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use proper parameter range in stereo testhenry2005-04-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15104 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity.diego2004-11-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
* compilation fix for gcc 3.4.2reimar2004-11-112-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13919 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-1/+1
| |