Commit ab139094 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "VP9_COMMON: drop cur_tile_{row,col}_idx"

parents 37da8ea6 ccf6710d
......@@ -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);
Supports Markdown
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