Commit Graph

118 Commits

Author SHA1 Message Date
alex 31ff51c869 reverting my last change as buggy gcc 3.x fails with it :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11267 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-25 23:13:54 +00:00
alex c83a712618 10l to me, noticed by Bjorn Sandell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11247 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-23 12:10:44 +00:00
alex 59a7eeda13 100l to Nick
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11245 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-23 00:01:23 +00:00
alex 44792402b2 removed obsoleted (or never ending) code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11242 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 21:08:46 +00:00
alex cf069df98e removed the stdcall convention
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11241 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 20:58:46 +00:00
nexus ab156d8eba remove debug message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10553 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-09 19:15:40 +00:00
arpi bb0e90b4f7 layer-1 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10469 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-24 22:12:59 +00:00
arpi 8810c95cf7 100l
found by Koth


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10389 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-06 18:03:11 +00:00
alex 0aa87dc1fe getcpucaps support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10373 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-04 21:38:17 +00:00
faust3 b378151991 disable L3: BigValues too large message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10350 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-30 12:46:13 +00:00
arpi 4cb0807bce merged with mpg123 0.59s-pre
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10344 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-28 22:52:36 +00:00
alex d0cf347a62 moved 3dnow and 3dnowex dct36 optimisations into gcc inline assembly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10323 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-22 03:32:16 +00:00
alex 0865846ecb fixed bandInfo name clash with libmp3lame v3.93.1 (longLimit and shortLimit 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
2003-06-21 23:45:07 +00:00
faust3 5d1765ffc7 objfix has to be run on MINGW32, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9772 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-31 17:08:16 +00:00
arpi fdb993b995 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9153 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 10:00:40 +00:00
arpi 14dbc88482 In mp3lib/sr1.c, look at the line 226:
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
2003-01-28 00:25:38 +00:00
arpi 54cbe5eec3 The two attached patches *should* allow for proper
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
2003-01-27 21:47:25 +00:00
arpi 15e32ab3b7 Propolice catches an overflow in dct64_k7.c:
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
2003-01-19 21:50:50 +00:00
arpi f0c90c8e00 An altivec-optimized DCT64 for mp3lib
(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
2003-01-18 19:28:53 +00:00
alex 593a458f0c fixing that f*cking linker 'bug' e.g. naming config with libmp3lame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8561 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-24 22:33:46 +00:00
arpi aef5a1f041 cleanup & fix cpu detection & init stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8546 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-24 00:06:55 +00:00
arpi 921712c4ca don't redefine decwin as static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8545 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-24 00:06:33 +00:00
arpi e12f387870 decode_i586.c version uses %ebp for its own use, so:
- 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
2002-12-24 00:05:43 +00:00
michael 113aada89c removing very ugly esp games / fixes the propolice problem on OpenBSD (patch 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
2002-12-15 10:54:33 +00:00
michael 7a5657ff93 forgotten mangle patch by (Björn Sandell <biorn at dce dot chalmers dot se>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8237 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-19 23:35:51 +00:00
arpi ad8bc3c607 layer-1 stream parsing (NOT decoding) support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7521 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-28 02:03:09 +00:00
arpi e54a51d7c7 pshufw is a mmx2 instruction, so don't use dct64_MMX_3dnowex on k6-3 which
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
2002-09-21 20:23:49 +00:00
atmos4 da6df2b165 Minor speedup by nick kurshev.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7308 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-07 13:57:41 +00:00
jkeil e4de7b6322 - GCC 3.x (SPARC) is too clever for the double->int conversion trick used in
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
2002-09-06 17:34:52 +00:00
arpi 3ea9eaa4cc make test1 && make test2 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7235 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-01 18:25:24 +00:00
arpi ae8ff3e445 use dir/libname.a instead of -Ldir -lname
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
2002-08-29 21:30:57 +00:00
atmos4 4ade55ceac Cygwin stdcall mismatch fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6178 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-24 01:56:01 +00:00
arpi c835270280 big cosmetics patch, cleanup of messages printed by mplayer and libs.
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
2002-05-20 03:25:26 +00:00
arpi 9ab3c3b38c OpenBSD patch - by Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5910 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 21:42:36 +00:00
arpi aa97b0e2c0 don't re-detect cpu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5889 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-28 17:46:15 +00:00
atmos4 b2697e2516 Avoid stdcall on cygwin, it causes undefined ref, code needs testing as I have no athlon or k6-2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5843 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-26 19:14:47 +00:00
arpi 2bea9b36a7 mp_image.h and img_format.h moved to libmpcodecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 19:14:34 +00:00
arpi 27a401bacb MANGLE() the 3dnow code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5292 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-23 21:48:55 +00:00
arpi ea4b9eb45f use .balign instead of .align
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5291 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-23 21:44:05 +00:00
arpi 8311e1c5b2 more ugly hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5290 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-23 21:35:03 +00:00
nick 420300295a Fix according to strange bugreport
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4609 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 14:34:08 +00:00
nick a5a2bec673 Fixing compilation on non-MMX but x86 systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4323 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-23 17:27:07 +00:00
nick 58d3b8ec23 Fixing compilation on non-MMX but x86 systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4322 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-23 17:09:58 +00:00
pontscho dc62e094dd remove TARGET lofasz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4267 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 21:21:00 +00:00
nick ff4cca939b Using cpudetect code instead of d_cpu.s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4263 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 18:22:22 +00:00
atmos4 e6f0381dc2 mangling in mp3lib + stdcall undefined fix with cygwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4247 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 04:47:32 +00:00
atmos4 f9c30c90ba rewrites symbols in d_cpu.s on cygwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4245 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 04:42:09 +00:00
kmkaplan aeffacbc47 Fix "[MPlayer-dev-eng] mp3lib-mmx sig11 with mpeg1layer3 audio after
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
2002-01-15 21:00:20 +00:00
nick f7c8f64850 S->C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4166 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-15 09:01:39 +00:00
alex 4ad244810f runtime cpudetect support #2 - still not working (i can't identify the 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
2002-01-14 16:18:43 +00:00