Commit ccf6710d authored by James Zern's avatar James Zern
Browse files

VP9_COMMON: drop cur_tile_{row,col}_idx

these were only being written in one location and never read.

Change-Id: If59f3c09aa1485cf89bac0099a8a79e99688b5d1
parent 6261d792
......@@ -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;
static int get_free_fb(VP9_COMMON *cm) {
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment