Commit Graph

347 Commits

Author SHA1 Message Date
Michael Niedermayer
b6654a5464 101 (yuv2rgb with mpeg1,...) ;)
simple copy if possible (same format, no scaling, ...)

Originally committed as revision 4556 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 21:59:23 +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
b81cf27484 printing error messages if something is wrong instead of just return NULL;
Originally committed as revision 4530 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-04 18:53:01 +00:00
Michael Niedermayer
8a01d20ccb filterPos bugfix (only nearest neighbor scaling was affected)
Originally committed as revision 4493 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-03 02:08:05 +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
1747031459 printing correct format info
Originally committed as revision 4469 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-01 19:39:37 +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
1f347f225d -sws 2 is default now
Originally committed as revision 4422 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-30 15:32:43 +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
4b6388d1f5 top row bugfix
Originally committed as revision 4404 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-29 04:21:27 +00:00
Michael Niedermayer
d8863d37e2 area averageing scaling support (-sws 5) (is identical to bilinear for upscale)
Originally committed as revision 4403 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-29 01:43:15 +00:00
Michael Niedermayer
ff7ba85694 nearest neighbor / sdl emulation ;) scaling (-sws 4)
Originally committed as revision 4402 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-28 23:57:18 +00:00
Michael Niedermayer
bdd677ac13 minor QP bugfix
Originally committed as revision 4400 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-28 22:38:15 +00:00
Michael Niedermayer
fd2848053f minor bugfix in the -v output
Originally committed as revision 4305 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-22 15:54:44 +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
5cebb24be0 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

Originally committed as revision 4295 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 15:22:28 +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
Felix Bünemann
635b3ec6dd add mangling
Originally committed as revision 4286 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 18:36:09 +00:00
Michael Niedermayer
7f56a52795 101
Originally committed as revision 4282 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 13:45:19 +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
Alban Bedel
cbf5fa71c9 Added reverting support for -pp and -npp options
Originally committed as revision 4258 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 17:01:03 +00:00
Felix Bünemann
bf1595c488 fix mangling with runtime cpu detection
Originally committed as revision 4254 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 16:56:35 +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
162c9c2e0d dont print -npp parser debug info if only -v
print "using pp filters ..." if -v

Originally committed as revision 4144 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-13 20:51:49 +00:00
Michael Niedermayer
211c4920ea fixed -npp help ... i think i need more sleep ;)
Originally committed as revision 3988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-04 21:56:11 +00:00
Michael Niedermayer
4b001a1312 -npp help
Originally committed as revision 3977 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-04 13:39:06 +00:00
Michael Niedermayer
8aaac43576 -npp fq:<quantizer>
force quantizer (for these lq movies which where reencoded at high bitrates)
(c) 2002

Originally committed as revision 3965 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-03 14:16:13 +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
07f8991b60 minor brightness/contrast bugfix / moved some global vars into ppMode
non mmx compilation bugfix

Originally committed as revision 3833 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-28 13:56:04 +00:00
Michael Niedermayer
43d52f7612 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)

Originally committed as revision 3818 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-28 00:09:55 +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
Michael Niedermayer
6ec6e3c963 101
Originally committed as revision 3780 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-26 23:31:30 +00:00
Michael Niedermayer
45b4f28550 new -pp options stuff (-npp ...)
see line527@postproc/postprocess.c ;) for the documentation of the format

Originally committed as revision 3772 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-26 19:45:49 +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
aa21f0c389 rgb24toyv12 bugfix
Originally committed as revision 3634 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-20 17:30:59 +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
6e9b48406c faster brightness correcture in MMX2
Originally committed as revision 3172 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-28 01:26:03 +00:00
Michael Niedermayer
06c4804a79 compiletime pp-mode support (luminance = chrominance filters though) 1-2% faster with -benchmark -vo null -nosound
Originally committed as revision 3155 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-27 02:25:31 +00:00
Michael Niedermayer
726a959a54 runtime cpu detection optional (compiles faster)
Originally committed as revision 3153 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-27 01:19:56 +00:00
Michael Niedermayer
e89952aabe runtime cpu detect optional (compiles faster)
Originally committed as revision 3152 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-27 01:12:30 +00:00
Michael Niedermayer
43d8c23cbf runtime cpu detection
Originally committed as revision 3144 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-26 21:17:23 +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
1de97d8422 runtime cpu detection
rgb24toyv12 in C

