Commit Graph

90 Commits

Author SHA1 Message Date
michael 1ccfbf170b better dithering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2749 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 18:42:22 +00:00
michael ff5899ec71 faster bgr24 output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2731 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 04:06:55 +00:00
michael 1fb2a93515 only 6 registers used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2729 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 23:49:15 +00:00
michael a28c29e8f3 green line fix for dstw%8!=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2681 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 13:50:20 +00:00
michael 6063b35ccd fixed warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2672 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 03:07:02 +00:00
michael 96b471219d faster bgr15/16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2670 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 02:28:23 +00:00
michael 65047706ac right green line bugfix for width not %8==0 (untested -vo vesa doesnt work)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2639 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 19:21:02 +00:00
michael e9fecf0fea c speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2586 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 01:30:28 +00:00
michael 9cdf76885c 15/16bit in C speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2585 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 00:26:29 +00:00
michael 5b106a5b83 c optimizations
bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2577 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 22:24:38 +00:00
michael 478d5d3a7e c optimizations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2576 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 22:03:25 +00:00
michael 16699f54b5 c optimizations (array is faster than pointer) (16bpp variants tested and 2% faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2573 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 21:33:01 +00:00
michael b697455852 interpolate chrominance for every second line in the 1:1 vertical scale function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2570 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 21:04:42 +00:00
michael 5fabe5dfe4 bugfixes
small speedup for the non x86 stuff


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2567 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 20:30:24 +00:00
michael 397dc39159 fixed a warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2541 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 19:54:22 +00:00
michael ba649eff2d patch from Martin Decky <deckm1am@ss1000.ms.mff.cuni.cz> applied and unnecassery "memory" removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2535 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 18:00:45 +00:00
michael a183352f5f tell the c compiler that the memory changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2522 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 19:54:23 +00:00
michael cd36f60911 3dnow prefetch & sfence
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2521 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 19:41:50 +00:00
michael a4ef78e9a1 yv12 to yv12 scaler
someone who knows a bit about vo_odivx could add support for it ...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2520 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 18:30:59 +00:00
michael 8bf53f6ddb yuv2rgb bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2504 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 03:03:49 +00:00
pl 74d8c35e5d a few warning fixes (missing #include's)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2477 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 23:34:14 +00:00
michael 0b1320ab48 downscale
fixed some warnings


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2470 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 14:31:11 +00:00
michael a5f582e9a7 BGR24 bugfix
BGR15 & BGR24 tested


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2327 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-21 00:05:56 +00:00
michael 99a2f8a751 fixed alignment (static variables where sometimes not 8-byte aligned)
added half uv interpolation support
added prefetch
BGR15 support in MMX (untested) (so BGR15,16,24,32 are supported)
special unscaled height version (not much faster but it doesnt interpolate uv vertically)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2317 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 21:12:09 +00:00
michael 0ac6fe1c49 first line bug fixed (happend if the image was scaled down or 1:1)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2298 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 15:50:44 +00:00
michael 08e3fe558c horizontal scaling bugs fixed, should be mostly bugfree now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2280 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 12:30:01 +00:00
arpi 793efa116b xinc scaled by 16 instead of 8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2275 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 02:21:47 +00:00
michael f8c68da092 horizontal lines bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2272 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 01:53:45 +00:00
michael 76f00f9a17 vertical lines bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2271 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 01:26:36 +00:00
arpi 60d5dc4ed3 (C) fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2270 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 00:42:18 +00:00
michael ff3a001090 fixed a bug which caused horizontal lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2268 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 00:21:07 +00:00
michael b975d4d30d increased precission of s_xinc s_xinc2 (needed for the mmx2 bugfix)
moved mmx variables to top to avoid alignment issues
mmx2 code should work fine now if and only if the input width is %16=0 and the output width is %32=0
reordered some code (5% faster with a simply -benchmark)
first line bug fixed (i hope i didnt introduce any new bugs with that ...)
changed a lot of the vertical scale setup code, i hope i fixed something and didnt mess it up :)
a few known bugs left (rightmost line is wrong)
MMX2 code will only be used for upscaling & acceptable width´s
16bit dithering can be disabled


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2265 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-18 22:27:13 +00:00
michael 9e5dde93d4 24bpp support (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2238 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 13:59:49 +00:00
arpi 9139829e1b added (f)emms
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2237 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 11:57:11 +00:00
arpi a5e78eef50 bpp changed from bytespp to bitspp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2236 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 10:55:29 +00:00
michael 490f4d6c16 fixed out of regs "bug"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2234 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 03:40:03 +00:00
michael b0dcb97188 MMX & MMX2 optimizations (MMX2 is buggy and commented out)
32, 24, 16, 15 bit support in C (only 32 & 16 tested)
32, 16 bit support in mmx (16 with dithering)
ranges of some variables changed so mmx likes them more


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2233 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 02:30:39 +00:00
atmos4 984f2f5665 fix rgb/bgr for 15/16bpp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2231 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 00:29:07 +00:00
arpi c6f5d437bc 16bpp code for atmos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2230 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-16 23:58:17 +00:00
arpi 99fa9191fd software yv12->rgb scaler - separated from fsdga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2217 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-15 18:59:44 +00:00