Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/common/
Dthread_common.c80 CHECK_MEM_ERROR(cm, lf_sync->job_mutex, in loop_filter_alloc()
81 aom_malloc(sizeof(*(lf_sync->job_mutex)))); in loop_filter_alloc()
82 if (lf_sync->job_mutex) { in loop_filter_alloc()
83 pthread_mutex_init(lf_sync->job_mutex, NULL); in loop_filter_alloc()
122 if (lf_sync->job_mutex != NULL) { in av1_loop_filter_dealloc()
123 pthread_mutex_destroy(lf_sync->job_mutex); in av1_loop_filter_dealloc()
124 aom_free(lf_sync->job_mutex); in av1_loop_filter_dealloc()
250 pthread_mutex_lock(lf_sync->job_mutex); in get_lf_job_info()
257 pthread_mutex_unlock(lf_sync->job_mutex); in get_lf_job_info()
607 CHECK_MEM_ERROR(cm, lr_sync->job_mutex, in loop_restoration_alloc()
[all …]
Dthread_common.h50 pthread_mutex_t *job_mutex; member
90 pthread_mutex_t *job_mutex; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_multi_thread.c31 mutex_handle = &row_mt_info->job_mutex; in vp9_enc_grp_get_next_job()
94 pthread_mutex_init(&row_mt_info->job_mutex, NULL); in vp9_row_mt_mem_alloc()
144 if (row_mt_info) pthread_mutex_destroy(&row_mt_info->job_mutex); in vp9_row_mt_mem_dealloc()
214 mutex = &row_mt_info->job_mutex; in vp9_get_job_queue_status()
Dvp9_encoder.h390 pthread_mutex_t job_mutex; member
/external/libaom/libaom/av1/decoder/
Ddecoder.c138 if (tile_mt_info->job_mutex != NULL) { in av1_dealloc_dec_jobs()
139 pthread_mutex_destroy(tile_mt_info->job_mutex); in av1_dealloc_dec_jobs()
140 aom_free(tile_mt_info->job_mutex); in av1_dealloc_dec_jobs()
Ddecoder.h150 pthread_mutex_t *job_mutex; member
Ddecodeframe.c3269 pthread_mutex_lock(tile_mt_info->job_mutex); in get_dec_job_info()
3276 pthread_mutex_unlock(tile_mt_info->job_mutex); in get_dec_job_info()
3717 CHECK_MEM_ERROR(cm, tile_mt_info->job_mutex, in alloc_dec_jobs()
3718 aom_malloc(sizeof(*tile_mt_info->job_mutex) * num_tiles)); in alloc_dec_jobs()
3721 pthread_mutex_init(&tile_mt_info->job_mutex[i], NULL); in alloc_dec_jobs()