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.cpp83 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 …]
DStreamHandler.h151 int mReadyBuffer = -1; // Index of the newest available buffer variable
/packages/services/Car/cpp/evs/apps/default/src/
DStreamHandler.cpp153 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()
/packages/services/Car/cpp/evs/apps/default/inc/
DStreamHandler.h79 int mReadyBuffer = -1; // Index of the newest available buffer variable