Commit Graph

62 Commits

Author SHA1 Message Date
Colin Leroy
5936be4c66 fix compilation on non-x86 with gcc 2.95
Originally committed as revision 7949 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 00:54:07 +00:00
Michael Niedermayer
9c9e467d8d postprocessing cleanup:
remove opendivx #ifdefs
remove rk1 filter
remove unused / obsolete stuff
add -1,4,2,4,-1 deinterlacing filter (ffmpeg uses that)
threadsafe / no more non-const globals
some optimizations
different strides for Y,U,V possible
remove ebx usage (someone really should fix gcc, this is really lame)
change the dering filter slightly (tell me if its worse for any files)

Originally committed as revision 7947 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-28 19:31:04 +00:00
Arpi
6b791538b9 warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
Originally committed as revision 7221 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-01 14:30:55 +00:00
Michael Niedermayer
47ceabc959 1000l
Originally committed as revision 6950 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-08 10:46:16 +00:00
Michael Niedermayer
413dec620d 3dnow temporal denoiser bugfix by Rémi Guyomarch <rguyom@pobox.com>
Originally committed as revision 5981 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-05 11:08:59 +00:00
Michael Niedermayer
dc16b332f9 x1 deblocking filter bugfix
Originally committed as revision 5788 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-22 15:53:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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