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

176 Commits

Author SHA1 Message Date
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
diego
4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
diego
fb6cd86063 Make mp3lib say that it's using Altivec to decode instead of generic C
when it uses the optimized IMDCT.
patch by  Alexander Strange, astrange __ at __ ithinksw __ dot __ com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18102 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 14:33:19 +00:00
rathann
e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
diego
89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
gpoirier
2c984298a5 Reverse commit 31 Dec 2005 18:56:35 -0000 1.34
This was an incorrect fix made at the codec when it should be done at the demuxer level.
static variables in codecs are ALWAYS wrong: the demuxer is supposed to have already removed all the junk
Does anyone have an idea of a fix for the demuxer?
(discussed on IRC)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17301 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-03 22:06:12 +00:00
gpoirier
86b89307b7 "Currently mplayer looks for only one MP3 frame sync. The attached
patch makes it to look for two consecutive valid MP3 frame headers,
reducing the probability of false positives, which causes Bug 380.

Funny that the fix is so simple. Seems that someone has forgotten to
initialize MP3_resync correctly.

Also this is the recommended way to sync MP3 frames. See
http://www.dv.co.yu/mpgscript/mpeghdr.htm. "

Original thread:
Date: Dec 31, 2005 10:15 AM
Subject: [MPlayer-dev-eng] [PATCH] Try twice when searching for MP3 frame header, fixes Bug 380


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17280 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-31 18:56:35 +00:00
diego
19a7b5869b Unify include paths, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16990 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-15 18:14:07 +00:00
rfelker
56527d29bc 10l broken asm crap needs an external name
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16859 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-25 19:29:51 +00:00
rfelker
f36cc4c21b do not export useless symbols! fixed compile bug with decode support in lame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16853 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-25 17:08:49 +00:00
diego
01ad22ac41 Mark modified imported files as such to comply with (L)GPL §2a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15168 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 22:21:35 +00:00
henry
316d1bd49e Use proper parameter range in stereo test
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15104 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 16:39:00 +00:00
diego
3ebf6f0135 Reduce excessive verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 09:09:29 +00:00
reimar
8e882b5b3b compilation fix for gcc 3.4.2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13919 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-11 13:33:30 +00:00
diego
5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
rtognimp
7cd4d089be Index must be positive to prevent endless loop on bad data
Based on an idea by iive


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13337 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-14 21:02:19 +00:00
rathann
d9a5e00183 small gcc warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13189 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-28 20:59:49 +00:00
faust3
9bb8541622 avoid outoptimization of static variables patch by ismail dönmez <ismail.donmez at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12946 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-03 18:54:26 +00:00
atmos4
b0f5574d7a ICC 8.0 compilation fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12929 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-02 03:35:50 +00:00