From 287a2e4e5edbea8843231fb14e4ee6d400c9babf Mon Sep 17 00:00:00 2001 From: gabucino Date: Thu, 27 Dec 2001 22:42:28 +0000 Subject: [PATCH] applied pl's new patch (-pp and -npp) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3810 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/mplayer.1 | 65 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 46 insertions(+), 19 deletions(-) diff --git a/DOCS/mplayer.1 b/DOCS/mplayer.1 index a199c5fa14..158b7ca562 100644 --- a/DOCS/mplayer.1 +++ b/DOCS/mplayer.1 @@ -386,17 +386,17 @@ seek to byte position use different color depth than autodetect. Not all -vo drivers support it (fbdev, dga2, svga, vesa). .TP -.B \-pp\ quality +.B \-pp\ apply postprocess filter on decoded image. Postprocessing effect depends on the codec and works only for MPEG, OpenDivX, DivX4, DivX. Quality is an hexadecimal number built as below: - + 0x 00 TX hv YZ ^^ ^^ ^^ || | || || | |\- postprocessing flag for luminance: - || | | 1/2: v/h deblock 4: dering 8: auto contrast/brightness -correction + || | | 1/2: v/h deblock 4: dering + || | | 8: auto contrast/brightness correction || | | || | \-- postproc flags for color: || | 1/2: v/h deblock 4: dering @@ -409,35 +409,62 @@ correction | 4: cubic interpolation 8: median | \-------- temporal denoise filter: 1 enabled - + .I HINT: 0x2007f or 0x7f are known to give good results. - .I NOTE: 0x20000 (deinterlacing) may be required for DVD playback .TP -.B \-npp\ -Options is a comma separated list of the keywords below: - hb or hdeblock : TODO - vb or vdeblock : TODO - vr or rkvdeblock : TODO - h1 or x1hdeblock : TODO - v1 or x1vdeblock : TODO +.B \-npp\ (EXPERIMENTAL) +This option allows to give more litterate options for postprocessing, and is +another way of calling it (not with -pp). + +.I EXAMPLE: + '-pp 0x2007f' <=> '-npp hb,vb,dr,al,lb' + '-pp 0x7f' <=> '-npp hb,vb,dr,al' + +The options for -npp are a coma separated list of the keywords below: + de or default : hdeblock:a,vdeblock:a, + dering:a,autolevels,tmpnoise:a:150:200:400 (0xTODO) + fa or fast : x1hdeblock:a,x1vdeblock:a, + dering:a,autolevels,tmpnoise:a:150:200:400 (0xTODO) + hb or hdeblock : horizontal deblocking filter (0xTODO) + vb or vdeblock : vertical deblocking filter (0xTODO) + hr or rkhdeblock : rk horizontal deblock filter (0xTODO) + vr or rkvdeblock : rk vertical deblock filter (0xTODO) + h1 or x1hdeblock : x1 horizontal deblock filter (0xTODO) + v1 or x1vdeblock : y1 horizontal deblock filter (0xTODO) dr or dering : TODO - al or autolevels : TODO + al or autolevels : brightness/contrast correction (0xTODO) lb or linblenddeint : linear blend deinterlacing (0x20000) li or linipoldeint : linear interpolation deinterlacing (0x10000) ci or cubicipoldeint : cubic interpolation deinterlacing (0x40000) md or mediandeint : median deinterlacing (0x80000) tn or tmpnoise : temporal denoise filter (0x100000) -.I EXAMPLES: - '-pp 0x2007f' <=> '-npp hb,vb,dr,al,lb' - '-pp 0x7f' <=> '-npp hb,vb,dr,al' +These keywords accept a '-' prefix to disable the option. + +.I EXAMPLE: + '-npp de,-al' means 'default filters without brightness/contrast correction' + +A postfix letter, separated by ':' may be appended to the option to indicate +its scope: + a : automatically switches the filter off if the cpu is too slow + c : do chrominance filtering too + y : do not do chrominance filtering (that is only luminance filtering) + +Each filter defaults to 'c' (chrominance). + +.I EXAMPLE: + '-npp de,tn:1:2:3' means 'enable default filters & temporal denoiser' + '-npp hb:y,vb:a -autoq 6' means 'deblock horizontal only luminance, and + automatically switch vertical deblocking on/off depending on available + cpu time' .I HINT: -the following values are known to give good results: --npp default -autoq 6 and -npp tn:150:200:400 for the denoiser + the following values are known to give good results: + -npp default -autoq 6 and -npp tn:150:200:400 for the denoiser + .TP .B \-slave This option switches on slave mode. This is intended for use