Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/support_library/
DStreamHandler.cpp89 return (mReadyBuffer >= 0); in newDisplayFrameAvailable()
99 if (mReadyBuffer < 0) { in getNewDisplayFrame()
102 mReadyBuffer = 0; // This is a lie! in getNewDisplayFrame()
106 mHeldBuffer = mReadyBuffer; in getNewDisplayFrame()
107 mReadyBuffer = -1; in getNewDisplayFrame()
151 if (mReadyBuffer >= 0) { in deliverFrame()
153 mCamera->doneWithFrame(mOriginalBuffers[mReadyBuffer]); in deliverFrame()
158 mReadyBuffer = 1 - mHeldBuffer; in deliverFrame()
161 mReadyBuffer = 0; in deliverFrame()
165 mOriginalBuffers[mReadyBuffer] = buffer; in deliverFrame()
[all …]
DStreamHandler.h150 int mReadyBuffer = -1; // Index of the newest available buffer variable
/packages/services/Car/cpp/evs/apps/default/
DStreamHandler.cpp159 return (mReadyBuffer >= 0); in newFrameAvailable()
169 if (mReadyBuffer < 0) { in getNewFrame()
172 mReadyBuffer = 0; // This is a lie! in getNewFrame()
176 mHeldBuffer = mReadyBuffer; in getNewFrame()
177 mReadyBuffer = -1; in getNewFrame()
229 if (mReadyBuffer >= 0) { in deliverFrame_1_1()
233 frames[0] = mBuffers[mReadyBuffer]; in deliverFrame_1_1()
242 mReadyBuffer = 1 - mHeldBuffer; in deliverFrame_1_1()
245 mReadyBuffer = 0; in deliverFrame_1_1()
249 mBuffers[mReadyBuffer] = bufDesc; in deliverFrame_1_1()
DStreamHandler.h90 int mReadyBuffer = -1; // Index of the newest available buffer variable