Support for homography in global motion experiment
Change-Id: If4a480633032d8738a84fa8173c6ebd90564f0a4
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index b2d78f9..3242f3d 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -4337,6 +4337,10 @@
TransformationType type = gm->wmtype;
av1_cost_tokens(gmtype_cost, probs, av1_global_motion_types_tree);
switch (type) {
+ case HOMOGRAPHY:
+ bits = (GM_ABS_TRANS_BITS + 1) * 2 + (GM_ABS_ALPHA_BITS + 1) * 4 +
+ (GM_ABS_ROW3HOMO_BITS + 1) * 2;
+ break;
case AFFINE:
bits = (GM_ABS_TRANS_BITS + 1) * 2 + (GM_ABS_ALPHA_BITS + 1) * 4;
break;