Home
last modified time | relevance | path

Searched refs:mReadyBuffer (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/evs/app/
DStreamHandler.cpp91 return (mReadyBuffer >= 0); in newFrameAvailable()
101 if (mReadyBuffer < 0) { in getNewFrame()
103 mReadyBuffer = 0; // This is a lie! in getNewFrame()
107 mHeldBuffer = mReadyBuffer; in getNewFrame()
108 mReadyBuffer = -1; in getNewFrame()
143 if (mReadyBuffer >= 0) { in deliverFrame()
145 mCamera->doneWithFrame(mBuffers[mReadyBuffer]); in deliverFrame()
150 mReadyBuffer = 1 - mHeldBuffer; in deliverFrame()
153 mReadyBuffer = 0; in deliverFrame()
157 mBuffers[mReadyBuffer] = buffer; in deliverFrame()
DStreamHandler.h77 int mReadyBuffer = -1; // Index of the newest available buffer variable