Originally committed as revision 3133 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-26 01:15:08 +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
cc9b067935 runtime cpu detection
Originally committed as revision 3100 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-24 22:16:29 +00:00
Michael Niedermayer
4e1349d4e1 use fastmemcpy for chrominance if no chrominance filtering is done
Originally committed as revision 3095 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-24 02:05:06 +00:00
Michael Niedermayer
cd38e322ef faster dering
Originally committed as revision 3094 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-24 01:38:30 +00:00
Michael Niedermayer
043ba56f68 1% speedup
Originally committed as revision 3038 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-20 20:46:39 +00:00
Michael Niedermayer
cf5ec61d0c oops, too much cleanup ;)
Originally committed as revision 3033 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-20 18:07:13 +00:00
Michael Niedermayer
c09dc46524 cleanup
precopy fewer lines from src to dst if possible
speedup (due to cleanup of blockcopy)

Originally committed as revision 3032 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-20 17:47:52 +00:00
Michael Niedermayer
7f16f6e64e faster mmx2 / 3dnow deblocking filter
brightness_debug (draws luminance histogram & autodetected white/black level)

Originally committed as revision 3014 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-19 22:20:30 +00:00
Felix Bünemann
652cb0f57a Move ignores in subdirs to their respective .cvsignore files.
Originally committed as revision 2964 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-17 23:55:40 +00:00
Gabucino
21810797bc postproc/ dir now respects --with-extraincdir
Now that I'm fixing configure1, here comes configure2 ehh ;)

Originally committed as revision 2928 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-16 19:13:03 +00:00
Michael Niedermayer
a9c779788f temp denoiser:
bugfix?
 averageing noise over the surrounding blocks

Originally committed as revision 2900 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-14 11:51:36 +00:00
Michael Niedermayer
be44a4d74a temp denoiser changes: (a-b)^2 instead of |a-b| and MMX2/3DNOW version
Originally committed as revision 2896 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-14 02:46:58 +00:00
Michael Niedermayer
117e45b03b temporal noise reducer in C (-pp 0x100000)
setting the thresholds from the commandline requires postprocess2() / getPpModeByNameAndQuality() (someone could perhaps modify mplayer so that they are beiing used, iam too lazy for it ;)

Originally committed as revision 2861 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-13 02:40:56 +00:00
Michael Niedermayer
ed8c06708e uyvytoyv12 in MMX (untested)
Originally committed as revision 2848 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-11 22:26:15 +00:00
Michael Niedermayer
815cbfe71e QP_store==null bugfix and no opendivx bugfix
Originally committed as revision 2809 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-11 01:18:40 +00:00
Michael Niedermayer
ed3460658f yuy2toyv12 bugfix
Originally committed as revision 2807 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-11 00:50:40 +00:00
Arpi
81c0590e6c uyvy->uv12 added
Originally committed as revision 2802 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-10 23:28:10 +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
Pierre Lombard
6c426cff79 added missing #include <malloc.h>
#include "config.h" moved as 1st #include since it defines HAVE_foo_h for
  later conditional inclusions

Originally committed as revision 2776 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-09 02:17:02 +00:00
Michael Niedermayer
9395185f9e bugfix
Originally committed as revision 2767 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-07 23:17:11 +00:00
Nick Kurshev
1b383194f6 rgb32tobgr32 now is documented ;)
Originally committed as revision 2759 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-07 08:52:04 +00:00
Michael Niedermayer
9996924345 rgb32tobgr32 / bgr32torgb32
Originally committed as revision 2756 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 23:54:41 +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
da3b92c877 15/16 bpp dithering
Originally committed as revision 2750 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 19:16:49 +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
Nick Kurshev
2b3eef22d0 Minor speedup of rgb32to24. (performance is not successful)
Originally committed as revision 2747 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 17:14:22 +00:00
Jürgen Keil
9e7f791dcb Remove a few obsolete header includes (fixes a compile error on solaris)
Originally committed as revision 2745 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 17:04:13 +00:00
Michael Niedermayer
b28daef82e minor changes (fixed some warnings, added attribute aligned(8) stuff)
Originally committed as revision 2743 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 16:53:47 +00:00
Nick Kurshev
53445e8301 MMX2, 3DNOW, MMX optimized rgb32(24)to16(15) stuff
Originally committed as revision 2742 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 16:35:17 +00:00
Nick Kurshev
3eb2151c15 optimized rgb24to16 stuff
Originally committed as revision 2741 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 16:21:38 +00:00
Michael Niedermayer
761635727d mmx2 bgr24 stuff from swscale (slightly faster)
Originally committed as revision 2740 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 14:43:19 +00:00
Nick Kurshev
0155db7f6c rgb24to32 now is faster
Originally committed as revision 2739 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 13:53:43 +00:00
Michael Niedermayer
18e19c3159 vars are aligned by 8 now (even faster, yes they where not aligned correctly)
Originally committed as revision 2738 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 13:45:57 +00:00
Michael Niedermayer
7ad16638de 16bpp is 10% faster
Originally committed as revision 2737 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 13:41:12 +00:00
Michael Niedermayer
607379b38b 15 bpp support
Originally committed as revision 2736 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 13:26:43 +00:00
Michael Niedermayer
574406bb06 common code moved to a #define
added bgr24 output support

