Searched refs:mCurrIndex (Results 1 – 16 of 16) sorted by relevance
112 RotMem::RotMem() : mCurrIndex(0) { in RotMem()129 if(mRelFence[mCurrIndex] >= 0) { in setCurrBufReleaseFd()134 ret = sync_wait(mRelFence[mCurrIndex], 1000); in setCurrBufReleaseFd()139 ::close(mRelFence[mCurrIndex]); in setCurrBufReleaseFd()141 mRelFence[mCurrIndex] = fence; in setCurrBufReleaseFd()146 uint32_t prevIndex = (mCurrIndex + numRotBufs - 1) % (numRotBufs); in setPrevBufReleaseFd()
243 mMem.mCurrIndex = 0; in reset()261 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()271 mMem.mCurrIndex = in queueBuffer()272 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
201 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()211 mMem.mCurrIndex = in queueBuffer()212 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()295 mMem.mCurrIndex = 0; in reset()
62 uint32_t mCurrIndex; member
75 RotMem::RotMem() : mCurrIndex(0) { in RotMem()92 if(mRelFence[mCurrIndex] >= 0) { in setReleaseFd()97 ret = sync_wait(mRelFence[mCurrIndex], 1000); in setReleaseFd()102 ::close(mRelFence[mCurrIndex]); in setReleaseFd()104 mRelFence[mCurrIndex] = fence; in setReleaseFd()
216 mMem.mCurrIndex = 0; in reset()231 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()232 mMem.mCurrIndex = in queueBuffer()233 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
145 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()146 mMem.mCurrIndex = in queueBuffer()147 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()235 mMem.mCurrIndex = 0; in reset()
76 RotMem::RotMem() : mCurrIndex(0) { in RotMem()93 if(mRelFence[mCurrIndex] >= 0) { in setReleaseFd()98 ret = sync_wait(mRelFence[mCurrIndex], 1000); in setReleaseFd()103 ::close(mRelFence[mCurrIndex]); in setReleaseFd()105 mRelFence[mCurrIndex] = fence; in setReleaseFd()
235 mMem.mCurrIndex = 0; in reset()250 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()251 mMem.mCurrIndex = in queueBuffer()252 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
169 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()170 mMem.mCurrIndex = in queueBuffer()171 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()259 mMem.mCurrIndex = 0; in reset()