summaryrefslogtreecommitdiff
path: root/libavcodec/libpostproc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-04-18 12:50:00 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-04-18 12:50:00 +0000
commit68bf295e53fb6322f1f603015f20b8a15d6a8083 (patch)
treed7b30c28f5ec823d21ba89233cc96088168446b7 /libavcodec/libpostproc
parent0426af31117b1bc50b3abb2b4265c38b8c02e7a5 (diff)
better? default thresholds, if this is worse for any files, then tell us ASAP
Originally committed as revision 1787 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libpostproc')
-rw-r--r--libavcodec/libpostproc/postprocess.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/libpostproc/postprocess.c b/libavcodec/libpostproc/postprocess.c
index f91bed6d05..58e87b6acf 100644
--- a/libavcodec/libpostproc/postprocess.c
+++ b/libavcodec/libpostproc/postprocess.c
@@ -515,8 +515,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. difference factor: default=64, higher -> more deblocking\n"
-" 2. flatness threshold: default=40, lower -> more deblocking\n"
+" 1. difference factor: default=32, higher -> more deblocking\n"
+" 2. flatness threshold: default=39, 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"
@@ -555,8 +555,8 @@ pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
ppMode->maxTmpNoise[2]= 3000;
ppMode->maxAllowedY= 234;
ppMode->minAllowedY= 16;
- ppMode->baseDcDiff= 256/4;
- ppMode->flatnessThreshold= 56-16;
+ ppMode->baseDcDiff= 256/8;
+ ppMode->flatnessThreshold= 56-16-1;
ppMode->maxClippedThreshold= 0.01;
ppMode->error=0;