summaryrefslogtreecommitdiffstats
path: root/postproc/postprocess.c
Commit message (Collapse)AuthorAgeFilesLines
* dont use fastmemcpy for PICmichael2002-11-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8108 b3059339-0415-0410-9bf9-f77b7e298cf2
* pp docsmichael2002-11-031-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8077 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2002-11-021-6/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8041 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2002-11-021-83/+49
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8039 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics requested by kabimichael2002-11-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8020 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing "-npp" (found by arpi)michael2002-10-301-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7987 b3059339-0415-0410-9bf9-f77b7e298cf2
* per context cpuCaps (idea by kabi)michael2002-10-301-13/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7986 b3059339-0415-0410-9bf9-f77b7e298cf2
* change qscale type to int8 and fix qscale orderingmichael2002-10-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7985 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanly passing the cpuCapsmichael2002-10-301-13/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7973 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lmichael2002-10-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7969 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2002-10-291-47/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7964 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics ;)michael2002-10-291-4/+4
| | | | | | | prefixing all functions with pp_ to avoid namespace issues git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7962 b3059339-0415-0410-9bf9-f77b7e298cf2
* better deblocking filtermichael2002-10-291-25/+55
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7961 b3059339-0415-0410-9bf9-f77b7e298cf2
* postprocessing cleanup:michael2002-10-281-300/+180
| | | | | | | | | | | | | | | 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
* applied 64bit patch from Ulrich Hecht <uli at suse dot de>alex2002-05-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added reverting support for -pp and -npp optionsalbeu2002-01-191-6/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4258 b3059339-0415-0410-9bf9-f77b7e298cf2
* mangle for win32 in postprocatmos42002-01-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4249 b3059339-0415-0410-9bf9-f77b7e298cf2
* dont print -npp parser debug info if only -vmichael2002-01-131-5/+20
| | | | | | | print "using pp filters ..." if -v git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4144 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed -npp help ... i think i need more sleep ;)michael2002-01-041-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3988 b3059339-0415-0410-9bf9-f77b7e298cf2
* -npp helpmichael2002-01-041-37/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3977 b3059339-0415-0410-9bf9-f77b7e298cf2
* -npp fq:<quantizer>michael2002-01-031-5/+27
| | | | | | | | 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
* minor brightness/contrast bugfix / moved some global vars into ppModemichael2001-12-281-15/+12
| | | | | | | non mmx compilation bugfix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3833 b3059339-0415-0410-9bf9-f77b7e298cf2
* customizeable deblocking (2 thresholds)michael2001-12-281-16/+49
| | | | | | | 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
* 101michael2001-12-261-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3780 b3059339-0415-0410-9bf9-f77b7e298cf2
* new -pp options stuff (-npp ...)michael2001-12-261-18/+46
| | | | | | | 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
* runtime cpu detect optional (compiles faster)michael2001-11-271-6/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3152 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime cpu detectionmichael2001-11-241-3094/+117
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3100 b3059339-0415-0410-9bf9-f77b7e298cf2
* use fastmemcpy for chrominance if no chrominance filtering is donemichael2001-11-241-9/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3095 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster deringmichael2001-11-241-57/+119
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3094 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1% speedupmichael2001-11-201-46/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3038 b3059339-0415-0410-9bf9-f77b7e298cf2
* oops, too much cleanup ;)michael2001-11-201-0/+140
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3033 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2001-11-201-751/+48
| | | | | | | | 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
* faster mmx2 / 3dnow deblocking filtermichael2001-11-191-8/+333
| | | | | | | brightness_debug (draws luminance histogram & autodetected white/black level) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3014 b3059339-0415-0410-9bf9-f77b7e298cf2
* temp denoiser:michael2001-11-141-6/+38
| | | | | | | | bugfix? averageing noise over the surrounding blocks git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2900 b3059339-0415-0410-9bf9-f77b7e298cf2
* temp denoiser changes: (a-b)^2 instead of |a-b| and MMX2/3DNOW versionmichael2001-11-141-5/+294
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2896 b3059339-0415-0410-9bf9-f77b7e298cf2
* temporal noise reducer in C (-pp 0x100000)michael2001-11-131-49/+208
| | | | | | | 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
* QP_store==null bugfix and no opendivx bugfixmichael2001-11-111-0/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2809 b3059339-0415-0410-9bf9-f77b7e298cf2
* added missing #include <malloc.h>pl2001-11-091-1/+1
| | | | | | | | #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
* gcc does optimize writes to non volatile variables away if it didnt know ↵michael2001-11-061-2/+2
| | | | | | that they were read in between git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2751 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor changes (fixed some warnings, added attribute aligned(8) stuff)michael2001-11-061-39/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2743 b3059339-0415-0410-9bf9-f77b7e298cf2
* deinterlace bugfixmichael2001-10-311-20/+112
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2596 b3059339-0415-0410-9bf9-f77b7e298cf2
* c speedup (x1, rk1 filters)michael2001-10-311-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2587 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor speedupmichael2001-10-301-12/+27
| | | | | | | cleanup git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2571 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster deringmichael2001-10-261-9/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2479 b3059339-0415-0410-9bf9-f77b7e298cf2
* dering in cmichael2001-10-261-11/+85
| | | | | | | dering bugfix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2478 b3059339-0415-0410-9bf9-f77b7e298cf2
* a few warning fixes (missing #include's)pl2001-10-251-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2477 b3059339-0415-0410-9bf9-f77b7e298cf2
* 3dnow deringmichael2001-10-251-10/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2476 b3059339-0415-0410-9bf9-f77b7e298cf2
* dering in mmx2michael2001-10-251-31/+151
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2474 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed difference with -vo md5 between doVertDefFilter() C and MMX / MMX2 ↵michael2001-10-251-37/+84
| | | | | | | | | | 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) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2462 b3059339-0415-0410-9bf9-f77b7e298cf2
* much better horizontal filters (transpose & use the vertical ones) :)michael2001-10-241-81/+226
| | | | | | | | bugfix bugs? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2455 b3059339-0415-0410-9bf9-f77b7e298cf2
* more speedmichael2001-10-241-10/+56
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2438 b3059339-0415-0410-9bf9-f77b7e298cf2
* more speedmichael2001-10-231-63/+59
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2429 b3059339-0415-0410-9bf9-f77b7e298cf2
* and another +2% speedupmichael2001-10-231-28/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2417 b3059339-0415-0410-9bf9-f77b7e298cf2
* optimizations (+2% speedup)michael2001-10-231-29/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2414 b3059339-0415-0410-9bf9-f77b7e298cf2
* brightness / contrast fix/copy optimizations +2% speedupmichael2001-10-231-21/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2402 b3059339-0415-0410-9bf9-f77b7e298cf2
* negative black bugfixmichael2001-10-231-11/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2395 b3059339-0415-0410-9bf9-f77b7e298cf2
* auto brightness/ contrast bugfixmichael2001-10-221-17/+235
| | | | | | | getPPModeByNameAndQuality git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2390 b3059339-0415-0410-9bf9-f77b7e298cf2
* more logic behavior if the altenative deblock filters are used (turning a ↵michael2001-10-191-24/+18
| | | | | | 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
* added compiletime option to turn width%8==0 onmichael2001-10-191-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2287 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed a bug in the tmp buffermichael2001-10-191-4/+50
| | | | | | | | 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
* fixed the height%8!=0 bugmichael2001-10-171-275/+152
| | | | | | | | | 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
* quick fix for movies with a height which is not a multiple of 8michael2001-10-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2232 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor cleanupsmichael2001-10-161-43/+80
| | | | | | | | median deinterlace in MMX fixed typos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2222 b3059339-0415-0410-9bf9-f77b7e298cf2
* rewrote the horizontal lowpass filter to fix a bug which caused a blocky lookmichael2001-10-151-24/+475
| | | | | | | | added deinterlace filters (linear interpolate, linear blend, median) minor cleanups (removed some outcommented stuff) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2204 b3059339-0415-0410-9bf9-f77b7e298cf2
* c++ fixarpi2001-10-141-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2196 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup:arpi2001-10-131-0/+10
| | | | | | | | - TIMEING && MORE_TIMEING disabled by default - private stuff moved to postprocess.c to avoid possible conflicts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2190 b3059339-0415-0410-9bf9-f77b7e298cf2
* small changes for mplayer integration:arpi2001-10-131-10/+53
| | | | | | | | | | - 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) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2186 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed a sig4 bug an non mmx2 cpus (in case of more sig4 errors please send ↵michael2001-10-131-17/+20
| | | | | | me a "disassemble $eip-16 $eip+16" from gdb) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2182 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor QP scaling & auto-contrast bugfixmichael2001-10-131-7/+8
| | | | | | | fixed compilation problem without -fomit-frame-pointer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2181 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed a rounding bug thing in the X1 Filtermichael2001-10-131-25/+247
| | | | | | | | | 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2180 b3059339-0415-0410-9bf9-f77b7e298cf2
* final changes to convert to Cmichael2001-10-111-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2170 b3059339-0415-0410-9bf9-f77b7e298cf2
* bugfixes: last 3 lines not brightness/contrast correctedmichael2001-10-111-79/+265
| | | | | | | | | | | | 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) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2169 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed a bug in the horizontal default filterarpi2001-10-101-100/+371
| | | | | | | | | | 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2160 b3059339-0415-0410-9bf9-f77b7e298cf2
* new postprocess code by Michael Niedermayer (michaelni@gmx.at)arpi2001-10-101-0/+1551
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2159 b3059339-0415-0410-9bf9-f77b7e298cf2