localize the use of CONFIG_DEPENDENT_HORZTILES
This commit changes is_inside() function to reduce the code polution
of CONFIG_DEPENDENT_HORZTILES.
Change-Id: Ic065cc337e0246379d87966a49ddeb48b975c5be
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index 268426c..24da721 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -5835,8 +5835,8 @@
const MV_REFERENCE_FRAME frame = mbmi->ref_frame[ref];
#if CONFIG_EXT_INTER
int_mv mv_ref_list[MAX_MV_REF_CANDIDATES];
- av1_update_mv_context(xd, mi, frame, mv_ref_list, index, mi_row, mi_col,
- NULL);
+ av1_update_mv_context(cm, xd, mi, frame, mv_ref_list, index, mi_row,
+ mi_col, NULL);
#endif // CONFIG_EXT_INTER
#if CONFIG_GLOBAL_MOTION
frame_mv[ZEROMV][frame].as_int =