Originally committed as revision 2735 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 13:06:50 +00:00
Nick Kurshev
6611aa83de Move yuv2rgb to postprocess
Originally committed as revision 2733 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 11:22:40 +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
cfc15dc6bc unsigned stuff
Originally committed as revision 2726 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 19:55:11 +00:00
Michael Niedermayer
dabcdbc493 yuy2toyv12 fixed and speedup
Originally committed as revision 2725 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 18:50:58 +00:00
Michael Niedermayer
42b5fcb890 fixed yv12toyuy2
Originally committed as revision 2724 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 18:26:49 +00:00
Nick Kurshev
4aecdf910f Forgot
Originally committed as revision 2722 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 18:03:46 +00:00
Nick Kurshev
8dd6739c94 Fixed rgb32(24)to15 stuff
Originally committed as revision 2721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 17:56:11 +00:00
Nick Kurshev
90226a43e6 Fixed rgb32(24)to16 stuff, rgb32(24)to15 is still broken
Originally committed as revision 2720 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 17:46:20 +00:00
Nick Kurshev
996e1a7cff Well - old algorithms and new stuff rgb24to16(15)
Originally committed as revision 2719 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 17:35:28 +00:00
Nick Kurshev
12e3287f03 More standards compilance
Originally committed as revision 2712 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 08:37:27 +00:00
Michael Niedermayer
bd09433fa9 yuy2toyv12 in MMX
Originally committed as revision 2705 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 02:25:30 +00:00
Michael Niedermayer
4060205ba7 yv12toyuy2 in MMX
cleanup

Originally committed as revision 2703 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 01:21:05 +00:00
Michael Niedermayer
d9d58d172e yv12 <-> yuy2 in C
Originally committed as revision 2702 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 00:45:55 +00:00
Michael Niedermayer
9b2c28e6ed faster 15to16 bit rgb (the mmx routine is limited by memory speed so there is no difference ): but the c routine is faster
Originally committed as revision 2699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 23:04:26 +00:00
Michael Niedermayer
9ce6584e49 palette to bgr24
Originally committed as revision 2698 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 19:50:29 +00:00
Michael Niedermayer
fcfbc150aa bgr32to16, bgr32to15 (needed for palette stuff)
paletteto 32,16,15bgr
all in c, will be optimized as soon as they are tested (assuming opt. is possible)

Originally committed as revision 2695 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 19:36:24 +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
Nick Kurshev
569931477e using const modifier
Originally committed as revision 2678 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 11:51:36 +00:00
Michael Niedermayer
96034638d1 fixed warnings
Originally committed as revision 2672 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 03:07:02 +00:00
Michael Niedermayer
f62255fb13 faster bgr15/16
Originally committed as revision 2670 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 02:28:23 +00:00
Michael Niedermayer
162caf680f right green line bugfix for width not %8==0 (untested -vo vesa doesnt work)
Originally committed as revision 2639 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-02 19:21:02 +00:00
Michael Niedermayer
7fb36f6c51 deinterlace bugfix
Originally committed as revision 2596 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-31 18:29:03 +00:00
Michael Niedermayer
3407a97286 c speedup (x1, rk1 filters)
Originally committed as revision 2587 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-31 02:29:02 +00:00
Michael Niedermayer
02a0a992cd c speedup
Originally committed as revision 2586 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-31 01:30:28 +00:00
Michael Niedermayer
b18ea156c4 15/16bit in C speedup
Originally committed as revision 2585 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-31 00:26:29 +00:00
Michael Niedermayer
397c035e91 c optimizations
bugfix

