[NORMATIVE] Fix is_nontrans_global_motion bug
The check should be changed to use mi_units and not pixel
units.
BUG=aomedia:1826
Change-Id: I40ab085dc164e25a462d7519f7ee67e333be23da
diff --git a/av1/common/blockd.h b/av1/common/blockd.h
index b851ca3..e52e6c9 100644
--- a/av1/common/blockd.h
+++ b/av1/common/blockd.h
@@ -1126,7 +1126,7 @@
// First check if all modes are GLOBALMV
if (mbmi->mode != GLOBALMV && mbmi->mode != GLOBAL_GLOBALMV) return 0;
- if (AOMMIN(mi_size_wide[mbmi->sb_type], mi_size_high[mbmi->sb_type]) < 8)
+ if (AOMMIN(mi_size_wide[mbmi->sb_type], mi_size_high[mbmi->sb_type]) < 2)
return 0;
// Now check if all global motion is non translational