From 39ceef38a7819aa1fee4234410160094016f0d28 Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Thu, 18 Nov 2010 09:10:30 -0800 Subject: [PATCH] changed MAX_PSNR to 100 Changing the MAX_PSNR to 100 to allow testing of further experiments on extending quantizer range to near lossless. With an effective quantizer of 1, encoder achieves ~68DB, which is consistent with fdct/idct round trip error. Change-Id: I7b6d0e94a8936968ef42e82e63ebb13999c36832 --- vp8/encoder/psnr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp8/encoder/psnr.c b/vp8/encoder/psnr.c index dc2a03b..ff0222e 100644 --- a/vp8/encoder/psnr.c +++ b/vp8/encoder/psnr.c @@ -13,7 +13,7 @@ #include "math.h" #include "systemdependent.h" /* for vp8_clear_system_state() */ -#define MAX_PSNR 60 +#define MAX_PSNR 100 double vp8_mse2psnr(double Samples, double Peak, double Mse) { -- 2.7.4