Searched refs:mHeldBuffer (Results 1 – 2 of 2) sorted by relevance
98 if (mHeldBuffer >= 0) { in getNewFrame()107 mHeldBuffer = mReadyBuffer; in getNewFrame()111 return mBuffers[mHeldBuffer]; in getNewFrame()119 if ((mHeldBuffer < 0) || (buffer.bufferId != mBuffers[mHeldBuffer].bufferId)) { in doneWithFrame()124 mCamera->doneWithFrame(mBuffers[mHeldBuffer]); in doneWithFrame()127 mHeldBuffer = -1; in doneWithFrame()148 } else if (mHeldBuffer >= 0) { in deliverFrame()150 mReadyBuffer = 1 - mHeldBuffer; in deliverFrame()
76 int mHeldBuffer = -1; // Index of the one currently held by the client variable