Commit Graph

64 Commits

Author SHA1 Message Date
reimar 4465aa5eb2 Change unsigned->signed and int->long, this fits the asm code better on 64
bit systems.
Also fixes several crashes because (long)-i is incorrect if i is unsigned.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16740 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-12 12:11:27 +00:00
nplourde a68ebe977a fix palette8tobgr32/palette8torgb32 on big endian
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15278 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-27 18:17: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
michael 688ccb2f3d attribute_used patch by (matthieu castet <castet.matthieu at free dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12302 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 19:38:17 +00:00
michael 15e3417fba 1E10l
#undef ARCH_X86
...
#ifdef ARCH_X86
...
#define ARCH_X86
...
#endif


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11072 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-10 00:11:24 +00:00
alex 697d692f4c uyvy output support in swscaler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11069 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-09 22:25:53 +00:00
michael acf20201db remove remaining cpudetect dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9988 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-25 17:16:55 +00:00
michael 79067e3c09 optimize
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9455 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-18 19:22:34 +00:00
michael b4e40a82b5 cleanup (unsigned stride -> int stride)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9393 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-11 12:57:53 +00:00
arpi f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
alex 5bf4fb0263 fixed palette8to{rgb24,bgr24,rgb32,bgr32}
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7335 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-09 16:18:47 +00:00
alex 17749b3397 added missing palette8tobgr pairs (hope it's correct)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7160 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 11:17:15 +00:00
michael 54c584a287 fixing rgb24tobgr32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6615 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-30 19:04:02 +00:00
michael 8e54723b7c merging changes from mplayerxp (rgb2rgb*.{c,h} only)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6607 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 21:26:15 +00:00
michael e02775f59a yvu9 -> yv12 unscaled converter with linear chroma scaling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6583 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 23:48:53 +00:00
arpi d3c753359a sync with mplayer xp
- partial yvu9 support (copy only)
- rgb 15/16 -> 24/32 converters
- int->unsigned changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6493 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-22 08:49:45 +00:00
alex b9cda21184 pre-yvu9toyv12 converter, only grayscale Y-plane coping :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6485 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-21 17:37:00 +00:00
michael 52fb460310 yuv422p -> yuy2 (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5589 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 02:21:12 +00:00
michael 0141d839e3 rgb24->bgr24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5583 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 00:48:21 +00:00
michael 2260559466 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5339 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-25 16:38:13 +00:00
michael f7440c1784 byte interleaving for mga
untested (no g200 mga or whatever i would need ...)
experimental sse2 version (even less tested as no p4 either ...)
sse2 version would need 16-byte aligned src & dst else sig11
sse2 version is disabled by default


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5338 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-25 16:35:24 +00:00
atmos4 fac9cb6305 add mangling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4924 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-03 13:33:40 +00:00
michael f023f5a336 rgb24toyv12 in MMX (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4623 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 00:30:24 +00:00
michael 89fa17bc76 runtime cpu detection
rgb24toyv12 in C


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3133 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 01:15:08 +00:00
michael 96a935f225 uyvytoyv12 in MMX (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2848 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 22:26:15 +00:00
michael 7c90427a5c yuy2toyv12 bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2807 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 00:50:40 +00:00
arpi 31dc283826 uyvy->uv12 added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2802 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 23:28:10 +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
michael 5f43d4efb0 .align 16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2800 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 19:46:04 +00:00
michael 33d4bdc12d bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2767 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-07 23:17:11 +00:00
michael f1ec01ad5f rgb32tobgr32 / bgr32torgb32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2756 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 23:54:41 +00:00
nick d573fa0df8 Minor speedup of rgb32to24. (performance is not successful)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2747 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 17:14:22 +00:00
nick a4910290d8 MMX2, 3DNOW, MMX optimized rgb32(24)to16(15) stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2742 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:35:17 +00:00
nick 28eb46a832 optimized rgb24to16 stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2741 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:21:38 +00:00
nick 1aed82a8da rgb24to32 now is faster
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2739 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:53:43 +00:00
nick dfe91abaa2 Move yuv2rgb to postprocess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2733 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 11:22:40 +00:00
michael deae6b59e2 unsigned stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2726 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 19:55:11 +00:00
michael bc8918936a yuy2toyv12 fixed and speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2725 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 18:50:58 +00:00
michael e550a5928f fixed yv12toyuy2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2724 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 18:26:49 +00:00
nick 6ef8871203 Fixed rgb32(24)to15 stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2721 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:56:11 +00:00
nick f5d9352986 Fixed rgb32(24)to16 stuff, rgb32(24)to15 is still broken
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2720 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:46:20 +00:00
nick 21f00e8f8e Well - old algorithms and new stuff rgb24to16(15)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2719 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:35:28 +00:00
nick 0d29f843f7 More standards compilance
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2712 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 08:37:27 +00:00
michael d8efd32d3f yuy2toyv12 in MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2705 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 02:25:30 +00:00
michael d7db781cf8 yv12toyuy2 in MMX
cleanup


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2703 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 01:21:05 +00:00
michael b9606b37f4 yv12 <-> yuy2 in C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2702 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 00:45:55 +00:00
michael 867f14b6b3 faster 15to16 bit rgb (the mmx routine is limited by memory speed so there is no difference ): but the c routine is faster
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2699 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 23:04:26 +00:00
michael 57bfcdc19d palette to bgr24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2698 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 19:50:29 +00:00
michael 199e88d20c bgr32to16, bgr32to15 (needed for palette stuff)
paletteto 32,16,15bgr
all in c, will be optimized as soon as they are tested (assuming opt. is possible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2695 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 19:36:24 +00:00
nick 7c04b6b3c1 using const modifier
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2678 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 11:51:36 +00:00