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
diego
99e20d343f
Fixes rgb32to16 conversion for I think all platforms since the int8
...
cast should never have worked. Tested on PowerPC and fixes the black GUI
to show the content.
patch by Rene Rebe <rene at exactcode dot de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14983 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-22 10:11:42 +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
alex
a9fdc2bf7d
lot of bigendian fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13424 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-21 17:23:49 +00:00
reimar
4c4ed3e98b
width instead of chromWidth causing segfault in some cases
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12994 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-10 20:23:58 +00:00
michael
664e2abbd7
bigendian fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
with #if defined(WORDS_BIGENDIAN) && (WORDS_BIGENDIAN == 1) -> #ifdef WORDS_BIGENDIAN by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12396 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-02 14:26:28 +00:00
rfelker
cc8b6a93a4
this isn't actually stupid, but it's not valid C and gcc 3.5 rejects it as such
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12386 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 20:15:21 +00:00
michael
ad4439417d
yv12->uyvy MMX
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11073 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-10 00:19:16 +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
9e938f2f34
bigendian fix by (Samuel Kleiner <kleiner at cd dot chalmers dot se>)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9989 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-25 17:22:11 +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
af06ee3a7c
simpler & faster
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9431 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-15 13:04:17 +00:00
michael
73c1f20b98
-fPIC compileable
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9395 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-11 15:06:44 +00:00
michael
4c7a7907e2
yv12 -> yuy2 converter in alpha asm (from mplayerxp)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9394 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-11 13:13:16 +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
michael
1b9e175bce
yuv9 -> yv12 bugfixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9257 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-03 18:45:25 +00:00
michael
ab10907f7d
fixing RGB32->RGB16 on big endian patch by (Colin Leroy <colin at colino dot net>)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7892 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 23:52:57 +00:00
arpi
d1b505683a
use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7422 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-16 19:39:57 +00:00
michael
adc1b1e270
fixing memory overwrite bugs in the new converters
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6609 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 21:43:28 +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
5d8533d7f2
fixing memory overwrite bugs again ...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6606 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 20:50:11 +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
ee22e5dbe1
fixing end overwrite bugs (some at least)
...
this needs testing, untested parts should be reversed before release
i tested 24->32, 15->16, bgr24->rgb, bgr32->rgb (retesting them isnt a bad idea either ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6097 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-15 02:27:41 +00:00
arpi
4a7b9f410e
10l - MMX rgb2bgr 32bpp expects num_of_bytes instead of num_of_pixels
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5962 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-03 23:16:07 +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
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
31eee01624
rgb24toyv12 bugfix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3634 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-20 17:30:59 +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