Lines Matching refs:multi_thread_ctxt
197 static void assign_tile_to_thread(MultiThreadHandle *multi_thread_ctxt, in assign_tile_to_thread() argument
203 multi_thread_ctxt->thread_id_to_tile_id[i] = tile_id++; in assign_tile_to_thread()
286 MultiThreadHandle *multi_thread_ctxt = &cpi->multi_thread_ctxt; in enc_row_mt_worker_hook() local
288 int cur_tile_id = multi_thread_ctxt->thread_id_to_tile_id[thread_id]; in enc_row_mt_worker_hook()
625 MultiThreadHandle *multi_thread_ctxt = &cpi->multi_thread_ctxt; in av1_encode_tiles_row_mt() local
656 if (multi_thread_ctxt->allocated_tile_cols != tile_cols || in av1_encode_tiles_row_mt()
657 multi_thread_ctxt->allocated_tile_rows != tile_rows || in av1_encode_tiles_row_mt()
658 multi_thread_ctxt->allocated_sb_rows != max_sb_rows) { in av1_encode_tiles_row_mt()
663 memset(multi_thread_ctxt->thread_id_to_tile_id, -1, in av1_encode_tiles_row_mt()
664 sizeof(*multi_thread_ctxt->thread_id_to_tile_id) * MAX_NUM_THREADS); in av1_encode_tiles_row_mt()
692 assign_tile_to_thread(multi_thread_ctxt, tile_cols * tile_rows, num_workers); in av1_encode_tiles_row_mt()