shithub: dav1d

Download patch

ref: 8e1d06df8244cf40bb6b9ba1f1e46c9a5d3feb34
parent: 7c56793acf88a86bc074ae1b3084360ce84f83bc
author: Ronald S. Bultje <[email protected]>
date: Wed Oct 24 10:19:29 EDT 2018

Revert "Add tile constraint to loopfilter mask fix-up code"

This reverts commit 6fa9df9c6f6c620ea6f3d9848465adbdf958648f. The
behaviour shown there only happens when show_existing_frame=1, i.e.
it was the same bug as 2e991b1479431081bc1634ec91191763d11b05a4.

--- a/src/lf_apply.c
+++ b/src/lf_apply.c
@@ -163,7 +163,7 @@
     // fix lpf strength at tile col boundaries
     const uint8_t *lpf_y = &f->lf.tx_lpf_right_edge[0][sby << sbl2];
     const uint8_t *lpf_uv = &f->lf.tx_lpf_right_edge[1][sby << (sbl2 - ss_ver)];
-    for (int tile_col = 1; tile_col < f->frame_hdr.tiling.cols; tile_col++) {
+    for (int tile_col = 1;; tile_col++) {
         x = f->frame_hdr.tiling.col_start_sb[tile_col];
         if ((x << sbl2) >= f->bw) break;
         const int bx4 = x & is_sb64 ? 16 : 0, cbx4 = bx4 >> ss_hor;