Home
last modified time | relevance | path

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

/aosp12/frameworks/av/services/camera/libcameraservice/device3/
H A DBufferUtils.cpp78 auto it = bIdMap.find(buf); in getBufferId()
79 if (it == bIdMap.end()) { in getBufferId()
80 bIdMap[buf] = mNextBufferId++; in getBufferId()
119 BufferIdMap& bIdMap = mapIt->second; in removeOneBufferCache() local
120 auto it = bIdMap.find(handle); in removeOneBufferCache()
121 if (it == bIdMap.end()) { in removeOneBufferCache()
127 bIdMap.erase(it); in removeOneBufferCache()
143 ret.reserve(bIdMap.size()); in clearBufferCaches()
144 for (const auto& it : bIdMap) { in clearBufferCaches()
147 bIdMap.clear(); in clearBufferCaches()
[all …]
/aosp12/hardware/interfaces/camera/device/3.5/default/
H A DCameraDeviceSession.cpp124 BufferIdMap& bIdMap = pair.first->second; in pushBufferId() local
125 bIdMap[buf] = bufferId; in pushBufferId()
136 BufferIdMap& bIdMap = streamIt->second; in popBufferId() local
137 auto it = bIdMap.find(buf); in popBufferId()
138 if (it == bIdMap.end()) { in popBufferId()
142 bIdMap.erase(it); in popBufferId()
143 if (bIdMap.empty()) { in popBufferId()