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

27 Commits

Author SHA1 Message Date
reimar
74a504f25b ARCH_X86 simplifications
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20593 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 18:41:25 +00:00
diego
7416ded30b Change 'if(verbose)' to the more appropriate mp_msg_test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:22:48 +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
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
aurel
798d2d1337 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 11:55:20 +00:00
nplourde
d2ad2147cc draw alpha for uyvy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12517 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-31 15:13:35 +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
gabucino
fadce2d781 many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 17:29:08 +00:00
alex
c68f67e2e0 removed obsolete my_profile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10517 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-03 18:33:28 +00:00
albeu
d611fcc378 printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5936 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 10:49:55 +00:00
atmos4
6afa7d6988 mangling in libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4246 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 04:44:49 +00:00
michael
615bffb9b3 optional runtime cpu detect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3154 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-27 01:54:13 +00:00
michael
2e4b5d0908 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3143 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 21:12:15 +00:00
atmos4
c184876b1a Compile fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2851 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-12 02:01:24 +00:00
michael
6778e88bf5 p2/p3 bgr32 version (20%faster)
yv12 and yuy2 versions in mmx


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2847 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 22:14:13 +00:00
nick
615471a069 Use new logic suggested by Michael Niedermayer
K7:
Non-MMX stuff
    total=299997790
Old-MMX stuff:
    total=159120928
New-MMX stuff:
    total=80925337


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2844 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 17:14:57 +00:00
nick
c5e3ac66ac Cloning 32 stuff to 24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2840 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 16:09:19 +00:00
nick
1ffb6bfa2b Minor speedup for K6-2, K7, P3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2836 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 15:35:11 +00:00
nick
7035adb0bd Enable MMX stuff
I don't know why Michael Niedermayer disabled it but:
my benchmarks of 25 frames for TIMER+SUBTITLE (measured by RDTSC):
Non-MMX stuff:
    total=306142159
MMX stuff:
    total=159534150


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2834 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 14:42:10 +00:00
nick
f4730e10c1 Extract parallelism from OSD stuff + MMX2 optimization.
I've found that mplayer's measuring is not precise :(
Here my test with using RDTSC:
Old stuff:
	rd_tsc: 774377
	rd_tsc: 765985
	rd_tsc: 265309
New CPU optimized stuff:
	rd_tsc: 661154
	rd_tsc: 641317
	rd_tsc: 222448
New MMX2 optimized stuff:
	rd_tsc: 269544
	rd_tsc: 329189
	rd_tsc: 173110


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2824 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 11:18:50 +00:00
michael
20d9b4ff45 bugfix
nick why did u remove the #if 0 around that code without testing it?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2808 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 01:14:09 +00:00
michael
751324d0d3 .balign or we´ll align by 64kb on some architectures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2801 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 20:39:23 +00:00
nick
672e0016c9 Code cleanup - emms is not required when MMX block is commented out.
Special notes for Michael Niedermayer:
Are you still here?
If you don't like for(cond;cond;cond) C-constructions and prefer
asm ones: "jb 1b" then use .align 16 pseudo assembler instructions
else loops rather will be not aligned on correct boundary.
(16 it's for K7 for pent should be 8).
Your parts have a lot such lacks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2799 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 18:40:49 +00:00
michael
028ee068e4 slow mmx & not so slow asm versions (outcommented)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2579 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 22:35:02 +00:00
arpi_esp
ba8f720ce0 FAST_OSD option to disable font outline antialiasing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@948 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-02 16:02:38 +00:00
arpi_esp
07bdafcbe7 to be sure in that header is okey
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@623 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-24 20:03:13 +00:00
arpi_esp
2f46205ad3 OSD alpha renderers moved to osd.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@327 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-10 02:29:38 +00:00