Commit Graph

86 Commits

Author SHA1 Message Date
Michael Niedermayer
f5b58629fe last line messed up in Y800 bugfix
Originally committed as revision 6616 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-30 20:32:42 +00:00
Michael Niedermayer
cf7d1c1a73 use unified yuv2rgb init
{RGB,BGR}{1,4,8,15,16,24,32} output supported

Originally committed as revision 6579 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-27 18:00:47 +00:00
Michael Niedermayer
5ac80202c8 killing globals
Originally committed as revision 6555 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-24 20:05:53 +00:00
Michael Niedermayer
5859233b70 100l (non mmx versions didnt compile)
some cleanup

Originally committed as revision 6541 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-24 00:18:29 +00:00
Michael Niedermayer
e616aa936e yvu9 support (other planar yuv formats with other chroma subsamplings should be trivial to add, if they had a IMGFMT)
disabled broken (=new) converters (they cause random sig11)
various bugfixes

Originally committed as revision 6533 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-23 18:51:43 +00:00
Michael Niedermayer
3f7bb50cdd cleanup
Originally committed as revision 6521 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-23 11:01:25 +00:00
Michael Niedermayer
c7a810cc25 selftest support
bugfixes

Originally committed as revision 6518 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-23 10:36:18 +00:00
Michael Niedermayer
44c1035c2f cleanup & grayscale support
Originally committed as revision 6504 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-22 20:37:30 +00:00
Arpi
0d9f3d85f6 sync with mplayer xp
- partial yvu9 support (copy only)
- rgb 15/16 -> 24/32 converters
- int->unsigned changes

Originally committed as revision 6493 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-22 08:49:45 +00:00
Alban Bedel
4a53a912af printf to mp_msg
Originally committed as revision 5938 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-02 11:00:16 +00:00
Michael Niedermayer
b7dc6f6628 overread in the mmx2 horizontal scaler fixed
2% faster horizontal mmx2 scaler

Originally committed as revision 5453 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-01 14:01:22 +00:00
Felix Bünemann
854288bba9 add mangling
Originally committed as revision 4924 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-03-03 13:33:40 +00:00
Michael Niedermayer
2ba1bff059 101++
Originally committed as revision 4795 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-21 19:41:50 +00:00
Michael Niedermayer
df3c183a7b fixing bgr32 output on big-endian systems
Originally committed as revision 4794 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-21 17:48:00 +00:00
Michael Niedermayer
332105e446 minor dststride bugfix for i420 output
srcHeight %2 != 0 bugfix / chroma height = (luma height +1)>>1 in YV12

Originally committed as revision 4699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-14 16:38:50 +00:00
Michael Niedermayer
4342fc14dc bgr24toUV in MMX
Originally committed as revision 4620 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-09 23:43:48 +00:00
Michael Niedermayer
ac6a2e4550 bgr24toY in MMX
Originally committed as revision 4613 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-09 17:03:53 +00:00
Michael Niedermayer
b72034dd49 bgr15 input support
Originally committed as revision 4581 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 03:09:46 +00:00
Michael Niedermayer
5bb9d9d8e8 faster bgr16 input
Originally committed as revision 4580 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 01:24:02 +00:00
Michael Niedermayer
6af250ea5c bgr16 input support
Originally committed as revision 4579 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 00:42:00 +00:00
Michael Niedermayer
a861d4d7f3 rgb32 & rgb24 input support
squished a endianness bug in the 15/16bgr output

Originally committed as revision 4559 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 22:55:57 +00:00
Michael Niedermayer
370799068d swScale internally uses yuv2rgb now if possible
Originally committed as revision 4555 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 20:52:14 +00:00
Michael Niedermayer
6ff0ad6bfd MMX(2) optimized YUY2 input
avoid duplicate checks for formats by changeing them (Y8->Y800, IYUV->I420)

