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

159 Commits

Author SHA1 Message Date
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
alex
0fc20ac930 ranlib cleanup by Dan Christiansen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-24 12:52:17 +00:00
michael
813b34f68f attribute_used patch by (VMiklos <mamajom at axelero dot hu>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12304 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 19:47:50 +00:00
alex
baa587170e attribute_used for gcc3.4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12293 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 10:12:40 +00:00
alex
681827cb68 reorder funcs to avoid warnings/errors (gccs are nowadays are more pickier about code than gcc2.95 with -ansi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12292 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 10:08:16 +00:00
alex
028ad0664b some more globals
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12135 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 01:24:34 +00:00
alex
b5142b3879 removing more globals
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12133 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 01:11:59 +00:00
alex
0bdf67044c fix symbol clashes when linking with libmp3lame including mp3 decoder, man, mp3lib is so much bloated
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12132 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 01:06:21 +00:00
diego
ec195cae4f copyright update by the author
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11981 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-19 04:11:00 +00:00
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