1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00
Commit Graph

194 Commits

Author SHA1 Message Date
zuxy
b4cf5f855c Record what was produced by make_decode_table_MMX() and used that data to
initialize mp3lib_decwins directly, then remove call to
make_decode_table_MMX() and tabinit_MMX.c itself.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23383 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-25 02:52:35 +00:00
zuxy
7792bf8c1f Remove hardcoded registers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23378 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-23 15:31:37 +00:00
zuxy
c31cbc62df Replace hardcoded 32-bit leal with equivalent add/sub so pointer arithmetic will be 64-bit under AMD64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23376 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-22 14:00:39 +00:00
zuxy
6e13c348c3 Remove unused synth_1to1_mono()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23374 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-22 13:44:14 +00:00
zuxy
a147ec530e Rewrite generic code in decode_MMX.c in C for easier AMD64 port. Slightly faster than original assembly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23360 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-21 01:47:27 +00:00
zuxy
38388e5595 Fix bug in reference code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23341 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-19 08:09:16 +00:00
diego
83470e26c3 Move test program removal on distclean to mpcommon.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22802 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-24 15:03:57 +00:00
diego
b5abaa0a52 Nuke MIPS-specific compiler bug workaround, it's unlikely to help anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22703 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 18:25:15 +00:00
diego
b24be2fd83 Simplify setting special CFLAGS for decode_i586.o.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22615 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 16:49:59 +00:00
diego
39658f2872 Simplify conditional expression.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22613 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 13:20:22 +00:00
diego
e4cc2b1c2f Remove Darwin AltiVec CFLAGS settings, configure handles this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22612 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 13:19:22 +00:00
diego
e361f0a500 Remove addition of AltiVec flags to CFLAGS, configure takes care of this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22607 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 12:17:22 +00:00
diego
43275ac3b0 Fix test program compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22555 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 22:28:13 +00:00
diego
4220b41edb Rename mp3lib/libMP3.a to mp3lib/libmp3.a for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22554 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 22:19:18 +00:00
diego
5519d98983 cosmetics: Fix indentation, reorder some lines for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego
60b39e2786 Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
reimar
2ad2fefc2b Add missing registers to asm code in mp3lib
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22393 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 12:45:00 +00:00
reimar
2225b00ca6 Make sure buffer is aligned so no unaligned access happens.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22158 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 19:24:03 +00:00
reimar
18004d2d98 Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-07 11:58:07 +00:00
diego
cac6c0eea2 Remove bswap.h, use libavutil/bswap.h instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 15:02:45 +00:00
diego
2a86b5b99e FFmpeg-style dependency declaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21325 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 13:42:36 +00:00
diego
5f3740e4ed Remove redundant ifeq ($(TARGET_ARCH_POWERPC),yes), AltiVec exists only on PPC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21324 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 13:38:13 +00:00
diego
65c3094348 Simplify test program generation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21312 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 11:11:14 +00:00
diego
40c03f4f3a Remove superfluous CFLAGS declaration (is in mpcommon.mak).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21311 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 10:58:03 +00:00
diego
875b66cefe There are no .s files in mp3lib/, remove the corresponding suffix rule.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21310 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 10:53:40 +00:00
diego
d4e86e6a11 Remove unnecessary header indirection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21305 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 02:20:15 +00:00
diego
dc2be42703 Merge common parts of all Makefiles into one file included by all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:12:36 +00:00
diego
27b0177662 Remove superfluous comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 16:12:36 +00:00
diego
cf4bf03dc2 Unify dep/depend targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-20 11:18:01 +00:00
reimar
4b4ab6fb85 Remove (now hopefully unnecessary) workarounds added in r21056
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21065 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 16:54:06 +00:00
reimar
d948cc9cd0 directly insert ffreep %%st(0) opcode for compatibility with old
binutils instead of darwin-specific workaround.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21063 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 16:48:45 +00:00
reimar
aa72278e59 Use ASMALIGN macro for better compatibility and remove SYS_DARWIN
#ifdef hack introduced in r21056.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21062 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 16:44:19 +00:00
reimar
6670343ea7 Avoid code like "fstps %1+64(,%%ecx,4)\n\t", it might end up as
"fstps (%eax)+64(,%ecx,4)", which will not compile.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21060 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 16:39:34 +00:00
nplourde
18bead43d4 fix mp3lib compilation on OSX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21056 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 15:21:50 +00:00
reimar
66ac6e2a13 Fix clobber list, half of the modified registers were missing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21043 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 09:06:19 +00:00
reimar
b3e3bdf227 mp3lib asm does not compile on AMD64.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20591 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 18:19:02 +00:00
reimar
b7546da924 disable nonworking/broken code for now till I find out what it is supposed to do.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20520 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 18:16:00 +00:00
diego
e298b95595 Simplify OBJS handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20312 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-19 21:29:17 +00:00
gpoirier
9ab0f24dc7 always use 3dnowext version of dct64 when supported by the CPU (K6-3+ and up).
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
2006-08-23 08:16:30 +00:00
diego
77b4259600 Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 13:58:03 +00:00
diego
2915a2921d Clarify licensing situation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19270 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 22:20:50 +00:00
rfelker
408cc87d58 10l, i missed ifdefs around the calls
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19138 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 05:42:38 +00:00
rfelker
c72c1486a3 do not compile mmx/sse/3dnow code if not available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19136 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 05:27:02 +00:00
diego
f7d4dd174b OPTFLAGS already includes EXTRA_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
gpoirier
d20d9e8cf8 fix sound distortion on K-6, patch by Zuxy Meng zuxy PP meng AHHH gmail PP com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18946 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 12:23:36 +00:00
gpoirier
ec029ea7a1 Add dct64_sse, a replacement for dct64_MMX. About 60% faster on its author's 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
2006-07-07 14:04:07 +00:00
gpoirier
02c29537a5 Add missing license, as chosen by its author
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18852 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-29 14:54:53 +00:00
gpoirier
822b69ae21 remove MMX2 dependency (replace pshufw $78 with pswapd) so it can
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
2006-06-27 05:58:46 +00:00
gpoirier
1368a40b20 fix conversion float to int to use saturated ops,
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
2006-06-27 05:51:45 +00:00
diego
57f3213401 CVS --> Subversion in copyright notices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00