VP9_COMMON: drop cur_tile_{row,col}_idx
these were only being written in one location and never read. Change-Id: If59f3c09aa1485cf89bac0099a8a79e99688b5d1
This commit is contained in:
parent
6261d79206
commit
ccf6710dc2
@ -220,8 +220,8 @@ typedef struct VP9Common {
|
|||||||
int frame_parallel_decoding_mode;
|
int frame_parallel_decoding_mode;
|
||||||
|
|
||||||
int log2_tile_cols, log2_tile_rows;
|
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_col_start, cur_tile_mi_col_end;
|
||||||
int cur_tile_mi_row_start, cur_tile_mi_row_end, cur_tile_row_idx;
|
int cur_tile_mi_row_start, cur_tile_mi_row_end;
|
||||||
} VP9_COMMON;
|
} VP9_COMMON;
|
||||||
|
|
||||||
static int get_free_fb(VP9_COMMON *cm) {
|
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) {
|
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,
|
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);
|
tile_col_idx, cm->log2_tile_cols, cm->mi_cols);
|
||||||
}
|
}
|
||||||
|
|
||||||
void vp9_get_tile_row_offsets(VP9_COMMON *cm, int tile_row_idx) {
|
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,
|
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);
|
tile_row_idx, cm->log2_tile_rows, cm->mi_rows);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user