Searched refs:sem (Results 1 – 5 of 5) sorted by relevance
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | threading.h | 88 #define sem_init(sem, sem_attr1, sem_init_value) (int)((*sem = CreateSemaphore(NULL,0,32768,NULL))=… argument 89 #define sem_wait(sem) (int)(WAIT_OBJECT_0 != WaitForSingleObject(*sem,INFINITE)) argument 90 #define sem_post(sem) ReleaseSemaphore(*sem,1,NULL) argument 91 #define sem_destroy(sem) if(*sem)((int)(CloseHandle(*sem))==TRUE) argument 103 static inline int sem_init(sem_t *sem, int pshared, unsigned int value) 105 DosCreateEventSem(NULL, &sem->event, pshared ? DC_SEM_SHARED : 0, 107 DosCreateMutexSem(NULL, &sem->wait_mutex, 0, FALSE); 108 DosCreateMutexSem(NULL, &sem->count_mutex, 0, FALSE); 110 sem->count = value; 115 static inline int sem_wait(sem_t * sem) [all …]
|
/hardware/ti/omap4-aah/camera/ |
D | ANativeWindowDisplayAdapter.cpp | 121 Utils::Semaphore sem; in ~ANativeWindowDisplayAdapter() local 141 sem.Create(); in ~ANativeWindowDisplayAdapter() 145 msg.arg1 = &sem; in ~ANativeWindowDisplayAdapter() 151 sem.Wait(); in ~ANativeWindowDisplayAdapter() 288 Utils::Semaphore sem; in enableDisplay() local 313 sem.Create(); in enableDisplay() 317 msg.arg1 = &sem; in enableDisplay() 323 sem.Wait(); in enableDisplay() 363 Utils::Semaphore sem; in disableDisplay() local 364 sem.Create(); in disableDisplay() [all …]
|
/hardware/ti/omap4xxx/camera/ |
D | ANativeWindowDisplayAdapter.cpp | 191 Semaphore sem; in ~ANativeWindowDisplayAdapter() local 211 sem.Create(); in ~ANativeWindowDisplayAdapter() 215 msg.arg1 = &sem; in ~ANativeWindowDisplayAdapter() 221 sem.Wait(); in ~ANativeWindowDisplayAdapter() 359 Semaphore sem; in enableDisplay() local 390 sem.Create(); in enableDisplay() 394 msg.arg1 = &sem; in enableDisplay() 400 sem.Wait(); in enableDisplay() 438 Semaphore sem; in disableDisplay() local 439 sem.Create(); in disableDisplay() [all …]
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXCameraAdapter.cpp | 2656 Semaphore *sem = (Semaphore*) msg->arg3; in OMXCameraAdapterEventHandler() local 2657 if ( sem ) in OMXCameraAdapterEventHandler() 2659 sem->Signal(); in OMXCameraAdapterEventHandler() 2735 Semaphore *sem = (Semaphore*) msg->arg3; in SignalEvent() local 2739 sem->Signal(); in SignalEvent() 2794 Semaphore *sem = (Semaphore*) msg->arg3; in RemoveEvent() local 3550 Semaphore *sem = (Semaphore*) msg->arg3; in ~OMXCameraAdapter() local 3551 sem->Signal(); in ~OMXCameraAdapter()
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
D | OMXCameraAdapter.cpp | 3080 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; in OMXCameraAdapterEventHandler() local 3081 if ( sem ) in OMXCameraAdapterEventHandler() 3083 sem->Signal(); in OMXCameraAdapterEventHandler() 3159 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; in SignalEvent() local 3163 sem->Signal(); in SignalEvent() 3218 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; in RemoveEvent() local 4205 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; in ~OMXCameraAdapter() local 4206 sem->Signal(); in ~OMXCameraAdapter()
|