Commit 4eb1380d authored by Jean-Marc Valin's avatar Jean-Marc Valin

Makes second filters for 45-degree directions horizontal

This reduces the deringing worst-case number of "latency" lines from 10 to 8.

ntt-short1 results:
         MEDIUM (%) HIGH (%)
    PSNR -0.063681 -0.027661
 PSNRHVS -0.063628 -0.007841
    SSIM -0.007828 -0.048415
FASTSSIM  0.139420 -0.183910

Change-Id: I006544ab748b76c0334e406300b3eda20e125846
parent 7f4c3f58
......@@ -164,7 +164,7 @@ void od_filter_dering_orthogonal_c(int16_t *y, int ystride, const int16_t *in,
int i;
int j;
int offset;
if (dir <= 4) offset = OD_FILT_BSTRIDE;
if (dir > 0 && dir < 4) offset = OD_FILT_BSTRIDE;
else offset = 1;
for (i = 0; i < 1 << ln; i++) {
for (j = 0; j < 1 << ln; j++) {
......
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