Home
last modified time | relevance | path

Searched refs:mBuffersInUse (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/cpp/computepipe/runner/stream_manager/
DPixelStreamManager.cpp139 if (mBuffersInUse.size() > maxPackets) { in setMaxInFlightPackets()
153 auto it = mBuffersInUse.find(bufferId); in freePacket()
155 if (it == mBuffersInUse.end()) { in freePacket()
171 mBuffersInUse.erase(it); in freePacket()
179 for (auto [bufferId, buffer] : mBuffersInUse) { in freeAllPackets()
182 mBuffersInUse.clear(); in freeAllPackets()
209 if (mBuffersInUse.size() >= mMaxInFlightPackets) { in queuePacket()
217 mBuffersReady.push_back(std::make_shared<PixelMemHandle>(mBuffersInUse.size(), mStreamId)); in queuePacket()
229 mBuffersInUse.emplace(memHandle->getBufferId(), bufferMetadata); in queuePacket()
315 auto it = mBuffersInUse.find(bufferId); in clonePacket()
[all …]
DPixelStreamManager.h105 std::map<int, BufferMetadata> mBuffersInUse; variable
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DMockHidlEvsHal_1_0.cpp119 mBuffersInUse.push_back(bufferToForward); in forwardFrames()
171 for (auto&& descriptor : mBuffersInUse) { in deinitializeBufferPoolLocked()
192 mBuffersInUse.clear(); in deinitializeBufferPoolLocked()
214 auto it = std::find_if(mBuffersInUse.begin(), mBuffersInUse.end(), in addMockCameraDevice()
218 if (it == mBuffersInUse.end()) { in addMockCameraDevice()
223 mBuffersInUse.erase(it); in addMockCameraDevice()
DMockHidlEvsHal.cpp155 mBuffersInUse.push_back(bufferToForward); in forwardFrames()
211 for (auto&& descriptor : mBuffersInUse) { in deinitializeBufferPoolLocked()
232 mBuffersInUse.clear(); in deinitializeBufferPoolLocked()
259 auto it = std::find_if(mBuffersInUse.begin(), mBuffersInUse.end(), in addMockCameraDevice()
263 if (it == mBuffersInUse.end()) { in addMockCameraDevice()
268 mBuffersInUse.erase(it); in addMockCameraDevice()
278 auto it = std::find_if(mBuffersInUse.begin(), mBuffersInUse.end(), in addMockCameraDevice()
282 if (it == mBuffersInUse.end()) { in addMockCameraDevice()
288 mBuffersInUse.erase(it); in addMockCameraDevice()
DMockEvsHal.cpp226 mBuffersInUse.push_back(std::move(bufferToUse)); in forwardFrames()
292 for (auto&& descriptor : mBuffersInUse) { in deinitializeBufferPoolLocked()
312 mBuffersInUse.clear(); in deinitializeBufferPoolLocked()
341 auto it = std::find_if(mBuffersInUse.begin(), mBuffersInUse.end(), in addMockCameraDevice()
345 if (it == mBuffersInUse.end()) { in addMockCameraDevice()
351 mBuffersInUse.erase(it); in addMockCameraDevice()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/include/
DMockHidlEvsHal_1_0.h77 std::vector<hidlevs::V1_0::BufferDesc> mBuffersInUse GUARDED_BY(mLock);
DMockHidlEvsHal.h80 std::vector<hidlevs::V1_1::BufferDesc> mBuffersInUse GUARDED_BY(mLock);
DMockEvsHal.h82 std::vector<aidlevs::BufferDesc> mBuffersInUse GUARDED_BY(mLock);