Home
last modified time | relevance | path

Searched refs:cond_var_handle (Results 1 – 2 of 2) sorted by relevance

/external/libhevc/encoder/
Dosal_cond_var.c100 cond_var_handle_t *cond_var_handle = 0; in osal_cond_var_create() local
110 cond_var_handle = handle->alloc(mmr_handle, sizeof(cond_var_handle_t)); in osal_cond_var_create()
113 if(0 == cond_var_handle) in osal_cond_var_create()
116 cond_var_handle->mmr_handle = mmr_handle; in osal_cond_var_create()
117 cond_var_handle->hdl = handle; in osal_cond_var_create()
120 if(0 != pthread_cond_init(&(cond_var_handle->cond_var), 0)) in osal_cond_var_create()
122 handle->free(mmr_handle, cond_var_handle); in osal_cond_var_create()
126 return cond_var_handle; in osal_cond_var_create()
158 WORD32 osal_cond_var_destroy(IN void *cond_var_handle) in osal_cond_var_destroy() argument
160 if(0 == cond_var_handle) in osal_cond_var_destroy()
[all …]
Dosal.h438 extern WORD32 osal_cond_var_destroy(IN void *cond_var_handle);
441 extern WORD32 osal_cond_var_wait(IN void *cond_var_handle, IN void *mutex_handle);
444 extern WORD32 osal_cond_var_signal(IN void *cond_var_handle);