From 68bf295e53fb6322f1f603015f20b8a15d6a8083 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 18 Apr 2003 12:50:00 +0000 Subject: [PATCH] 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 --- libavcodec/libpostproc/postprocess.c | 8 ++++---- 1 file 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;