[SCM] libav/experimental: better? default thresholds, if this is worse for any files, then tell us ASAP

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:36:01 UTC 2013


The following commit has been merged in the experimental branch:
commit 68bf295e53fb6322f1f603015f20b8a15d6a8083
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Apr 18 12:50:00 2003 +0000

    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

diff --git a/libavcodec/libpostproc/postprocess.c b/libavcodec/libpostproc/postprocess.c
index f91bed6..58e87b6 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;
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list