ref: 52416c3e17f19ae13d32e2fa672ddc7697182ade
parent: 7538e4cc88591fe5b161d93d4c74a20b5bc55ff2
author: Jingning Han <[email protected]>
date: Fri Jun 15 13:06:50 EDT 2018
Remove unneeded buffer restore calls Change-Id: I89c8ad6544e0cee60b5daf49bc18c7e31f08faa2
--- a/vp9/encoder/vp9_temporal_filter.c
+++ b/vp9/encoder/vp9_temporal_filter.c
@@ -620,13 +620,6 @@
const int tile_cols = 1 << cm->log2_tile_cols;
const int tile_rows = 1 << cm->log2_tile_rows;
int tile_row, tile_col;
- MACROBLOCKD *mbd = &cpi->td.mb.e_mbd;
- // Save input state
- uint8_t *input_buffer[MAX_MB_PLANE];
- int i;
-
- for (i = 0; i < MAX_MB_PLANE; i++) input_buffer[i] = mbd->plane[i].pre[0].buf;
-
vp9_init_tile_data(cpi);
for (tile_row = 0; tile_row < tile_rows; ++tile_row) {
@@ -634,9 +627,6 @@
temporal_filter_iterate_tile_c(cpi, tile_row, tile_col);
}
}
-
- // Restore input state
- for (i = 0; i < MAX_MB_PLANE; i++) mbd->plane[i].pre[0].buf = input_buffer[i];
}
// Apply buffer limits and context specific adjustments to arnr filter.