Originally committed as revision 2577 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 22:24:38 +00:00
Michael Niedermayer
d9fc1cfec1 c optimizations
Originally committed as revision 2576 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 22:03:25 +00:00
Michael Niedermayer
d022ce5c4f c optimizations (array is faster than pointer) (16bpp variants tested and 2% faster)
Originally committed as revision 2573 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 21:33:01 +00:00
Michael Niedermayer
8405b3fdaf minor speedup
cleanup

Originally committed as revision 2571 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 21:14:02 +00:00
Michael Niedermayer
497d4f9932 interpolate chrominance for every second line in the 1:1 vertical scale function
Originally committed as revision 2570 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 21:04:42 +00:00
Michael Niedermayer
1faf086709 bugfixes
small speedup for the non x86 stuff

Originally committed as revision 2567 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 20:30:24 +00:00
Nick Kurshev
51da31f16b cosmetic
Originally committed as revision 2565 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 17:46:07 +00:00
Michael Niedermayer
541c4eb9ba fixed a warning
Originally committed as revision 2541 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-29 19:54:22 +00:00
Nick Kurshev
d9384b8b77 No longer required
Originally committed as revision 2540 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-29 18:44:20 +00:00
Nick Kurshev
a3aece931b Finish mmx2, 3dnow optimiz. 15to16 should be tested. Better fix of can't compile
Originally committed as revision 2539 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-29 18:28:06 +00:00
Michael Niedermayer
e697a1413b cant compile on non x86 bugfix
Originally committed as revision 2536 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-29 18:07:40 +00:00
Michael Niedermayer
17f715fa64 patch from Martin Decky <deckm1am@ss1000.ms.mff.cuni.cz> applied and unnecassery "memory" removed
Originally committed as revision 2535 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-29 18:00:45 +00:00
Michael Niedermayer
2add307d05 tell the c compiler that the memory changed
Originally committed as revision 2522 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 19:54:23 +00:00
Michael Niedermayer
99cefd0bda 3dnow prefetch & sfence
Originally committed as revision 2521 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 19:41:50 +00:00
Michael Niedermayer
3885847036 yv12 to yv12 scaler
someone who knows a bit about vo_odivx could add support for it ...

Originally committed as revision 2520 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 18:30:59 +00:00
Nick Kurshev
494a6294bf 32to24: MMX, MMX2, 3DNOW optimization
Originally committed as revision 2518 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 17:42:52 +00:00
Nick Kurshev
90f8a479b7 More elegant solution
Originally committed as revision 2517 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 17:15:54 +00:00
Nick Kurshev
2f6b90b0f9 preprocessor cleanup
Originally committed as revision 2515 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 14:03:16 +00:00
Nick Kurshev
79811694c5 sfence
Originally committed as revision 2514 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 13:59:57 +00:00
Nick Kurshev
18224bc9be More accurate prefetching
Originally committed as revision 2513 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 13:06:49 +00:00
Nick Kurshev
96b956cc46 mmx, mmx2, 3dnow optimized 24to32
Originally committed as revision 2512 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 12:02:16 +00:00
Nick Kurshev
49a0c6eec8 mmx optimized 24to32
Originally committed as revision 2511 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 11:48:50 +00:00
Nick Kurshev
607d7d0373 forgot, sorry
Originally committed as revision 2510 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 11:47:22 +00:00
Nick Kurshev
fde33ab52e Prev ver could work only on x86
Originally committed as revision 2509 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 11:00:40 +00:00
Nick Kurshev
b238eb2e77 vo_vesa: more rgb2rgb support
Originally committed as revision 2507 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 10:45:42 +00:00
Nick Kurshev
59ac5a936c vo_vesa: more rgb2rgb support
Originally committed as revision 2506 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 10:28:08 +00:00
Nick Kurshev
b234ae818b vo_vesa: rgb2rgb support
Originally committed as revision 2505 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 10:17:57 +00:00
Michael Niedermayer
390b20a6c9 yuv2rgb bugfix
Originally committed as revision 2504 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 03:03:49 +00:00
Michael Niedermayer
9927c7ee0d faster dering
Originally committed as revision 2479 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-26 09:34:41 +00:00
Michael Niedermayer
2e2126188f dering in c
dering bugfix

Originally committed as revision 2478 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-26 00:35:41 +00:00
Pierre Lombard
dda87e9fbb a few warning fixes (missing #include's)
Originally committed as revision 2477 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 23:34:14 +00:00
Michael Niedermayer
e0f8ffae99 3dnow dering
Originally committed as revision 2476 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 22:50:03 +00:00
Michael Niedermayer
cf76316aa3 just a few "not implemented yet" removed
Originally committed as revision 2475 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 21:57:42 +00:00
Michael Niedermayer
70c5ae870b dering in mmx2
Originally committed as revision 2474 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 21:55:11 +00:00
Michael Niedermayer
2ff198c11a downscale
fixed some warnings

Originally committed as revision 2470 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 14:31:11 +00:00
Michael Niedermayer
e5c30e0692 fixed difference with -vo md5 between doVertDefFilter() C and MMX / MMX2 versions
fixed some warnings
fixed the cant compile on non x86 systems (i didnt apply the patch from Oliver Schoenbrunner <oliver.schoenbrunner@jku.at> because it used ARCH_X86 instead of HAVE_MMX)

Originally committed as revision 2462 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 11:42:34 +00:00
Michael Niedermayer
4e4dcbc584 much better horizontal filters (transpose & use the vertical ones) :)
bugfix
bugs?

Originally committed as revision 2455 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-24 16:39:40 +00:00
Nick Kurshev
44d01eea32 Independed compilation of SUBDIRS
Originally committed as revision 2445 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-24 07:34:41 +00:00
Michael Niedermayer
73d3355400 more speed
Originally committed as revision 2438 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-24 00:05:30 +00:00
Michael Niedermayer
9736722ad7 more speed
Originally committed as revision 2429 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 15:55:54 +00:00
Michael Niedermayer
ac0b0b2f6d and another +2% speedup
Originally committed as revision 2417 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 12:05:34 +00:00
Michael Niedermayer
37da00fcaa optimizations (+2% speedup)
Originally committed as revision 2414 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 10:29:48 +00:00
Michael Niedermayer
534a602dca brightness / contrast fix/copy optimizations +2% speedup
Originally committed as revision 2402 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 01:46:50 +00:00
Michael Niedermayer
57d04d3f11 negative black bugfix
Originally committed as revision 2395 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 00:03:19 +00:00
Michael Niedermayer
911879d15e auto brightness/ contrast bugfix
getPPModeByNameAndQuality

Originally committed as revision 2390 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-22 23:36:35 +00:00
Michael Niedermayer
a525ce8db1 BGR24 bugfix
BGR15 & BGR24 tested

Originally committed as revision 2327 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-21 00:05:56 +00:00
Michael Niedermayer
d604bab901 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)

Originally committed as revision 2317 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-20 21:12:09 +00:00
Michael Niedermayer
5486f774bd more logic behavior if the altenative deblock filters are used (turning a alt filter on without turning the deblock filter on uses the alt filter instead of using no filter now)
Originally committed as revision 2301 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 17:03:51 +00:00
Michael Niedermayer
84adc106cf first line bug fixed (happend if the image was scaled down or 1:1)
Originally committed as revision 2298 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 15:50:44 +00:00
Arpi
311832de1f PP_FUNNY_STRIDE disabled
Originally committed as revision 2293 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 14:54:26 +00:00
Michael Niedermayer
a0e8aca364 added compiletime option to turn width%8==0 on
Originally committed as revision 2287 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 13:56:12 +00:00
Michael Niedermayer
658a85f26f fixed a bug in the tmp buffer
fixed the color range for yuv
fixed the width %8!=0 bug (another 1% speed loss)

Originally committed as revision 2286 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 13:41:38 +00:00
Michael Niedermayer
0f25d72b3f horizontal scaling bugs fixed, should be mostly bugfree now
Originally committed as revision 2280 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 12:30:01 +00:00
Arpi
44f9179b60 xinc scaled by 16 instead of 8
Originally committed as revision 2275 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 02:21:47 +00:00
Michael Niedermayer
b3a134b64c horizontal lines bugfix
Originally committed as revision 2272 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 01:53:45 +00:00
Michael Niedermayer
d3fda50869 vertical lines bugfix
Originally committed as revision 2271 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 01:26:36 +00:00
Arpi
afa569afb1 (C) fixed
Originally committed as revision 2270 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 00:42:18 +00:00
Michael Niedermayer
cd4102261f fixed a bug which caused horizontal lines
Originally committed as revision 2268 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 00:21:07 +00:00
Michael Niedermayer
783e9cc9af 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

Originally committed as revision 2265 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-18 22:27:13 +00:00
Michael Niedermayer
acced5532e fixed the height%8!=0 bug
simplified a few things
removed last row variants of the deinterlace filters, they are not needed anymore
added cubic interpolating deinterlacer

