Home
last modified time | relevance | path

Searched refs:mutex_ (Results 1 – 6 of 6) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_thread.c33 pthread_mutex_lock(&worker->mutex_); in thread_loop()
35 pthread_cond_wait(&worker->condition_, &worker->mutex_); in thread_loop()
45 pthread_mutex_unlock(&worker->mutex_); in thread_loop()
56 pthread_mutex_lock(&worker->mutex_); in change_state()
59 pthread_cond_wait(&worker->condition_, &worker->mutex_); in change_state()
66 pthread_mutex_unlock(&worker->mutex_); in change_state()
91 if (pthread_mutex_init(&worker->mutex_, NULL) || in vp9_worker_reset()
95 pthread_mutex_lock(&worker->mutex_); in vp9_worker_reset()
98 pthread_mutex_unlock(&worker->mutex_); in vp9_worker_reset()
128 pthread_mutex_destroy(&worker->mutex_); in vp9_worker_end()
Dvp9_dthread.c43 mutex_lock(&lf_sync->mutex_[r - 1]); in sync_read()
47 &lf_sync->mutex_[r - 1]); in sync_read()
49 pthread_mutex_unlock(&lf_sync->mutex_[r - 1]); in sync_read()
75 mutex_lock(&lf_sync->mutex_[r]); in sync_write()
80 pthread_mutex_unlock(&lf_sync->mutex_[r]); in sync_write()
226 CHECK_MEM_ERROR(cm, lf_sync->mutex_, in vp9_loop_filter_alloc()
227 vpx_malloc(sizeof(*lf_sync->mutex_) * rows)); in vp9_loop_filter_alloc()
229 pthread_mutex_init(&lf_sync->mutex_[i], NULL); in vp9_loop_filter_alloc()
252 if (lf_sync->mutex_ != NULL) { in vp9_loop_filter_dealloc()
254 pthread_mutex_destroy(&lf_sync->mutex_[i]); in vp9_loop_filter_dealloc()
[all …]
Dvp9_dthread.h35 pthread_mutex_t *mutex_; member
Dvp9_thread.h169 pthread_mutex_t mutex_; member
/hardware/qcom/display/msm8996/sdm/include/utils/
Dlocker.h128 pthread_mutex_init(&mutex_, 0); in Locker()
133 pthread_mutex_destroy(&mutex_); in ~Locker()
137 void Lock() { pthread_mutex_lock(&mutex_); } in Lock()
138 void Unlock() { pthread_mutex_unlock(&mutex_); } in Unlock()
141 void Wait() { pthread_cond_wait(&condition_, &mutex_); } in Wait()
150 return pthread_cond_timedwait(&condition_, &mutex_, &ts); in WaitFinite()
154 pthread_mutex_t mutex_;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h2312 GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, NULL));
2315 pthread_mutex_destroy(&mutex_);
2321 pthread_mutex_lock(&mutex_);
2323 pthread_mutex_unlock(&mutex_);
2330 pthread_mutex_lock(&mutex_);
2332 pthread_mutex_unlock(&mutex_);
2340 pthread_mutex_t mutex_;
2447 GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_lock(&mutex_));
2459 GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_unlock(&mutex_));
2475 pthread_mutex_t mutex_; // The underlying pthread mutex.
[all …]