changeset 1197:d9cbc8ef5a33 libavcodec

better? default thresholds, if this is worse for any files, then tell us ASAP
author michaelni
date Fri, 18 Apr 2003 12:50:00 +0000
parents 2e06398e4647
children cae31b22b14e
files libpostproc/postprocess.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpostproc/postprocess.c	Fri Apr 18 12:45:34 2003 +0000
+++ b/libpostproc/postprocess.c	Fri Apr 18 12:50:00 2003 +0000
@@ -515,8 +515,8 @@
 "			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 @@
 	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;