summaryrefslogtreecommitdiffstats
path: root/libvo/fastmemcpy.h
Commit message (Collapse)AuthorAgeFilesLines
* vo_gl3: support RGBA EOSDwm42012-10-161-0/+13
| | | | | This also adds support for multiple EOSD renderers. This capability is unused yet, but important for the following commits.
* VO: remove vo_directfb2 and vo_directxwm42012-08-161-2/+0
| | | | | | | | | | | | While being able to play videos on a framebuffer device would be nice, I didn't need it, and couldn't even test it (buggy nvidia binary drivers that disable framebuffers, buggy DirectFB that crashes when using the X11 backend). It's just dead weight, get rid of it. vo_directx was very horrible, and by today it's mostly useless. I didn't remove it, because there was that-guy who told me in amazement how awesome mplayer was, because it was the only video player fast enough for fast playback on his system when using vo_directx. Sorry, that-guy.
* fastmemcpy.h: remove code duplicationwm42012-07-301-28/+2
| | | | | | | Remove the mem2agpcpy_pic function, which is obviously duplicated from the other function in this file. Untested, as this is only used by the directx and directfb2 VOs.
* libvo: remove custom assembler memcpy implementations (aka fastmemcpy)wm42012-07-301-11/+6
| | | | | | | | | | | | | | aclib[_template].c contained inline assembler versions of memcpy using MMX/SSE/3dnow etc. instructions. It's possible that this gave quite a speed a decade ago, but it's unlikely to have any use on modern systems. Also, libc implementations already have their own optimizations for the native memcpy function. I did not verify my assumptions eith benchmarks, so I could be wrong. Also note that some platforms have extremely crappy libc implementations, and it's well possible that these might suffer from a major performance loss (hello Windows). Unfortunately, I do not care.
* Fix compilation with --disable-fastmemcpy on x86astrange2010-05-111-1/+1
| | | | | | | | The inverse of a && b isn't !a && !b. Regression in r30728. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unconditionally declare fast_memcpy() and mem2agpcpy().diego2010-02-251-3/+1
| | | | | | | | | This fixes the following warnings on non-x86 systems: libvo/aclib.c:162: warning: no previous prototype for 'fast_memcpy' libvo/aclib.c:196: warning: no previous prototype for 'mem2agpcpy' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30728 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge two preprocessor conditions in order to drop one duplicated #else case.diego2009-03-091-9/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28902 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOW --> HAVE_AMD3DNOWdiego2009-01-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
* More #ifdef -> #if fixesreimar2009-01-161-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28326 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-301-2/+2
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing string.h #include for memcpy prototype;diego2008-06-161-0/+1
| | | | | | | fixes warnings with 'make checkheaders'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27076 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-221-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use leading underscores in multiple inclusion guards, they are reserved.diego2007-07-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use filenames as multiple inclusion guards.diego2007-07-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23706 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of my_memcpy_pic code duplication in many filters.reimar2007-06-281-2/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23686 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-3/+4
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add LGPL license header.diego2007-05-281-0/+18
| | | | | | | OKed by Arpi and Michael, the authors of all non-trivial parts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23403 b3059339-0415-0410-9bf9-f77b7e298cf2
* fastmemcpy.h always has to include inttypes.h on systems that need it.diego2007-01-261-1/+1
| | | | | | | patch by Carl Eugen Hoyos, cehoyos ag.or at git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22021 b3059339-0415-0410-9bf9-f77b7e298cf2
* get rid of void pointer arithmetic, as spotted by ICCgpoirier2007-01-261-8/+9
| | | | | | | | | Original thread: date: Jan 25, 2007 5:01 PM subject: Re: [MPlayer-dev-eng] [PATCH] get rid of *void pointer arithemtic in libvo/fastmemcpy.h git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22018 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixrathann2005-12-051-2/+2
| | | | | | | vf_remove_logo.c:738: warning: passing argument 2 of 'memcpy_pic' discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17096 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for negative strides (fixes -vf spp,flip crash)henry2005-04-081-2/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15070 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-1/+1
| | | | | | | 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
* 10ldiego2004-06-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12664 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify the config.h #include, use "config.h" instead of "../config.h"diego2004-06-251-1/+1
| | | | | | | everywhere, will make extracting libvo/ easier. Approved by Alex. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12651 b3059339-0415-0410-9bf9-f77b7e298cf2
* memcpy_pic() added (copy image plane with src/dst stride)arpi2002-04-061-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5505 b3059339-0415-0410-9bf9-f77b7e298cf2
* mem2agpcpy_pic()michael2002-02-141-0/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4709 b3059339-0415-0410-9bf9-f77b7e298cf2
* mem2agpcpy()michael2002-02-121-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4682 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic changes and sse/sse includedal3x2001-06-151-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1132 b3059339-0415-0410-9bf9-f77b7e298cf2
* USE_FASTMEMCPY bug fixed.pontscho2001-05-141-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@801 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moving fast_memcpy to separate file (Size optimization)nickols_k2001-05-051-233/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@699 b3059339-0415-0410-9bf9-f77b7e298cf2
* SSE+2.2.x+SIGILL bug fixed - SSE code disabled...arpi_esp2001-05-021-4/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@686 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed code, should be faster on Athlon/K6 but slower on PIII with SSE, ↵atmosfear2001-04-261-149/+152
| | | | | | more portable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@645 b3059339-0415-0410-9bf9-f77b7e298cf2
* New optimized SSE code, overall optimizations.atmosfear2001-04-221-21/+97
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@582 b3059339-0415-0410-9bf9-f77b7e298cf2
* 16-byte align fix for SSEarpi_esp2001-04-211-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@568 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace "movsl..." to small_memcpypontscho2001-04-181-15/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@514 b3059339-0415-0410-9bf9-f77b7e298cf2
* sorry, for the #endifpontscho2001-04-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@479 b3059339-0415-0410-9bf9-f77b7e298cf2
* add 3dnow supportpontscho2001-04-161-1/+61
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@478 b3059339-0415-0410-9bf9-f77b7e298cf2
* - applied SSE patch by Nick Kurshevatmosfear2001-04-141-47/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@410 b3059339-0415-0410-9bf9-f77b7e298cf2
* P3 fixes...arpi_esp2001-04-121-30/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@377 b3059339-0415-0410-9bf9-f77b7e298cf2
* __memcpy fixarpi_esp2001-04-121-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@371 b3059339-0415-0410-9bf9-f77b7e298cf2
* small typoarpi_esp2001-04-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@369 b3059339-0415-0410-9bf9-f77b7e298cf2
* fast memcpy() using x86 asm or mmxextarpi_esp2001-04-111-0/+98
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@359 b3059339-0415-0410-9bf9-f77b7e298cf2