diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-02-22 17:18:15 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-02-22 17:25:13 +0000 |
commit | 1387f3a0510ccbd3e684be533d0cf5fc7e9a678a (patch) | |
tree | 8db27c5874fa1c4950405222d66c264b09a8e1d0 /libavcodec/vc2enc.c | |
parent | 5d93437e4612a57cef4bc6536eec8f0e59d3618d (diff) | |
download | ffmpeg-1387f3a0510ccbd3e684be533d0cf5fc7e9a678a.tar.gz |
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>
Diffstat (limited to 'libavcodec/vc2enc.c')
-rw-r--r-- | libavcodec/vc2enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c index 4ef14a34c8..dc0270d99e 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 |