Commit Graph

216 Commits

Author SHA1 Message Date
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 d60a7a1d74 use assert.h
more assertions


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4807 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-22 15:24:19 +00:00
michael d424101631 101++
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4795 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 19:41:50 +00:00
michael d0b24c8362 fixing bgr32 output on big-endian systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4794 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 17:48:00 +00:00
michael 50657061a8 unscaled yuv2rgb fix for big-endian systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4792 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 16:57:35 +00:00
michael 424df7dbb1 minor dststride bugfix for i420 output
srcHeight %2 != 0 bugfix / chroma height = (luma height +1)>>1 in YV12


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4699 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-14 16:38:50 +00:00
michael 7af0988886 unscaled memcpy variant bugfix (negative strides)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4650 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 23:57:47 +00:00
michael 7acf931299 unscaled BGR24 -> YV12
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 00:43:31 +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 9a93e7607a bgr24toUV in MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4620 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 23:43:48 +00:00
michael 5fb0523722 bgr24toY in MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4613 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 17:03:53 +00:00
michael bf9946cee5 fastmemcpy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4587 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 15:54:56 +00:00
michael 46054f5fdc unscaled BGR15->BGR16
a few bugfixes of the other unscaled converters


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4582 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 04:18:01 +00:00
michael 9f5349323d bgr15 input support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4581 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 03:09:46 +00:00
michael 2f599efbff faster bgr16 input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4580 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 01:24:02 +00:00
michael cfed813582 bgr16 input support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4579 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 00:42:00 +00:00
michael 316b6bc8f1 unscaled converters
BGR24 -> BGR32 & RGB24 -> RGB32
 BGR32 -> BGR24 & RGB32 -> RGB24


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4568 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-07 15:29:15 +00:00
michael 37892b0819 fixing green line at right side bug (reported by Nick Kurshev <nickols_k@mail.ru>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4564 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-07 03:39:30 +00:00
michael 3cf588d2c6 rgb32 & rgb24 input support
squished a endianness bug in the 15/16bgr output


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4559 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 22:55:57 +00:00
michael e4b5914859 101 (yuv2rgb with mpeg1,...) ;)
simple copy if possible (same format, no scaling, ...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4556 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 21:59:23 +00:00
michael 7bfa2fa275 swScale internally uses yuv2rgb now if possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 20:52:14 +00:00
michael 12176a29c0 printing error messages if something is wrong instead of just return NULL;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4530 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-04 18:53:01 +00:00
michael 420039c5f5 filterPos bugfix (only nearest neighbor scaling was affected)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4493 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 02:08:05 +00:00
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 b0add1f66b printing correct format info
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4469 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-01 19:39:37 +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 d8efbed69a -sws 2 is default now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4422 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-30 15:32:43 +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 5045d3ae56 top row bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4404 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-29 04:21:27 +00:00
michael f9263ee763 area averageing scaling support (-sws 5) (is identical to bilinear for upscale)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4403 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-29 01:43:15 +00:00
michael 5fcf31db65 nearest neighbor / sdl emulation ;) scaling (-sws 4)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4402 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-28 23:57:18 +00:00
michael 2d5546459c minor QP bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4400 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-28 22:38:15 +00:00
michael 78ba21bc69 minor bugfix in the -v output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4305 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-22 15:54:44 +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 c955eeae14 a few filters (should be removed/merged when arpis videofilter stuff is finished)
-ssf cgb=<float> -> chrominance gaussian blur (nice to improve picture quality)
-ssf lgb=<float> -> luminance gaussian blur (dunno what its good for)
-ssf chs=<int> -> shift chrominance horizontally
-ssf cvs=<int> -> shift chrominance vertically
these will only work if the swscaler is used at all


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4295 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 15:22:28 +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
atmos4 9cc1007666 add mangling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4286 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 18:36:09 +00:00
michael 33b7a1c675 101
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4282 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 13:45:19 +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
albeu 01e9ed23bf Added reverting support for -pp and -npp options
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4258 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 17:01:03 +00:00
atmos4 3e63fad5b5 fix mangling with runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4254 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 16:56:35 +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 a4bcc2e89e dont print -npp parser debug info if only -v
print "using pp filters ..." if -v


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4144 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-13 20:51:49 +00:00
michael 476e40d323 fixed -npp help ... i think i need more sleep ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3988 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-04 21:56:11 +00:00
michael 30cbdfbe77 -npp help
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3977 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-04 13:39:06 +00:00
michael 2aa34c8fb4 -npp fq:<quantizer>
force quantizer (for these lq movies which where reencoded at high bitrates)
(c) 2002


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3965 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-03 14:16:13 +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 0c4138440d minor brightness/contrast bugfix / moved some global vars into ppMode
non mmx compilation bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3833 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 13:56:04 +00:00
michael 08f3250e44 customizeable deblocking (2 thresholds)
chrominance & luminance filtering is the default now if -npp ...:y isnt specified (lumi only was only used for the deinterlacers and that was wrong anyway)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3818 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 00:09:55 +00:00