1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
Commit Graph

88 Commits

Author SHA1 Message Date
alex
eb6fb0dbc9 Simplified/fixed altivec/altivec.h detection on Linux and Darwin (and others). Patch by Magnus Damm <damm@opensource.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10573 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-11 20:52:53 +00:00
alex
b7c68f8ad3 Changed swab32 from macro to inline function, this fixes compilation on alpha (with gcc2.95). Based on patch by KotH
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10490 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-27 23:02:58 +00:00
alex
c34a7dc93a arm support by armin.gerritsen@philips.com (also seen a patch like this on openzaurus' mplayer port)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10314 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-20 13:10:42 +00:00
michael
9109cc8d20 fixed alignment bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10083 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-07 23:25:25 +00:00
diego
01804c132c this is a important patch for hpux 11.00, because it avoid the
SIGBUS Signal Error if playing video direct from DVD-Rom.
Patch by Martin Gansser <mgansser@ngi.de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10068 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-05 01:22:45 +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
418e699d7e An AltiVec-enhanced IMDCT for liba52 (liba52/imdct.c)
It's nearly bit-perfect, I have a couple of lsb
    changed in a 128 frames sample. I can't hear the
    differences :-)
patch by Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9002 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 19:28:29 +00:00
arpi
b987127e0e compiler warning fixes
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:56:35 +00:00
michael
01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
michael
a137434053 minor optimization & gcc-CVS fix/workaround patch by (Glen Nakamura <glen at imodulo dot com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8231 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 10:12:03 +00:00
arpi
f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
jkeil
3d21da3186 The ALT_BITSTREAM_READER code does not work on SPARC, because the code accesses
32-bit works from unaligned addresses.  For now, disable ALT_BITSTREAM_READER
on SPARC.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7256 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 17:15:08 +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
arpi
278b3ae129 various openbsd and general warning fixes - patch by Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6058 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-12 02:18:52 +00:00
michael
65a461036c trying to fix nicks bugs ...
someone with a 3dnow cpu please test this ASAP


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5913 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 23:33:43 +00:00
nick
2fe888069c Restore K7 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4498 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 10:27:26 +00:00
nick
20e408a606 K7 id
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4262 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 18:20:24 +00:00
atmos4
4e3181a168 mangle for win32 in liba52 (includes dummy mangle.h pointing to the one in main)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4248 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 05:12:34 +00:00
nick
8594ea6dbc 3dnow optimization. Not all functions are tested!!!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4234 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-18 09:58:43 +00:00
michael
247ca52f00 more bitstream_skip()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4055 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 14:55:36 +00:00
michael
f2cd1a822b bitstream_skip() instead of bitstream_get() if possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4054 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 14:49:17 +00:00
arpi
e7ed9710f6 mono ac3 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3968 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-03 22:59:21 +00:00
michael
d5ea3b4e44 runtime cpudetect the liba52 way part 2 (downmix.c)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3911 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 21:53:56 +00:00
arpi
1d213cc5e4 c, mmx versions separated. a52 style runtime stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3910 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 21:44:10 +00:00
michael
8a95255ef2 runtime cpudetect in liba52 way
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3909 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 21:38:53 +00:00
arpi
2addc399ab pass accel flags to a52_resample_init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3908 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 20:42:49 +00:00
arpi
31d7699946 SSE added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3906 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 20:26:19 +00:00
michael
7dc503f36b runtime cpudetect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3905 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 19:57:14 +00:00
arpi
5de470e9d0 CRC code ported from libac3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3891 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 04:42:42 +00:00
michael
8066b4ad33 ported 3dnow(ex) optimizations from libac3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3885 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 01:47:27 +00:00
michael
5df91323f6 mix22toS & move2to1 in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3742 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 17:45:25 +00:00
michael
f9c8122cae mix31to2 & mix31toS in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3741 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 17:36:54 +00:00
michael
1c6fe45189 mix21to2 & mix21toS in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3740 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 17:29:12 +00:00
michael
26e195ff89 memset(?, 0, 256*sizeof(float)) in MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3739 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 17:19:18 +00:00
melanson
62ca4bb318 Fixed #ifdef discrepancy that was breaking compilation on PPC platform
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3721 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 21:28:30 +00:00
michael
17fe8edd9b mix3to1 in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3680 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 17:52:27 +00:00
michael
e45a5b59f8 mix3to2 in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3679 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 17:32:34 +00:00
michael
c2aab97909 mix5to1 & mix4to1 in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3678 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 17:16:07 +00:00
michael
34017c2089 mix2to1 in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3676 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 17:08:33 +00:00
michael
3e6ce4f646 sse optimize of 3F
bugfix in 3F2R


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3655 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-22 00:55:58 +00:00
michael
5259ea04fc 3F2R sse optimized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3654 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-22 00:33:52 +00:00
michael
1ac3abfe2d runtime cpu detection for the resample stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3627 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 20:20:06 +00:00
michael
43e3a79618 sse opt of mix32toS()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3626 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 19:35:08 +00:00
michael
45d1802072 sse opt of mix32to2()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3625 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 18:58:05 +00:00
michael
2df1079043 adding some comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3624 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 18:42:36 +00:00
michael
1db88fbdcb removing unnecessary sse sin/cos LUT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3585 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 17:29:27 +00:00
michael
7e81abb944 sse opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3582 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 15:59:01 +00:00
michael
6682ec830b runtime cpu detection for the idct
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3580 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 04:00:29 +00:00
michael
1db3d17b8a mmx opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3579 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 03:00:04 +00:00
michael
0a76350996 mmx opt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3578 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 02:48:14 +00:00