From 1387f3a0510ccbd3e684be533d0cf5fc7e9a678a Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Mon, 22 Feb 2016 17:18:15 +0000 Subject: [PATCH] vc2enc: set quantization ceiling to 50 The reference encoder limits it to 64, but testing revealed that there is absolutely no difference for indices above 50 in amount of zeroed coefficients. Signed-off-by: Rostislav Pehlivanov --- libavcodec/vc2enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c index 4ef14a34c8d..dc0270d99e5 100644 --- a/libavcodec/vc2enc.c +++ b/libavcodec/vc2enc.c @@ -30,7 +30,7 @@ #include "diractab.h" /* Quantizations above this usually zero coefficients and lower the quality */ -#define MAX_QUANT_INDEX 100 +#define MAX_QUANT_INDEX 50 #define COEF_LUT_TAB 2048 -- 2.39.5