Home
last modified time | relevance | path

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

/packages/services/DeviceAsWebcam/jni/
DBuffer.cpp37 mProducerBufferItems.emplace_back(buf, BufferState::FREE); in BufferManager()
44 for (auto& buf : mProducerBufferItems) { in ~BufferManager()
49 mProducerBufferItems.clear(); in ~BufferManager()
55 for (auto& bufferItem : mProducerBufferItems) { in getFreeBufferIfAvailable()
61 for (const auto& bufferItem : mProducerBufferItems) { in getFreeBufferIfAvailable()
76 for (auto& bufferItem : mProducerBufferItems) { in filledProducerBufferAvailableLocked()
94 for (auto& bufferItem : mProducerBufferItems) { in filledProducerBufferAvailableLocked()
116 std::swap(mConsumerBufferItem, mProducerBufferItems[index]); in getFilledBufferAndSwap()
125 for (auto& bufferItem : mProducerBufferItems) { in changeProducerBufferStateLocked()
138 mProducerBufferItems[i].state = newState; in changeProducerBufferStateLocked()
DBuffer.h210 std::vector<BufferItem> mProducerBufferItems; // guarded by mBufferLock variable