1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 06:14:32 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
alex
4ad244810f runtime cpudetect support - 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
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
35f296e306 Beginning sse optimization of dct code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1394 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-27 17:21:23 +00:00
jkeil
45c97f8294 Add some preliminary support for non-x86 architectures to mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1310 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:35:52 +00:00
nick
225aeb5d31 One flaw is fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1277 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-04 20:54:09 +00:00
nick
58075a0621 Portability and old binutils support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1259 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-03 07:50:52 +00:00
nick
183da5e693 Minor fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1254 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-02 08:07:41 +00:00
nick
2ec6762923 Added newest MMX-optimized decore which speedups decoding at least on 13% for any cpu.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1246 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-29 17:55:35 +00:00
arpi_esp
6c8b41d71a fr->sampling_frequency limitation (thanx to pl <p_l@tfz.net>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1167 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-19 22:07:19 +00:00
nickols_k
d346c4eff4 Minor improvements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1046 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-07 09:08:32 +00:00
nickols_k
d5925fe568 Minor optimization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1041 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-06 09:33:36 +00:00
nickols_k
fcdac83628 K7 3dnow-dsp printing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@736 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-09 07:55:32 +00:00
arpi_esp
a158f5d747 applied 'fakemono' patch by Bryan Chan scorpio@acm.org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@733 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-08 21:49:00 +00:00
szabii
b2211f4861 use _3dnow instead of a3dnow()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@74 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-10 21:06:28 +00:00
arpi_esp
d34041569e Initial revision
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-02-24 20:28:24 +00:00