Home
last modified time | relevance | path

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

/external/libhevc/encoder/
Dosal_mutex.c98 mutex_handle_t *mutex_handle = 0; in osal_mutex_create() local
107 mutex_handle = handle->alloc(mmr_handle, sizeof(mutex_handle_t)); in osal_mutex_create()
110 if(0 == mutex_handle) in osal_mutex_create()
113 mutex_handle->mmr_handle = mmr_handle; in osal_mutex_create()
114 mutex_handle->hdl = handle; in osal_mutex_create()
117 if(0 != pthread_mutex_init(&(mutex_handle->mutex_handle), NULL)) in osal_mutex_create()
119 handle->free(mmr_handle, mutex_handle); in osal_mutex_create()
123 return mutex_handle; in osal_mutex_create()
154 WORD32 osal_mutex_destroy(IN void *mutex_handle) in osal_mutex_destroy() argument
156 if(0 == mutex_handle) in osal_mutex_destroy()
[all …]
Dosal_cond_var.c210 WORD32 osal_cond_var_wait(IN void *cond_var_handle, IN void *mutex_handle) in osal_cond_var_wait() argument
212 if(0 == cond_var_handle || 0 == mutex_handle) in osal_cond_var_wait()
216 mutex_handle_t *mutex = (mutex_handle_t *)mutex_handle; in osal_cond_var_wait()
219 return pthread_cond_wait(&(cond_var->cond_var), &(mutex->mutex_handle)); in osal_cond_var_wait()
Dosal.h403 extern WORD32 osal_mutex_destroy(IN void *mutex_handle);
406 extern WORD32 osal_mutex_lock(IN void *mutex_handle);
409 extern WORD32 osal_mutex_unlock(IN void *mutex_handle);
441 extern WORD32 osal_cond_var_wait(IN void *cond_var_handle, IN void *mutex_handle);
Dosal_mutex.h45 pthread_mutex_t mutex_handle; /* Mutex Identifier */ member
Dosal_select_engine.h65 void *mutex_handle; /* Mutex for mutual exclusion. */ member
Dosal_handle.h74 debug_handle_t mutex_handle[DEBUG_ORDER]; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_multi_thread.c25 pthread_mutex_t *mutex_handle = NULL; in vp9_enc_grp_get_next_job() local
31 mutex_handle = &row_mt_info->job_mutex; in vp9_enc_grp_get_next_job()
36 pthread_mutex_lock(mutex_handle); in vp9_enc_grp_get_next_job()
48 pthread_mutex_unlock(mutex_handle); in vp9_enc_grp_get_next_job()