Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/support_library/
DStreamHandler.cpp96 if (mHeldBuffer >= 0) { in getNewDisplayFrame()
106 mHeldBuffer = mReadyBuffer; in getNewDisplayFrame()
111 return mOriginalBuffers[mHeldBuffer]; in getNewDisplayFrame()
113 return mProcessedBuffers[mHeldBuffer]; in getNewDisplayFrame()
122 if ((mHeldBuffer < 0) in doneWithFrame()
123 || (buffer.bufferId != mOriginalBuffers[mHeldBuffer].bufferId)) { in doneWithFrame()
126 mOriginalBuffers[mHeldBuffer].bufferId, buffer.bufferId); in doneWithFrame()
131 mCamera->doneWithFrame(mOriginalBuffers[mHeldBuffer]); in doneWithFrame()
134 mHeldBuffer = -1; in doneWithFrame()
156 } else if (mHeldBuffer >= 0) { in deliverFrame()
[all …]
DStreamHandler.h149 int mHeldBuffer = -1; // Index of the one currently held by the client variable
/packages/services/Car/cpp/evs/apps/default/
DStreamHandler.cpp166 if (mHeldBuffer >= 0) { in getNewFrame()
176 mHeldBuffer = mReadyBuffer; in getNewFrame()
180 return mBuffers[mHeldBuffer]; in getNewFrame()
188 if ((mHeldBuffer < 0) || (bufDesc_1_1.bufferId != mBuffers[mHeldBuffer].bufferId)) { in doneWithFrame()
195 frames[0] = mBuffers[mHeldBuffer]; in doneWithFrame()
202 mHeldBuffer = -1; in doneWithFrame()
240 } else if (mHeldBuffer >= 0) { in deliverFrame_1_1()
242 mReadyBuffer = 1 - mHeldBuffer; in deliverFrame_1_1()
DStreamHandler.h89 int mHeldBuffer = -1; // Index of the one currently held by the client variable