Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decode.c b/src/decode.c
index 0a4a74a..0b27de0 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -3071,6 +3071,9 @@ int dav1d_submit_frame(Dav1dContext *const c) {
} else {
f->svc[i][0].scale = 0;
}
+ f->gmv_warp_allowed[i] = f->frame_hdr.gmv[i].type > WM_TYPE_TRANSLATION &&
+ !f->frame_hdr.force_integer_mv &&
+ !dav1d_get_shear_params(&f->frame_hdr.gmv[i]);
}
}