Searched refs:waitId (Results 1 – 5 of 5) sorted by relevance
/aosp12/frameworks/av/media/codec2/vndk/platform/ |
H A D | C2SurfaceSyncObj.cpp | 170 bool C2SyncVariables::isDequeueableLocked(uint32_t *waitId) { in isDequeueableLocked() argument 172 if (waitId) { in isDequeueableLocked() 173 *waitId = getWaitIdLocked(); in isDequeueableLocked() 180 bool C2SyncVariables::notifyQueuedLocked(uint32_t *waitId) { in notifyQueuedLocked() argument 190 if (waitId) { in notifyQueuedLocked() 191 *waitId = getWaitIdLocked(); in notifyQueuedLocked() 222 c2_status_t C2SyncVariables::waitForChange(uint32_t waitId, c2_nsecs_t timeoutNs) { in waitForChange() argument 230 int ret = syscall(__NR_futex, &mCond, FUTEX_WAIT, waitId, &tv, NULL, 0); in waitForChange()
|
H A D | C2BqBuffer.cpp | 302 uint32_t waitId; in fetchFromIgbp_l() local 304 if (!syncVar->isDequeueableLocked(&waitId)) { in fetchFromIgbp_l() 307 *c2Fence = _C2FenceFactory::CreateSurfaceFence(mSyncMem, waitId); in fetchFromIgbp_l() 312 waitId = syncVar->getWaitIdLocked(); in fetchFromIgbp_l() 315 *c2Fence = _C2FenceFactory::CreateSurfaceFence(mSyncMem, waitId); in fetchFromIgbp_l() 345 uint32_t waitId; in fetchFromIgbp_l() local 355 dequeueable = syncVar->notifyQueuedLocked(&waitId); in fetchFromIgbp_l() 359 _C2FenceFactory::CreateSurfaceFence(mSyncMem, waitId); in fetchFromIgbp_l()
|
/aosp12/frameworks/av/media/codec2/vndk/ |
H A D | C2Fence.cpp | 120 SurfaceFenceImpl(std::shared_ptr<C2SurfaceSyncMemory> syncMem, uint32_t waitId) : in SurfaceFenceImpl() argument 123 mWaitId(syncMem ? waitId : 0) {} in SurfaceFenceImpl() 134 uint32_t waitId) { in CreateSurfaceFence() argument 137 = new _C2FenceFactory::SurfaceFenceImpl(syncMem, waitId); in CreateSurfaceFence()
|
/aosp12/frameworks/av/media/codec2/vndk/include/ |
H A D | C2SurfaceSyncObj.h | 70 bool isDequeueableLocked(uint32_t *waitId = nullptr); 80 bool notifyQueuedLocked(uint32_t *waitId = nullptr); 112 c2_status_t waitForChange(uint32_t waitId, c2_nsecs_t timeoutNs);
|
H A D | C2FenceFactory.h | 40 uint32_t waitId);
|