/external/libvpx/libvpx/vpx_util/ |
vpx_thread.h | 38 HANDLE waiting_sem_; member in struct:__anon18120 101 ok &= (CloseHandle(condition->waiting_sem_) != 0); 110 condition->waiting_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); 113 if (condition->waiting_sem_ == NULL || 124 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { 140 if (!ReleaseSemaphore(condition->waiting_sem_, 1, NULL))
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_thread.h | 35 HANDLE waiting_sem_; member in struct:__anon31528 98 ok &= (CloseHandle(condition->waiting_sem_) != 0); 107 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 110 if (condition->waiting_sem_ == NULL || 121 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { 137 if (!ReleaseSemaphore(condition->waiting_sem_, 1, NULL))
|
/external/opencv3/3rdparty/libwebp/utils/ |
thread.h | 33 HANDLE waiting_sem_; member in struct:__anon21921
|
thread.c | 80 ok &= (CloseHandle(condition->waiting_sem_) != 0); 88 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 91 if (condition->waiting_sem_ == NULL || 102 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { 118 if (!ReleaseSemaphore(condition->waiting_sem_, 1, NULL))
|
/external/webp/src/utils/ |
thread.c | 32 HANDLE waiting_sem_; member in struct:__anon27482 136 ok &= (CloseHandle(condition->waiting_sem_) != 0); 148 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 151 if (condition->waiting_sem_ == NULL || 166 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { 186 if (!ReleaseSemaphore(condition->waiting_sem_, 1, NULL))
|