Home
last modified time | relevance | path

Searched refs:sem_handle (Results 1 – 4 of 4) sorted by relevance

/external/libhevc/encoder/
Dosal_semaphore.c112 sem_handle_t *sem_handle = handle->alloc(mmr_handle, sizeof(sem_handle_t)); in osal_sem_create() local
114 if(0 == sem_handle) in osal_sem_create()
118 sem_handle->mmr_handle = mmr_handle; in osal_sem_create()
119 sem_handle->hdl = handle; in osal_sem_create()
123 &(sem_handle->sem_handle), /* Semaphore handle */ in osal_sem_create()
127 handle->free(sem_handle->mmr_handle, sem_handle); in osal_sem_create()
131 return sem_handle; in osal_sem_create()
161 WORD32 osal_sem_destroy(IN void *sem_handle) in osal_sem_destroy() argument
163 if(0 == sem_handle) in osal_sem_destroy()
167 sem_handle_t *handle = (sem_handle_t *)sem_handle; in osal_sem_destroy()
[all …]
Dosal.h419 extern WORD32 osal_sem_destroy(IN void *sem_handle);
422 extern WORD32 osal_sem_wait(IN void *sem_handle);
425 extern WORD32 osal_sem_post(IN void *sem_handle);
428 extern WORD32 osal_sem_count(IN void *sem_handle, OUT WORD32 *count);
Dosal_semaphore.h59 sem_t sem_handle; /* Semaphore handle */ member
Dosal_handle.h80 debug_handle_t sem_handle[DEBUG_ORDER]; member