From ccf6710dc2edc32583d94e3afb1da7bb30092dc2 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 22 Jul 2013 13:23:33 -0700 Subject: [PATCH] VP9_COMMON: drop cur_tile_{row,col}_idx these were only being written in one location and never read. Change-Id: If59f3c09aa1485cf89bac0099a8a79e99688b5d1 --- vp9/common/vp9_onyxc_int.h | 4 ++-- vp9/common/vp9_tile_common.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h index fb3327649..2efdf8fa3 100644 --- a/vp9/common/vp9_onyxc_int.h +++ b/vp9/common/vp9_onyxc_int.h @@ -220,8 +220,8 @@ typedef struct VP9Common { int frame_parallel_decoding_mode; int log2_tile_cols, log2_tile_rows; - int cur_tile_mi_col_start, cur_tile_mi_col_end, cur_tile_col_idx; - int cur_tile_mi_row_start, cur_tile_mi_row_end, cur_tile_row_idx; + int cur_tile_mi_col_start, cur_tile_mi_col_end; + int cur_tile_mi_row_start, cur_tile_mi_row_end; } VP9_COMMON; static int get_free_fb(VP9_COMMON *cm) { diff --git a/vp9/common/vp9_tile_common.c b/vp9/common/vp9_tile_common.c index bf618ebd5..a72d2ab94 100644 --- a/vp9/common/vp9_tile_common.c +++ b/vp9/common/vp9_tile_common.c @@ -28,13 +28,11 @@ static void vp9_get_tile_offsets(int *min_tile_off, int *max_tile_off, } void vp9_get_tile_col_offsets(VP9_COMMON *cm, int tile_col_idx) { - cm->cur_tile_col_idx = tile_col_idx; vp9_get_tile_offsets(&cm->cur_tile_mi_col_start, &cm->cur_tile_mi_col_end, tile_col_idx, cm->log2_tile_cols, cm->mi_cols); } void vp9_get_tile_row_offsets(VP9_COMMON *cm, int tile_row_idx) { - cm->cur_tile_row_idx = tile_row_idx; vp9_get_tile_offsets(&cm->cur_tile_mi_row_start, &cm->cur_tile_mi_row_end, tile_row_idx, cm->log2_tile_rows, cm->mi_rows); }