Searched refs:mReadyBuffer (Results 1 – 4 of 4) sorted by relevance
83 return (mReadyBuffer >= 0); in newDisplayFrameAvailable()92 if (mReadyBuffer < 0) { in getNewDisplayFrame()95 mReadyBuffer = 0; // This is a lie! in getNewDisplayFrame()99 mHeldBuffer = mReadyBuffer; in getNewDisplayFrame()100 mReadyBuffer = -1; in getNewDisplayFrame()141 if (mReadyBuffer >= 0) { in deliverFrame()143 mCamera->doneWithFrame(mOriginalBuffers[mReadyBuffer]); in deliverFrame()148 mReadyBuffer = 1 - mHeldBuffer; in deliverFrame()151 mReadyBuffer = 0; in deliverFrame()155 mOriginalBuffers[mReadyBuffer] = buffer; in deliverFrame()[all …]
151 int mReadyBuffer = -1; // Index of the newest available buffer variable
153 return (mReadyBuffer >= 0); in newFrameAvailable()162 if (mReadyBuffer < 0) { in getNewFrame()165 mReadyBuffer = 0; // This is a lie! in getNewFrame()169 mHeldBuffer = mReadyBuffer; in getNewFrame()170 mReadyBuffer = -1; in getNewFrame()210 if (mReadyBuffer >= 0) { in deliverFrame()213 frames[0] = std::move(mBuffers[mReadyBuffer]); in deliverFrame()221 mReadyBuffer = 1 - mHeldBuffer; in deliverFrame()224 mReadyBuffer = 0; in deliverFrame()228 mBuffers[mReadyBuffer] = dupBufferDesc(bufferToUse); in deliverFrame()
79 int mReadyBuffer = -1; // Index of the newest available buffer variable