Commit 337b23a5 authored by Jean-Marc Valin's avatar Jean-Marc Valin Committed by Jean-Marc Valin

Changing the weights of the first CRF filter in deringing

The old taps were equivalent to [2 2 3 2 3 2 2], while the new taps are
equivalent to [1 2 3 4 3 2 1]. The new coefficients improve metrics
slightly (not clear why).

ntt-short1 results:
          LOW (%)  MEDIUM (%) HIGH (%)
    PSNR NaN -0.126426 -0.209062
 PSNRHVS NaN 0.043873 -0.038114
    SSIM NaN -0.054293 -0.138431
FASTSSIM NaN -0.143498 0.245350

Change-Id: Iecadda68a4e9b33a49a807faf0a7dee6c9a119cb
parent d2bfbb6f
......@@ -122,7 +122,7 @@ void od_filter_dering_direction_c(int16_t *y, int ystride, const int16_t *in,
int i;
int j;
int k;
static const int taps[3] = {3, 2, 2};
static const int taps[3] = {3, 2, 1};
for (i = 0; i < 1 << ln; i++) {
for (j = 0; j < 1 << ln; j++) {
int16_t sum;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment