Commit Graph

64 Commits

Author SHA1 Message Date
michael f363f965be MMX(2) optimized YUY2 input
avoid duplicate checks for formats by changeing them (Y8->Y800, IYUV->I420)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4482 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-02 18:18:58 +00:00
michael 9f00f833ca YUY2, BGR24, BGR32 input support (no mmx yet)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4468 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-01 19:25:09 +00:00
michael 07b2372cc1 YV12 like formats support (I420/IYUV)
bugfixes related to vo_x11 resizeing


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4420 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-30 15:21:08 +00:00
michael df864731f8 15/16 bit dithering in C (5% slower, can be disabled by comenting #define DITHER1XBPP out)
x/yInc bugfix (bug was introduced during the global var removial)
more emms & no messing with ARCH_X86 (=workaround against not cleared mmx state somewhere)
sharpening filter (-ssf cs=<int> & -ssf ls=<int>)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4298 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 22:11:09 +00:00
michael f8e2988c9f copyright(swscaler) = GPL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4296 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 18:32:31 +00:00
michael 1f2d4faa6d general convolution filtering of the source picture
dynamic memory allocation for the buffers (needed for the filter stuff)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4291 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 03:56:47 +00:00
michael e016034afc removed global vars so that multiple swscalers can be used
experimental upscaling mode (-sws 3)
general convolution filters support (unfinished)
bugfix for bicubic upscaling
assertion checking if defined MP_DEBUG
checking of the input/output size instead of segfault if its very large


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4277 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 05:30:23 +00:00
atmos4 cdc2fe57bd mangle for win32 in postproc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4249 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 05:14:47 +00:00
michael 25cf84b3fc only print last line warning if verbose is on
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3884 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 00:57:35 +00:00
michael b0a28151cb output shifted by a few pixels on extreem scalings bugfix
filterPos was wrong by 0.5 pixels on downscale with -sws 1 and 2 bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3783 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-27 00:57:32 +00:00
jaf 940944fc75 looks better
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3731 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 15:03:36 +00:00
michael 57befe55fb minor bugfixes (noone noticed them)
a few more asserts


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3642 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-21 02:09:34 +00:00
michael bb837200ba print more info if -v
use new horizontal mmx scaler instead of old x86asm if mmx2 cant be used (FAST_BILINEAR only)
fixed overflow in init function ... using double precission fp now :)
using C scaler for the last 1-2 lines if there is a chance to write over the end of the dst array


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3353 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-06 19:07:25 +00:00
michael 0342b107bc dithering info wasnt displayed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3346 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-06 01:23:23 +00:00
michael d8651ac9ff vertical cubic/linear scaling
prints some info (MMX, dstbpp, ...)
mainloop rewritten


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3345 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-06 00:10:42 +00:00
michael b4a59df0bc typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3300 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 22:24:43 +00:00
michael 4fbb316438 horizontal up/downscale linear & cubic
-sws command line option (0 -> fast_bilinear, 1->bilinear, 2->bicubic)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3273 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-02 20:03:26 +00:00
michael 96dc73cd6c sliced scaleing bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3216 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-29 22:19:21 +00:00
michael 5a26f27760 swscaler cleanup
green line at bottom bugfix
green lines in yuv2yuv scaler bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3210 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-29 20:19:17 +00:00
michael 32646569d9 oops
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3137 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 02:20:51 +00:00
michael 5645836ad4 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3127 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 00:31:43 +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 20c8c1aea2 gcc does optimize writes to non volatile variables away if it didnt know that they were read in between
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2751 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 19:26:22 +00:00
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