changeset 8076:3ac37c4beeaf

pp docs
author michael
date Sun, 03 Nov 2002 10:05:19 +0000
parents e657de6721e9
children d1afa3b8a773
files DOCS/tech/vop.txt postproc/postprocess.c
diffstat 2 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/vop.txt	Sun Nov 03 09:54:49 2002 +0000
+++ b/DOCS/tech/vop.txt	Sun Nov 03 10:05:19 2002 +0000
@@ -110,11 +110,10 @@
     plugins format list.
     MPI: passthru
 
--vop pp[=flags]
+-vop pp=[<filterName>[:<option>[:<option>...]][/[-]<filterName>[:<option>...]]...]
     Postprocessing filter.  (usefull for codecs without built-in
     postprocessing, like libmpeg12 or libavcodec)
-    Flags is a bitmask set of enabled filters (see manpage for -pp details),
-    defaults to the value of divx_quality (set by -pp commandline option)
+    see `mplayer -vop pp=help`
     MPI: DR (if possible) or TEMP
     Special: dec_video autoloads it if -pp option used but codec can't do pp.
 
--- a/postproc/postprocess.c	Sun Nov 03 09:54:49 2002 +0000
+++ b/postproc/postprocess.c	Sun Nov 03 10:05:19 2002 +0000
@@ -483,11 +483,11 @@
 /* -pp Command line Help
 */
 char *pp_help=
-"<filterName>[:<option>[:<option>...]][,[-]<filterName>[:<option>...]]...\n"
+"<filterName>[:<option>[:<option>...]][[,|/][-]<filterName>[:<option>...]]...\n"
 "long form example:\n"
-"vdeblock:autoq,hdeblock:autoq,linblenddeint	default,-vdeblock\n"
+"vdeblock:autoq/hdeblock:autoq/linblenddeint	default,-vdeblock\n"
 "short form example:\n"
-"vb:a,hb:a,lb					de,-vb\n"
+"vb:a/hb:a/lb					de,-vb\n"
 "more examples:\n"
 "tn:64:128:256\n"
 "Filters			Options\n"
@@ -496,8 +496,8 @@
 "			c	chrom		chrominance filtring enabled\n"
 "			y	nochrom		chrominance filtring disabled\n"
 "hb	hdeblock	(2 Threshold)		horizontal deblocking filter\n"
-"                        1. Threshold: default=1, higher -> more deblocking\n"
-"                        2. Threshold: default=40, lower -> more deblocking\n"
+"	1. difference factor: default=64, higher -> more deblocking\n"
+"	2. flatness threshold: default=40, lower -> more deblocking\n"
 "			the h & v deblocking filters share these\n"
 "			so u cant set different thresholds for h / v\n"
 "vb	vdeblock	(2 Threshold)		vertical deblocking filter\n"
@@ -537,7 +537,6 @@
 	ppMode->maxAllowedY= 234;
 	ppMode->minAllowedY= 16;
 	ppMode->baseDcDiff= 256/4;
-	ppMode->flatnessThreshold=40;
 	ppMode->flatnessThreshold= 56-16;
 	ppMode->maxClippedThreshold= 0.01;
 	ppMode->error=0;