1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 02:52:10 +00:00
Commit Graph

104 Commits

Author SHA1 Message Date
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
alex
c35693f42b runtime cpudetect suppport
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4150 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 16:15:59 +00:00
nick
ae336e9ea2 S->C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 10:34:38 +00:00
nick
2da69665f6 S->C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4148 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 09:32:51 +00:00
nick
fc77a62a65 S->C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4143 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-13 18:26:58 +00:00
nick
b6f69b1a9c Bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4142 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-13 17:23:32 +00:00
nick
d54038119b S->C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4141 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-13 16:59:18 +00:00
atmos4
389655c7b6 Add sample bins.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3389 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-08 16:57:07 +00:00
alex
d38ab4b67a fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3220 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-30 16:50:37 +00:00
atmos4
4c9621ece7 Disable SSE code and reenable FPU dct for SSE cpus (fpu code is 0.3% faster 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
2001-11-29 18:05:42 +00:00
alex
8afad12f8d changed to use cpudetect.c (to use change te #if 1 -> #if 0 :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3089 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-23 17:16:43 +00:00
atmos4
d2d9565a1a Move ignores in subdirs to their respective .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2964 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-17 23:55:40 +00:00
arpi
b842217f07 MIPS support by oliver.schoenbrunner@jku.at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2451 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-24 14:02:19 +00:00
atmos4
16527c55be Eeeh I need some sleep, accidently commited a wrong version of the files that had other changes, too.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1943 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-09-23 02:07:01 +00:00
atmos4
7ad13f49b4 Fix for mp3 decoding on alpha/64bit platforms wupposed by Bob McElrath.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1942 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-09-23 01:44:37 +00:00