| /OK3568_Linux_fs/external/camera_engine_rkaiq/IspFec/src/ |
| H A D | RkIspFecHwMgr.cpp | 36 pthread_mutex_t RkIspFecHwMgr::mMutex = PTHREAD_MUTEX_INITIALIZER; member in RKISPFEC::RkIspFecHwMgr 69 int ret = pthread_mutex_lock (&mMutex); in getInstance() 77 ret = pthread_mutex_unlock (&mMutex); in getInstance() 85 int ret = pthread_mutex_lock (&mMutex); in deinit() 94 ret = pthread_mutex_unlock (&mMutex); in deinit() 180 int ret = pthread_mutex_lock (&mMutex); in selectFecHw() 190 ret = pthread_cond_wait (&mCond, &mMutex); in selectFecHw() 194 ret = pthread_mutex_unlock (&mMutex); in selectFecHw() 210 ret |= pthread_mutex_lock (&mMutex); in process() 213 ret |= pthread_mutex_unlock (&mMutex); in process()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/ |
| H A D | RgaMutex.h | 139 pthread_mutex_t mMutex; variable 144 pthread_mutex_init(&mMutex, nullptr); in Mutex() 147 pthread_mutex_init(&mMutex, nullptr); in Mutex() 154 pthread_mutex_init(&mMutex, &attr); in Mutex() 157 pthread_mutex_init(&mMutex, nullptr); in Mutex() 161 pthread_mutex_destroy(&mMutex); in ~Mutex() 164 return -pthread_mutex_lock(&mMutex); in lock() 167 pthread_mutex_unlock(&mMutex); in unlock() 170 return -pthread_mutex_trylock(&mMutex); in tryLock() 180 return -pthread_mutex_timedlock(&mMutex, &ts); in timedLock()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/ |
| H A D | RgaMutex.h | 139 pthread_mutex_t mMutex; variable 144 pthread_mutex_init(&mMutex, nullptr); in Mutex() 147 pthread_mutex_init(&mMutex, nullptr); in Mutex() 154 pthread_mutex_init(&mMutex, &attr); in Mutex() 157 pthread_mutex_init(&mMutex, nullptr); in Mutex() 161 pthread_mutex_destroy(&mMutex); in ~Mutex() 164 return -pthread_mutex_lock(&mMutex); in lock() 167 pthread_mutex_unlock(&mMutex); in unlock() 170 return -pthread_mutex_trylock(&mMutex); in tryLock() 180 return -pthread_mutex_timedlock(&mMutex, &ts); in timedLock()
|
| /OK3568_Linux_fs/external/linux-rga/include/ |
| H A D | RgaMutex.h | 139 pthread_mutex_t mMutex; variable 144 pthread_mutex_init(&mMutex, nullptr); in Mutex() 147 pthread_mutex_init(&mMutex, nullptr); in Mutex() 154 pthread_mutex_init(&mMutex, &attr); in Mutex() 157 pthread_mutex_init(&mMutex, nullptr); in Mutex() 161 pthread_mutex_destroy(&mMutex); in ~Mutex() 164 return -pthread_mutex_lock(&mMutex); in lock() 167 pthread_mutex_unlock(&mMutex); in unlock() 170 return -pthread_mutex_trylock(&mMutex); in tryLock() 180 return -pthread_mutex_timedlock(&mMutex, &ts); in timedLock()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/ |
| H A D | RgaMutex.h | 139 pthread_mutex_t mMutex; variable 144 pthread_mutex_init(&mMutex, nullptr); in Mutex() 147 pthread_mutex_init(&mMutex, nullptr); in Mutex() 154 pthread_mutex_init(&mMutex, &attr); in Mutex() 157 pthread_mutex_init(&mMutex, nullptr); in Mutex() 161 pthread_mutex_destroy(&mMutex); in ~Mutex() 164 return -pthread_mutex_lock(&mMutex); in lock() 167 pthread_mutex_unlock(&mMutex); in unlock() 170 return -pthread_mutex_trylock(&mMutex); in tryLock() 180 return -pthread_mutex_timedlock(&mMutex, &ts); in timedLock()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/ |
| H A D | RgaMutex.h | 139 pthread_mutex_t mMutex; variable 144 pthread_mutex_init(&mMutex, nullptr); in Mutex() 147 pthread_mutex_init(&mMutex, nullptr); in Mutex() 154 pthread_mutex_init(&mMutex, &attr); in Mutex() 157 pthread_mutex_init(&mMutex, nullptr); in Mutex() 161 pthread_mutex_destroy(&mMutex); in ~Mutex() 164 return -pthread_mutex_lock(&mMutex); in lock() 167 pthread_mutex_unlock(&mMutex); in unlock() 170 return -pthread_mutex_trylock(&mMutex); in tryLock() 180 return -pthread_mutex_timedlock(&mMutex, &ts); in timedLock()
|
| /OK3568_Linux_fs/external/mpp/osal/inc/ |
| H A D | mpp_thread.h | 107 pthread_mutex_t mMutex; variable 118 pthread_mutex_init(&mMutex, &attr); in Mutex() 123 pthread_mutex_destroy(&mMutex); in ~Mutex() 127 pthread_mutex_lock(&mMutex); in lock() 131 pthread_mutex_unlock(&mMutex); in unlock() 135 return pthread_mutex_trylock(&mMutex); in trylock() 171 return pthread_cond_wait(&mCond, &mutex.mMutex); in wait() 175 return pthread_cond_wait(&mCond, &mutex->mMutex); in wait() 193 return pthread_cond_timedwait(&mCond, &mutex->mMutex, &ts); in timedwait()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser/ |
| H A D | RkAiqCalibDb.h | 43 static XCam::Mutex mMutex; variable
|
| H A D | RkAiqCalibDb.cpp | 65 XCam::Mutex RkAiqCalibDb::mMutex{false}; 472 mMutex.lock(); in createCalibDb() 474 mMutex.unlock(); in createCalibDb()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/IspFec/include_prv/ |
| H A D | RkIspFecHwMgr.h | 40 static pthread_mutex_t mMutex; variable
|
| /OK3568_Linux_fs/external/rockit/tgi/sdk/include/ |
| H A D | RTThreadPool.h | 122 RtMutex mMutex; variable
|
| H A D | RTTaskNodeBase.h | 153 RtMutex mMutex; variable
|
| /OK3568_Linux_fs/external/linux-rga/core/ |
| H A D | NormalRga.cpp | 29 pthread_mutex_t mMutex = PTHREAD_MUTEX_INITIALIZER; variable 140 pthread_mutex_lock(&mMutex); in NormalRgaOpen() 142 pthread_mutex_unlock(&mMutex); in NormalRgaOpen() 181 pthread_mutex_lock(&mMutex); in NormalRgaClose() 186 pthread_mutex_unlock(&mMutex); in NormalRgaClose() 192 pthread_mutex_unlock(&mMutex); in NormalRgaClose() 196 pthread_mutex_unlock(&mMutex); in NormalRgaClose()
|