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 <atomnuker@gmail.com>
This commit is contained in:
Rostislav Pehlivanov 2016-02-22 17:18:15 +00:00
parent 5d93437e46
commit 1387f3a051

View File

@ -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