shithub: dav1d

Download patch

ref: dfcd6ea9f96025ee6779335a209514760fd85ace
parent: a57b07778e905f74178cbe05d84727516daac414
author: Michael Bradshaw <mjbshaw@google.com>
date: Sat Dec 28 17:04:59 EST 2019

Disable warping on scaled references

--- a/src/decode.c
+++ b/src/decode.c
@@ -3304,7 +3304,8 @@
             }
             f->gmv_warp_allowed[i] = f->frame_hdr->gmv[i].type > DAV1D_WM_TYPE_TRANSLATION &&
                                      !f->frame_hdr->force_integer_mv &&
-                                     !dav1d_get_shear_params(&f->frame_hdr->gmv[i]);
+                                     !dav1d_get_shear_params(&f->frame_hdr->gmv[i]) &&
+                                     !f->svc[i][0].scale;
         }
     }