Originally committed as revision 2247 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 20:42:07 +00:00
Michael Niedermayer
d9cf0d3368 24bpp support (untested)
Originally committed as revision 2238 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 13:59:49 +00:00
Arpi
fffd2e0ac2 added (f)emms
Originally committed as revision 2237 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 11:57:11 +00:00
Arpi
e72c545c93 bpp changed from bytespp to bitspp
Originally committed as revision 2236 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 10:55:29 +00:00
Michael Niedermayer
a6e972a217 fixed out of regs "bug"
Originally committed as revision 2234 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 03:40:03 +00:00
Michael Niedermayer
d3f41512a8 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

Originally committed as revision 2233 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 02:30:39 +00:00
Michael Niedermayer
d4cb9e70a5 quick fix for movies with a height which is not a multiple of 8
Originally committed as revision 2232 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 02:04:16 +00:00
Felix Bünemann
d1530c6461 fix rgb/bgr for 15/16bpp
Originally committed as revision 2231 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 00:29:07 +00:00
Arpi
62ac0b014d 16bpp code for atmos
Originally committed as revision 2230 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-16 23:58:17 +00:00
Michael Niedermayer
a6be81113e minor cleanups
median deinterlace in MMX
fixed typos

Originally committed as revision 2222 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-16 02:31:14 +00:00
Arpi
3db822b03f header for swscale.c
Originally committed as revision 2218 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-15 19:06:16 +00:00
Arpi
31190492f9 software yv12->rgb scaler - separated from fsdga
Originally committed as revision 2217 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-15 18:59:44 +00:00
Michael Niedermayer
3b58b885fa rewrote the horizontal lowpass filter to fix a bug which caused a blocky look
added deinterlace filters (linear interpolate, linear blend, median)
minor cleanups (removed some outcommented stuff)

Originally committed as revision 2204 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-15 03:01:08 +00:00
Arpi
9ae0a66da1 c++ fix
Originally committed as revision 2196 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-14 17:11:17 +00:00
Arpi
e939e1c35b Cleanup:
- TIMEING && MORE_TIMEING disabled by default
- private stuff moved to postprocess.c to avoid possible conflicts

Originally committed as revision 2190 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 15:53:24 +00:00
Arpi
9f3328bc91 small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H  (to avoid conflicts)

Originally committed as revision 2187 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 15:38:19 +00:00
Arpi
9a722af7f3 small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H  (to avoid conflicts)
- added #ifdef'ed code for calling old postprocess (for testing/comparison)
- #ifdef'ed some asm code to allow compilation on non-x86 platforms (untested)

Originally committed as revision 2186 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 15:36:04 +00:00
Michael Niedermayer
5b65f0df86 fixed a sig4 bug an non mmx2 cpus (in case of more sig4 errors please send me a "disassemble $eip-16 $eip+16" from gdb)
Originally committed as revision 2182 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 11:58:41 +00:00
Michael Niedermayer
79cccf7038 minor QP scaling & auto-contrast bugfix
fixed compilation problem without -fomit-frame-pointer

Originally committed as revision 2181 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 09:30:07 +00:00
Michael Niedermayer
9f45d04d3a fixed a rounding bug thing in the X1 Filter
changed the X1 Filter slightly to make flat blocks look like in the 9tap lpf
minor change to the -pp numbers & added decimal numbers in comments
new experimental horizontal deblocking filter

Originally committed as revision 2180 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 02:31:15 +00:00
Michael Niedermayer
67b4cf184a final changes to convert to C
Originally committed as revision 2170 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-11 23:28:58 +00:00
Michael Niedermayer
d5a1a99518 bugfixes: last 3 lines not brightness/contrast corrected
brightness statistics messed up with initial black pic
changed initial values of the brightness statistics
C++ -> C conversation
QP range question solved (very likely 1<=QP<=32 according to arpi)
new experimental vertical deblocking filter
RK filter has 3dNow support now (untested)

Originally committed as revision 2169 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-11 22:35:45 +00:00
Arpi
13e0052810 fixed a bug in the horizontal default filter
3dnow version of the Horizontal & Vertical Lowpass filters
mmx version of the Horizontal Default filter
mmx2 & C versions of a simple filter described in a paper from ramkishor & karan
added mode flags & quality2mode function

Originally committed as revision 2160 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-10 22:21:19 +00:00
Arpi
3057fa6691 new postprocess code by Michael Niedermayer (michaelni@gmx.at)
Originally committed as revision 2159 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-10 22:13:27 +00:00