Commit Graph
61 Commits
Author SHA1 Message Date
michael 2d28fdd64c 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)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7947 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-28 19:31:04 +00:00
alex 5b0b08a392 applied 64bit patch from Ulrich Hecht <uli at suse dot de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-23 15:40:08 +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 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 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
michael e5db7a2071 101
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3780 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-26 23:31:30 +00:00
michael 1eaa5eae03 new -pp options stuff (-npp ...)
see line527@postproc/postprocess.c ;) for the documentation of the format


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3772 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-26 19:45:49 +00:00
michael 813b79917b runtime cpu detect optional (compiles faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3152 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-27 01:12:30 +00:00
michael 09c4c29277 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3100 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 22:16:29 +00:00
michael becadec644 use fastmemcpy for chrominance if no chrominance filtering is done
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3095 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 02:05:06 +00:00
michael 39595a9f2e faster dering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3094 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 01:38:30 +00:00
michael 6220f955b3 1% speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3038 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 20:46:39 +00:00
michael e68df118a9 oops, too much cleanup ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3033 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 18:07:13 +00:00
michael 0510e0933e cleanup
precopy fewer lines from src to dst if possible
speedup (due to cleanup of blockcopy)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3032 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 17:47:52 +00:00
michael 3c25d58ba3 faster mmx2 / 3dnow deblocking filter
brightness_debug (draws luminance histogram & autodetected white/black level)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3014 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-19 22:20:30 +00:00
michael cf408ccf65 temp denoiser:
bugfix?
 averageing noise over the surrounding blocks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2900 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-14 11:51:36 +00:00
michael 056ba1208b temp denoiser changes: (a-b)^2 instead of |a-b| and MMX2/3DNOW version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2896 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-14 02:46:58 +00:00
michael 327341ec03 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 ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2861 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-13 02:40:56 +00:00
michael d7bb86940c QP_store==null bugfix and no opendivx bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2809 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 01:18:40 +00:00
pl 0afb7c9331 added missing #include <malloc.h>
#include "config.h" moved as 1st #include since it defines HAVE_foo_h for
  later conditional inclusions


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2776 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 02:17:02 +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 991ff4de60 minor changes (fixed some warnings, added attribute aligned(8) stuff)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2743 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:53:47 +00:00
michael 48d827fda5 deinterlace bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2596 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 18:29:03 +00:00
michael c49f4a4d6f c speedup (x1, rk1 filters)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2587 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 02:29:02 +00:00
michael 717220bc55 minor speedup
cleanup


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2571 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 21:14:02 +00:00
michael f7618d27fe faster dering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2479 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-26 09:34:41 +00:00
michael ae85163a58 dering in c
dering bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2478 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-26 00:35:41 +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 4a83e16d1b 3dnow dering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2476 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 22:50:03 +00:00
michael 4f4d8e2c10 dering in mmx2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2474 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 21:55:11 +00:00
michael 89c050f4ef 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 <[email protected]> because it used ARCH_X86 instead of HAVE_MMX)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2462 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 11:42:34 +00:00
michael e83e41a88d much better horizontal filters (transpose & use the vertical ones) :)
bugfix
bugs?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2455 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-24 16:39:40 +00:00
michael 0ee3e70425 more speed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2438 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-24 00:05:30 +00:00
michael 77f285907e more speed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2429 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 15:55:54 +00:00
michael d9d2200ccf and another +2% speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2417 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 12:05:34 +00:00
michael 2c4c72959d optimizations (+2% speedup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2414 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 10:29:48 +00:00
michael 3c0fdf1316 brightness / contrast fix/copy optimizations +2% speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2402 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 01:46:50 +00:00
michael 3f4f1ad52c negative black bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2395 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 00:03:19 +00:00
michael e2fcfe476b auto brightness/ contrast bugfix
getPPModeByNameAndQuality


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2390 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-22 23:36:35 +00:00
michael 4576b903d7 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)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2301 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 17:03:51 +00:00
michael c64769de50 added compiletime option to turn width%8==0 on
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2287 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:56:12 +00:00
michael 13994ecabb fixed a bug in the tmp buffer
fixed the color range for yuv
fixed the width %8!=0 bug (another 1% speed loss)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2286 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:41:38 +00:00
michael 631f0bde0e 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2247 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 20:42:07 +00:00
michael 5904f014cf quick fix for movies with a height which is not a multiple of 8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2232 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 02:04:16 +00:00
michael 48f75aa656 minor cleanups
median deinterlace in MMX
fixed typos


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2222 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-16 02:31:14 +00:00