Browse Source

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>
tags/n3.1
Rostislav Pehlivanov 10 years ago
parent
commit
1387f3a051
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vc2enc.c

+ 1
- 1
libavcodec/vc2enc.c 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



Loading…
Cancel
Save