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

vp9_decodeframe: simplify tile_work_hook signature

use the type names directly in the function declaration rather than
(void *arg1, void *arg2)

Change-Id: I3d1e6c42d384d8e628d7f2075fa561c2c5e20749
Showing with 2 additions and 3 deletions
...@@ -938,9 +938,8 @@ static const uint8_t *decode_tiles(VP9Decoder *pbi, ...@@ -938,9 +938,8 @@ static const uint8_t *decode_tiles(VP9Decoder *pbi,
return vp9_reader_find_end(&tile_data->bit_reader); return vp9_reader_find_end(&tile_data->bit_reader);
} }
static int tile_worker_hook(void *arg1, void *arg2) { static int tile_worker_hook(TileWorkerData *const tile_data,
TileWorkerData *const tile_data = (TileWorkerData*)arg1; const TileInfo *const tile) {
const TileInfo *const tile = (TileInfo*)arg2;
int mi_row, mi_col; int mi_row, mi_col;
for (mi_row = tile->mi_row_start; mi_row < tile->mi_row_end; for (mi_row = tile->mi_row_start; mi_row < tile->mi_row_end;
......
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