| Index: source/libvpx/vp9/decoder/vp9_dthread.c
|
| ===================================================================
|
| --- source/libvpx/vp9/decoder/vp9_dthread.c (revision 281795)
|
| +++ source/libvpx/vp9/decoder/vp9_dthread.c (working copy)
|
| @@ -124,7 +124,7 @@
|
| static int loop_filter_row_worker(void *arg1, void *arg2) {
|
| TileWorkerData *const tile_data = (TileWorkerData*)arg1;
|
| LFWorkerData *const lf_data = &tile_data->lfdata;
|
| -
|
| + (void) arg2;
|
| loop_filter_rows_mt(lf_data->frame_buffer, lf_data->cm, lf_data->planes,
|
| lf_data->start, lf_data->stop, lf_data->y_only,
|
| lf_data->lf_sync, lf_data->num_lf_workers);
|
| @@ -138,6 +138,7 @@
|
| int frame_filter_level,
|
| int y_only) {
|
| VP9LfSync *const lf_sync = &pbi->lf_row_sync;
|
| + const VP9WorkerInterface *const winterface = vp9_get_worker_interface();
|
| // Number of superblock rows and cols
|
| const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2;
|
| const int tile_cols = 1 << cm->log2_tile_cols;
|
| @@ -197,15 +198,15 @@
|
|
|
| // Start loopfiltering
|
| if (i == num_workers - 1) {
|
| - vp9_worker_execute(worker);
|
| + winterface->execute(worker);
|
| } else {
|
| - vp9_worker_launch(worker);
|
| + winterface->launch(worker);
|
| }
|
| }
|
|
|
| // Wait till all rows are finished
|
| for (i = 0; i < num_workers; ++i) {
|
| - vp9_worker_sync(&pbi->tile_workers[i]);
|
| + winterface->sync(&pbi->tile_workers[i]);
|
| }
|
| }
|
|
|
|
|