[FFmpeg-cvslog] vc2enc: set quantization ceiling to 50

Rostislav Pehlivanov git at videolan.org
Mon Feb 22 18:25:24 CET 2016


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Mon Feb 22 17:18:15 2016 +0000| [1387f3a0510ccbd3e684be533d0cf5fc7e9a678a] | committer: Rostislav Pehlivanov

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1387f3a0510ccbd3e684be533d0cf5fc7e9a678a
---

 libavcodec/vc2enc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
index 4ef14a3..dc0270d 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
 



More information about the ffmpeg-cvslog mailing list