Refactor motion estimation in MOTION_VAR experiment
To get ready for pulling AV1 to nextgenv2. Refactoring is done to
make the code structures similar, especially for the motion search
part.
Change-Id: I5d7636394408d97de55394d668540f5627827983
diff --git a/av1/encoder/block.h b/av1/encoder/block.h
index 8a6e134..9efd895 100644
--- a/av1/encoder/block.h
+++ b/av1/encoder/block.h
@@ -127,6 +127,10 @@
int *nmvsadcost[2];
int *nmvsadcost_hp[2];
int **mvsadcost;
+#if CONFIG_MOTION_VAR
+ int32_t *wsrc_buf;
+ int32_t *mask_buf;
+#endif // CONFIG_MOTION_VAR
PALETTE_BUFFER *palette_buffer;