summaryrefslogtreecommitdiffstats
path: root/mp3lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | | Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Index must be positive to prevent endless loop on bad datartognimp2004-09-141-6/+6
| | | | | | | Based on an idea by iive git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13337 b3059339-0415-0410-9bf9-f77b7e298cf2
* small gcc warning fixesrathann2004-08-281-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13189 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid outoptimization of static variables patch by ismail dönmez ↵faust32004-08-031-2/+2
| | | | | | <ismail.donmez at gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12946 b3059339-0415-0410-9bf9-f77b7e298cf2
* ICC 8.0 compilation fixesatmos42004-08-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12929 b3059339-0415-0410-9bf9-f77b7e298cf2
* ranlib cleanup by Dan Christiansenalex2004-06-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
* attribute_used patch by (VMiklos <mamajom at axelero dot hu>)michael2004-04-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12304 b3059339-0415-0410-9bf9-f77b7e298cf2
* attribute_used for gcc3.4alex2004-04-265-6/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12293 b3059339-0415-0410-9bf9-f77b7e298cf2
* reorder funcs to avoid warnings/errors (gccs are nowadays are more pickier ↵alex2004-04-261-34/+31
| | | | | | about code than gcc2.95 with -ansi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12292 b3059339-0415-0410-9bf9-f77b7e298cf2
* some more globalsalex2004-04-062-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12135 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing more globalsalex2004-04-061-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12133 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix symbol clashes when linking with libmp3lame including mp3 decoder, man, ↵alex2004-04-069-45/+38
| | | | | | mp3lib is so much bloated git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12132 b3059339-0415-0410-9bf9-f77b7e298cf2
* copyright update by the authordiego2004-02-191-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11981 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverting my last change as buggy gcc 3.x fails with it :(alex2003-10-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11267 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l to me, noticed by Bjorn Sandellalex2003-10-231-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11247 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l to Nickalex2003-10-231-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11245 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed obsoleted (or never ending) codealex2003-10-224-2255/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11242 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed the stdcall conventionalex2003-10-225-10/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11241 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove debug messagenexus2003-08-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10553 b3059339-0415-0410-9bf9-f77b7e298cf2
* layer-1 supportarpi2003-07-242-5/+162
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10469 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100larpi2003-07-061-1/+3
| | | | | | | found by Koth git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10389 b3059339-0415-0410-9bf9-f77b7e298cf2
* getcpucaps supportalex2003-07-041-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10373 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable L3: BigValues too large messagefaust32003-06-301-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10350 b3059339-0415-0410-9bf9-f77b7e298cf2
* merged with mpg123 0.59s-prearpi2003-06-283-787/+422
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10344 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved 3dnow and 3dnowex dct36 optimisations into gcc inline assemblyalex2003-06-225-1012/+533
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10323 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed bandInfo name clash with libmp3lame v3.93.1 (longLimit and shortLimit ↵alex2003-06-211-3/+3
| | | | | | are also only used in layer3.c so it's safe to make them static too - avoiding further clashes) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10322 b3059339-0415-0410-9bf9-f77b7e298cf2
* objfix has to be run on MINGW32, toofaust32003-03-311-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9772 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10larpi2003-01-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9153 b3059339-0415-0410-9bf9-f77b7e298cf2
* In mp3lib/sr1.c, look at the line 226:arpi2003-01-281-7/+22
| | | | | | | | | | | if(fr->sampling_frequency>8) return FALSE; // valid: 0..8 which allows fr->sampling_frequency to go up to 8. Obviously, the code does not bother about what would happen if fr->sampling_frequency lies in the range [3,8]. patch from Nilmoni Deb, Nick?, Rich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9131 b3059339-0415-0410-9bf9-f77b7e298cf2
* The two attached patches *should* allow for properarpi2003-01-272-2/+24
| | | | | | | | | | compilation of the AltiVec stuff on both Darwin and non-Darwin system. They've only been tested for compilation on Debian using Debian's gcc-3.2. Romain Dolbeau <dolbeau@irisa.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9123 b3059339-0415-0410-9bf9-f77b7e298cf2
* Propolice catches an overflow in dct64_k7.c:arpi2003-01-191-1/+1
| | | | | | | | mplayer: stack overflow in function dct64_MMX_3dnowex patch by Björn Sandell <biorn@dce.chalmers.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9040 b3059339-0415-0410-9bf9-f77b7e298cf2
* An altivec-optimized DCT64 for mp3libarpi2003-01-183-2/+541
| | | | | | | | | | (partially, it seems roughly three times as fast as the C code according to quick-n-dirty gprof tests) This one is bit-perfect. patch by Romain Dolbeau <dolbeau@irisa.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9003 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing that f*cking linker 'bug' e.g. naming config with libmp3lamealex2002-12-246-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8561 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup & fix cpu detection & init stuffarpi2002-12-241-53/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8546 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't redefine decwin as staticarpi2002-12-241-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8545 b3059339-0415-0410-9bf9-f77b7e298cf2
* decode_i586.c version uses %ebp for its own use, so:arpi2002-12-243-9/+15
| | | | | | | | | - we need to compile this with -fomit-frame-pointer or we cannot access the function parameters - we need to save & restore %ebp, or we'll destroy the caller's stack ptr git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8544 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing very ugly esp games / fixes the propolice problem on OpenBSD (patch ↵michael2002-12-151-5/+1
| | | | | | | | | by Björn Sandell <biorn at dce dot chalmers dot se>) i hope this is ok for all compilers ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8454 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgotten mangle patch by (Björn Sandell <biorn at dce dot chalmers dot se>)michael2002-11-192-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8237 b3059339-0415-0410-9bf9-f77b7e298cf2
* layer-1 stream parsing (NOT decoding) supportarpi2002-09-281-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7521 b3059339-0415-0410-9bf9-f77b7e298cf2
* pshufw is a mmx2 instruction, so don't use dct64_MMX_3dnowex on k6-3 whicharpi2002-09-211-1/+1
| | | | | | | has no mmxext (but has 3dnowex) - bug found by Diego, help by Michael git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor speedup by nick kurshev.atmos42002-09-071-64/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7308 b3059339-0415-0410-9bf9-f77b7e298cf2
* - GCC 3.x (SPARC) is too clever for the double->int conversion trick used injkeil2002-09-061-10/+3
| | | | | | | | | | | | | | | | the WRITE_SAMPLE macro. Use a union instead of a cast to get at the binary representation of the double's mantissa. This should fix: http://mplayerhq.hu/pipermail/mplayer-users/2002-August/018948.html http://mplayerhq.hu/pipermail/mplayer-users/2002-August/019296.html http://mplayerhq.hu/pipermail/mplayer-users/2002-September/020348.html - garbage collect the unused CAN_COMPILE_X86 define git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7300 b3059339-0415-0410-9bf9-f77b7e298cf2
* make test1 && make test2 fixedarpi2002-09-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7235 b3059339-0415-0410-9bf9-f77b7e298cf2
* use dir/libname.a instead of -Ldir -lnamearpi2002-08-291-2/+2
| | | | | | | | | partially done by "Steven M. Schultz" <sms@2BSD.COM> Note: some entries (libmpdvdkit, libdha) left unchanged as they may be dynamic and not shipped with mplayer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7149 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cygwin stdcall mismatch fix.atmos42002-05-244-20/+5