summaryrefslogtreecommitdiffstats
path: root/mp3lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6178 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.arpi2002-05-201-11/+14
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenBSD patch - by Björn Sandell <biorn@dce.chalmers.se>arpi2002-04-291-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5910 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't re-detect cpuarpi2002-04-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5889 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid stdcall on cygwin, it causes undefined ref, code needs testing as I ↵atmos42002-04-262-2/+12
| | | | | | have no athlon or k6-2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5843 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image.h and img_format.h moved to libmpcodecsarpi2002-04-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
* MANGLE() the 3dnow codearpi2002-03-232-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5292 b3059339-0415-0410-9bf9-f77b7e298cf2
* use .balign instead of .alignarpi2002-03-231-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5291 b3059339-0415-0410-9bf9-f77b7e298cf2
* more ugly hackarpi2002-03-231-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5290 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix according to strange bugreportnick2002-02-091-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4609 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixing compilation on non-MMX but x86 systemsnick2002-01-232-13/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4323 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixing compilation on non-MMX but x86 systemsnick2002-01-232-4/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4322 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove TARGET lofaszpontscho2002-01-191-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using cpudetect code instead of d_cpu.snick2002-01-194-330/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4263 b3059339-0415-0410-9bf9-f77b7e298cf2
* mangling in mp3lib + stdcall undefined fix with cygwinatmos42002-01-194-14/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4247 b3059339-0415-0410-9bf9-f77b7e298cf2
* rewrites symbols in d_cpu.s on cygwinatmos42002-01-192-0/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4245 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix "[MPlayer-dev-eng] mp3lib-mmx sig11 with mpeg1layer3 audio afterkmkaplan2002-01-151-0/+1
| | | | | | | recent changes": decode_MMX.c uses clobbers the frame pointer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4180 b3059339-0415-0410-9bf9-f77b7e298cf2
* S->Cnick2002-01-153-993/+989
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4166 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime cpudetect support #2 - still not working (i can't identify the ↵alex2002-01-141-90/+137
| | | | | | problems ground, also it produces no sound (no noises), but the init seems to be ok (also i didn't changed anything)...very annoying :( snipp git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4151 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime cpudetect suppportalex2002-01-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4150 b3059339-0415-0410-9bf9-f77b7e298cf2
* S->Cnick2002-01-145-1723/+1708
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4149 b3059339-0415-0410-9bf9-f77b7e298cf2
* S->Cnick2002-01-143-322/+308
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4148 b3059339-0415-0410-9bf9-f77b7e298cf2
* S->Cnick2002-01-133-253/+245
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4143 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bugnick2002-01-132-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4142 b3059339-0415-0410-9bf9-f77b7e298cf2
* S->Cnick2002-01-133-162/+155
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4141 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add sample bins.atmos42001-12-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3389 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixedalex2001-11-301-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3220 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable SSE code and reenable FPU dct for SSE cpus (fpu code is 0.3% faster ↵atmos42001-11-293-16/+20
| | | | | | and I don't get data aligned in dct64_sse.s, so I can't finish optimizing it) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3204 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed to use cpudetect.c (to use change te #if 1 -> #if 0 :)alex2001-11-231-0/+83
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3089 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move ignores in subdirs to their respective .cvsignore files.atmos42001-11-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2964 b3059339-0415-0410-9bf9-f77b7e298cf2
* MIPS support by oliver.schoenbrunner@jku.atarpi2001-10-241-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2451 b3059339-0415-0410-9bf9-f77b7e298cf2
* Eeeh I need some sleep, accidently commited a wrong version of the files ↵atmos42001-09-231-6/+4
| | | | | | that had other changes, too. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for mp3 decoding on alpha/64bit platforms wupposed by Bob McElrath.atmos42001-09-231-5/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Applied cpu detection fix by Kjetil Torgrim Homme <kjetilho at linpro dot no>.atmos42001-09-151-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1895 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed Makefile for test programs.atmos42001-08-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Furter compatibility with new ffmpeg stuff.nick2001-07-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1424 b3059339-0415-0410-9bf9-f77b7e298cf2
* First development version of dct64, mixed with 3dnow/k7 and fpu code.atmos42001-07-271-0/+2217
| | | | | | | Phases 1 to 3 seem to be ok already, report if you get strange sound with this version (klicks or distorted sound, that doesn't happen with mmx-only version), I've tested with approx. 20 mp3 files which all sounded ok, speed improvement with this version is still very minimal cause more cpu intensive phases 4 and 5 aren't working so I use fpu code for them. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Beginning sse optimization of dct code.atmos42001-07-272-3/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1394 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp3 audio decoding didn't work on big-endian architecturesjkeil2001-07-141-2/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1319 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some preliminary support for non-x86 architectures to mplayerjkeil2001-07-121-0/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1310 b3059339-0415-0410-9bf9-f77b7e298cf2
* My 2.10.1 gnu assembler doesn't like C comment syntax in assembler files. Usejkeil2001-07-061-4/+4
| | | | | | | "assembler" comment characters ('/') instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1284 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor optimizationnick2001-07-062-18/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1283 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore generated config.mak files in CVSjkeil2001-07-061-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1282 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slight otimizationnick2001-07-054-306/+316
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1278 b3059339-0415-0410-9bf9-f77b7e298cf2
* One flaw is fixednick2001-07-041-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Finished 3dnow optimization (in scalar mode) and minor improvementsnick2001-07-044-857/+833
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1272 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor cleanupsnick2001-07-041-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1271 b3059339-0415-0410-9bf9-f77b7e298cf2
* Partial loops unrollingnick2001-07-031-13/+115
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1260 b3059339-0415-0410-9bf9-f77b7e298cf2
* Portability and old binutils supportnick2001-07-033-9/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1259 b3059339-0415-0410-9bf9-f77b7e298cf2
* #ifndef M_PI and M_SQRT2 added while fearing from redefining :)alex2001-07-021-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1257 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor fixesnick2001-07-022-8/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added newest MMX-optimized decore which speedups decoding at least on 13% ↵nick2001-06-2919-2314/+3210
| | | | | | for any cpu. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1246 b3059339-0415-0410-9bf9-f77b7e298cf2
* OPTFLAGS vs. INCLUDES cleanuparpi2001-06-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Better 3dnow! optimizationnickols_k2001-06-201-14/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1174 b3059339-0415-0410-9bf9-f77b7e298cf2
* fr->sampling_frequency limitation (thanx to pl <p_l@tfz.net>)arpi_esp2001-06-191-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1167 b3059339-0415-0410-9bf9-f77b7e298cf2
* loops alignmentnickols_k2001-06-161-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1136 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor improvementsnickols_k2001-06-093-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1068 b3059339-0415-0410-9bf9-f77b7e298cf2
* Last minute improvements before release. Added banchmarknickols_k2001-06-081-2/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1055 b3059339-0415-0410-9bf9-f77b7e298cf2
* Last minute improvements before releasenickols_k2001-06-081-40/+140
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1054 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor improvementsnickols_k2001-06-073<