Originally committed as revision 4482 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-02 18:18:58 +00:00
Michael Niedermayer
1e621b18b2 YUY2, BGR24, BGR32 input support (no mmx yet)
Originally committed as revision 4468 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-01 19:25:09 +00:00
Michael Niedermayer
6c7506de1c YV12 like formats support (I420/IYUV)
bugfixes related to vo_x11 resizeing

Originally committed as revision 4420 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-30 15:21:08 +00:00
Michael Niedermayer
5521b193d6 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>)

Originally committed as revision 4298 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 22:11:09 +00:00
Michael Niedermayer
fe8054c0ff copyright(swscaler) = GPL
Originally committed as revision 4296 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 18:32:31 +00:00
Michael Niedermayer
c7f822d95e general convolution filtering of the source picture
dynamic memory allocation for the buffers (needed for the filter stuff)

Originally committed as revision 4291 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 03:56:47 +00:00
Michael Niedermayer
28bf81c90d 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

Originally committed as revision 4277 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 05:30:23 +00:00
Felix Bünemann
9b4644281d mangle for win32 in postproc
Originally committed as revision 4249 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 05:14:47 +00:00
Michael Niedermayer
c0903414cb only print last line warning if verbose is on
Originally committed as revision 3884 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-30 00:57:35 +00:00
Michael Niedermayer
f15afacdf4 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

Originally committed as revision 3783 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-27 00:57:32 +00:00
Johannes Feigl
51fdf2de1b looks better
Originally committed as revision 3731 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-25 15:03:36 +00:00
Michael Niedermayer
627690b5a2 minor bugfixes (noone noticed them)
a few more asserts

Originally committed as revision 3642 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-21 02:09:34 +00:00
Michael Niedermayer
e3d2500fe4 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

Originally committed as revision 3353 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-06 19:07:25 +00:00
Michael Niedermayer
f014740a85 dithering info wasnt displayed
Originally committed as revision 3346 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-06 01:23:23 +00:00
Michael Niedermayer
c1b0bfb477 vertical cubic/linear scaling
prints some info (MMX, dstbpp, ...)
mainloop rewritten

Originally committed as revision 3345 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-06 00:10:42 +00:00
Michael Niedermayer
e2f5a2a981 typo
Originally committed as revision 3300 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-03 22:24:43 +00:00
Michael Niedermayer
077ea8a7f4 horizontal up/downscale linear & cubic
-sws command line option (0 -> fast_bilinear, 1->bilinear, 2->bicubic)

Originally committed as revision 3273 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-02 20:03:26 +00:00
Michael Niedermayer
af91b8b3c8 sliced scaleing bugfix
Originally committed as revision 3216 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-29 22:19:21 +00:00
Michael Niedermayer
d1fac6cf52 swscaler cleanup
green line at bottom bugfix
green lines in yuv2yuv scaler bugfix

Originally committed as revision 3210 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-29 20:19:17 +00:00
Michael Niedermayer
48a05ceccd oops
Originally committed as revision 3137 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-26 02:20:51 +00:00
Michael Niedermayer
7630f2e060 runtime cpu detection
Originally committed as revision 3127 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-26 00:31:43 +00:00
Michael Niedermayer
cff6ecd7e0 .balign or we´ll align by 64kb on some architectures
Originally committed as revision 2801 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-10 20:39:23 +00:00
Michael Niedermayer
6e3bba7282 .align 16
Originally committed as revision 2800 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-10 19:46:04 +00:00
Michael Niedermayer
3fe8e8f068 gcc does optimize writes to non volatile variables away if it didnt know that they were read in between
Originally committed as revision 2751 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 19:26:22 +00:00
Michael Niedermayer
d8fa3c5497 better dithering
Originally committed as revision 2749 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 18:42:22 +00:00
Michael Niedermayer
99d2cb7219 faster bgr24 output
Originally committed as revision 2731 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 04:06:55 +00:00
Michael Niedermayer
bdc2eb9a00 only 6 registers used
Originally committed as revision 2729 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 23:49:15 +00:00
Michael Niedermayer
7d7f78b5a4 green line fix for dstw%8!=0
Originally committed as revision 2681 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 13:50:20 +00:00