Setup frame/tile boundary when frame/tile geometry changes
Change-Id: I44bc9d8887526a5ee92bf79730fa3ce6c73b160b
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c
index 6fa0264..be5e1a3 100644
--- a/av1/encoder/encoder.c
+++ b/av1/encoder/encoder.c
@@ -4981,6 +4981,9 @@
encode_with_recode_loop(cpi, size, dest);
}
+ cm->last_tile_cols = cm->tile_cols;
+ cm->last_tile_rows = cm->tile_rows;
+
#ifdef OUTPUT_YUV_SKINMAP
if (cpi->common.current_video_frame > 1) {
av1_compute_skin_map(cpi, yuv_skinmap_file);
@@ -5179,6 +5182,7 @@
#if CONFIG_EXT_REFS
}
#endif // CONFIG_EXT_REFS
+
aom_free(tile_ctxs);
aom_free(cdf_ptrs);
}