Home
last modified time | relevance | path

Searched refs:multi_thread_ctxt (Results 1 – 7 of 7) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dav1_multi_thread.c20 MultiThreadHandle *multi_thread_ctxt = &cpi->multi_thread_ctxt; in av1_row_mt_mem_alloc() local
25 multi_thread_ctxt->allocated_tile_cols = tile_cols; in av1_row_mt_mem_alloc()
26 multi_thread_ctxt->allocated_tile_rows = tile_rows; in av1_row_mt_mem_alloc()
27 multi_thread_ctxt->allocated_sb_rows = max_sb_rows; in av1_row_mt_mem_alloc()
30 for (tile_row = 0; tile_row < multi_thread_ctxt->allocated_tile_rows; in av1_row_mt_mem_alloc()
32 for (tile_col = 0; tile_col < multi_thread_ctxt->allocated_tile_cols; in av1_row_mt_mem_alloc()
35 &cpi->tile_data[tile_row * multi_thread_ctxt->allocated_tile_cols + in av1_row_mt_mem_alloc()
51 MultiThreadHandle *multi_thread_ctxt = &cpi->multi_thread_ctxt; in av1_row_mt_mem_dealloc() local
56 for (tile_row = 0; tile_row < multi_thread_ctxt->allocated_tile_rows; in av1_row_mt_mem_dealloc()
58 for (tile_col = 0; tile_col < multi_thread_ctxt->allocated_tile_cols; in av1_row_mt_mem_dealloc()
[all …]
Dethread.c197 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()
[all …]
Dencoder.h973 MultiThreadHandle multi_thread_ctxt; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_multi_thread.c18 void *vp9_enc_grp_get_next_job(MultiThreadHandle *multi_thread_ctxt, in vp9_enc_grp_get_next_job() argument
28 row_mt_info = (RowMTInfo *)(&multi_thread_ctxt->row_mt_info[tile_id]); in vp9_enc_grp_get_next_job()
70 MultiThreadHandle *multi_thread_ctxt = &cpi->multi_thread_ctxt; in vp9_row_mt_mem_alloc() local
83 multi_thread_ctxt->allocated_tile_cols = tile_cols; in vp9_row_mt_mem_alloc()
84 multi_thread_ctxt->allocated_tile_rows = tile_rows; in vp9_row_mt_mem_alloc()
85 multi_thread_ctxt->allocated_vert_unit_rows = jobs_per_tile_col; in vp9_row_mt_mem_alloc()
87 multi_thread_ctxt->job_queue = in vp9_row_mt_mem_alloc()
93 RowMTInfo *row_mt_info = &multi_thread_ctxt->row_mt_info[tile_col]; in vp9_row_mt_mem_alloc()
124 multi_thread_ctxt->num_tile_vert_sbs[tile_row] = in vp9_row_mt_mem_alloc()
130 MultiThreadHandle *multi_thread_ctxt = &cpi->multi_thread_ctxt; in vp9_row_mt_mem_dealloc() local
[all …]
Dvp9_ethread.c395 MultiThreadHandle *multi_thread_ctxt = (MultiThreadHandle *)arg2; in first_pass_worker_hook() local
403 int cur_tile_id = multi_thread_ctxt->thread_id_to_tile_id[thread_id]; in first_pass_worker_hook()
414 (JobNode *)vp9_enc_grp_get_next_job(multi_thread_ctxt, cur_tile_id); in first_pass_worker_hook()
418 multi_thread_ctxt, thread_data->tile_completion_status, &cur_tile_id, in first_pass_worker_hook()
441 MultiThreadHandle *multi_thread_ctxt = &cpi->multi_thread_ctxt; in vp9_encode_fp_row_mt() local
446 if (multi_thread_ctxt->allocated_tile_cols < tile_cols || in vp9_encode_fp_row_mt()
447 multi_thread_ctxt->allocated_tile_rows < tile_rows || in vp9_encode_fp_row_mt()
448 multi_thread_ctxt->allocated_vert_unit_rows < cm->mb_rows) { in vp9_encode_fp_row_mt()
458 vp9_assign_tile_to_thread(multi_thread_ctxt, tile_cols, cpi->num_workers); in vp9_encode_fp_row_mt()
474 launch_enc_workers(cpi, first_pass_worker_hook, multi_thread_ctxt, in vp9_encode_fp_row_mt()
[all …]
Dvp9_multi_thread.h17 void *vp9_enc_grp_get_next_job(MultiThreadHandle *multi_thread_ctxt,
22 int vp9_get_job_queue_status(MultiThreadHandle *multi_thread_ctxt,
25 void vp9_assign_tile_to_thread(MultiThreadHandle *multi_thread_ctxt,
37 int vp9_get_tiles_proc_status(MultiThreadHandle *multi_thread_ctxt,
Dvp9_encoder.h815 MultiThreadHandle multi_thread_ctxt; member