Searched defs:sem (Results 1 - 5 of 5) sorted by relevance
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | threading.h | 88 #define sem_init(sem, sem_attr1, sem_init_value) (int)((*sem = CreateSemaphore(NULL,0,32768,NULL))==NULL) 89 #define sem_wait(sem) (int)(WAIT_OBJECT_0 != WaitForSingleObject(*sem,INFINITE)) 90 #define sem_post(sem) ReleaseSemaphore(*sem,1,NULL) 91 #define sem_destroy(sem) if(*sem)((int)(CloseHandle(*sem))==TRUE) 103 static inline int sem_init(sem_t *sem, in argument 115 sem_wait(sem_t * sem) argument 138 sem_post(sem_t * sem) argument 153 sem_destroy(sem_t * sem) argument [all...] |
/hardware/ti/omap4-aah/camera/ |
H A D | ANativeWindowDisplayAdapter.cpp | 121 Utils::Semaphore sem; local 141 sem.Create(); 145 msg.arg1 = &sem; 151 sem.Wait(); 288 Utils::Semaphore sem; local 313 sem.Create(); 317 msg.arg1 = &sem; 323 sem.Wait(); 363 Utils::Semaphore sem; local 364 sem 985 Utils::Semaphore &sem = *((Utils::Semaphore*)msg.arg1); local [all...] |
/hardware/ti/omap4xxx/camera/ |
H A D | ANativeWindowDisplayAdapter.cpp | 191 Semaphore sem; local 211 sem.Create(); 215 msg.arg1 = &sem; 221 sem.Wait(); 359 Semaphore sem; local 390 sem.Create(); 394 msg.arg1 = &sem; 400 sem.Wait(); 438 Semaphore sem; local 439 sem 1016 Semaphore &sem = *((Semaphore*)msg.arg1); local [all...] |
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
H A D | OMXCameraAdapter.cpp | 3080 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; local 3081 if ( sem ) 3083 sem->Signal(); 3159 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; local 3160 CAMHAL_LOGDA("Event matched, signalling sem"); 3163 sem->Signal(); 3218 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; local 3219 CAMHAL_LOGDA("Event matched, signalling sem"); 4205 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; local 4206 sem [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
H A D | OMXCameraAdapter.cpp | 2656 Semaphore *sem = (Semaphore*) msg->arg3; local 2657 if ( sem ) 2659 sem->Signal(); 2735 Semaphore *sem = (Semaphore*) msg->arg3; local 2736 CAMHAL_LOGDA("Event matched, signalling sem"); 2739 sem->Signal(); 2794 Semaphore *sem = (Semaphore*) msg->arg3; local 2795 CAMHAL_LOGDA("Event matched, signalling sem"); 3550 Semaphore *sem = (Semaphore*) msg->arg3; local 3551 sem [all...] |
Completed in 101 milliseconds