summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-03 10:05:19 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-03 10:05:19 +0000
commita5afe62156daff675dad6324751aafbf8f8f7f66 (patch)
treed00245191fe8ca76e2c4560a5f7c26a1793675bf
parentf51f53d0424d138ad115692ac2a347a03f477715 (diff)
downloadmpv-a5afe62156daff675dad6324751aafbf8f8f7f66.tar.bz2
mpv-a5afe62156daff675dad6324751aafbf8f8f7f66.tar.xz
pp docs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8077 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/tech/vop.txt5
-rw-r--r--postproc/postprocess.c11
2 files changed, 7 insertions, 9 deletions
diff --git a/DOCS/tech/vop.txt b/DOCS/tech/vop.txt
index b85ba5f5cb..be94f2a894 100644
--- a/DOCS/tech/vop.txt
+++ b/DOCS/tech/vop.txt
@@ -110,11 +110,10 @@ Current plugins:
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.
diff --git a/postproc/postprocess.c b/postproc/postprocess.c
index 93604e419b..03a6392a62 100644
--- a/postproc/postprocess.c
+++ b/postproc/postprocess.c
@@ -483,11 +483,11 @@ static inline void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int
/* -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 @@ char *pp_help=
" 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 @@ pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
ppMode->maxAllowedY= 234;
ppMode->minAllowedY= 16;
ppMode->baseDcDiff= 256/4;
- ppMode->flatnessThreshold=40;
ppMode->flatnessThreshold= 56-16;
ppMode->maxClippedThreshold= 0.01;
ppMode->error=0;