Commit Graph

24 Commits

Author SHA1 Message Date
Uoti Urpala b390b9b28f Merge svn changes up to r30185 2010-01-08 01:36:05 +02:00
reimar 485b17cc7d Do not assume that "long" is the size of a register.
Fixes aclib compilation on mingw64 (with --enable-runtime-cpudetection).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30177 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 09:20:01 +00:00
Uoti Urpala 7fd3eb0f74 Merge svn changes up to r29752
As part of merging subtitle-in-terminal changes make
update_subtitles() only clear existing subtitles if called with the
reset argument, and not try to set new ones. Later calls should set
the needed new subtitles, and this change avoids some problems with
trying to set subtitles when mp_property_sub() in command.c gets
called from initialization code before full initialization.
2009-10-06 04:48:00 +03:00
reimar dffa8cb272 Use ecx instead of ebx to avoid unnecessary issues with PIC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29687 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-17 19:03:31 +00:00
Uoti Urpala 0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
diego befc528297 Add standard license headers, unify header formatting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:27:30 +00:00
diego eb4a4604c0 HAVE_3DNOW --> HAVE_AMD3DNOW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:29:53 +00:00
reimar 93d598c7b2 Lots and lots of #ifdef ARCH_... -> #if ARCH_...
and #ifdef HAVE_MMX etc -> #if HAVE_MMX.
There might be still more that need to be fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:21:21 +00:00
diego 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
uau 1a3fb6c21e libvo: change asm syntax to use ASMALIGN and " # nop"
Change ".balign 16\n\t" to ASMALIGN(4) and "/nop" to " # nop". The new
version is what other code in MPlayer uses, and works with old
assembler versions like that used on OS X.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26005 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 21:52:34 +00:00
michael 5b46b234d2 HAVE_MMX1 -> HAVE_ONLY_MMX1 (makes more sense ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 21:45:33 +00:00
gpoirier d853ecdc40 More gcc-4.0 fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15640 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-04 21:11:39 +00:00
gpoirier ded52c0bc7 Make this file compile with gcc-4.0.0. The old code was invalid C.
(with the blessing of Rich)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14566 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-21 21:11:35 +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
arpi 4f5e15a23a removed nonsense 'inline'
patch by Joey Parrish <joey@yunamusic.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7073 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 23:28:33 +00:00
michael 65a12da973 prefer prefetchnta if its available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5663 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-17 19:11:52 +00:00
michael 09d06189af pre mmx2/3dnow fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5661 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-17 18:48:22 +00:00
michael b89389845d 101
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4685 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-13 00:17:16 +00:00
michael 7a4350e4c1 mem2agpcpy()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4682 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-12 23:17:14 +00:00
michael 1ec539d353 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3394 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 15:25:11 +00:00
michael 6c6cc954f5 10-20% faster fastmemcpy :) on my p3 at least but the algo is mostly from "amd athlon processor x86 code optimization guide" so it should be faster for amd chips too, but i fear it might be slower for mem->vram copies (someone should check that, i cant) ... there are 2 #defines to finetune it (BLOCK_SIZE & CONFUSION_FACTOR)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3078 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 19:40:38 +00:00
nickols_k 50f47cfd50 Issues about P3 performance and SSE2 support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1124 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-13 16:12:14 +00:00
nickols_k ada40a6be6 Moving fast_memcpy to separate file (Size optimization)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@699 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-05 13:30:00 +00:00