Lines Matching refs:streamSet
161 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetId); in notifyBufferRemoved() local
163 streamSet.attachedBufferCountMap.editValueFor(streamId); in notifyBufferRemoved()
170 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetId); in checkAndFreeBufferOnOtherStreamsLocked() local
171 if (streamSet.streamInfoMap.size() == 1) { in checkAndFreeBufferOnOtherStreamsLocked()
177 for (size_t i = 0; i < streamSet.streamInfoMap.size(); i++) { in checkAndFreeBufferOnOtherStreamsLocked()
178 firstOtherStreamId = streamSet.streamInfoMap[i].streamId; in checkAndFreeBufferOnOtherStreamsLocked()
182 streamSet.handoutBufferCountMap.valueFor(firstOtherStreamId); in checkAndFreeBufferOnOtherStreamsLocked()
184 streamSet.attachedBufferCountMap.valueFor(firstOtherStreamId); in checkAndFreeBufferOnOtherStreamsLocked()
201 for (size_t i = 0; i < streamSet.attachedBufferCountMap.size(); i++) { in checkAndFreeBufferOnOtherStreamsLocked()
202 totalAllocatedBufferCount += streamSet.attachedBufferCountMap[i]; in checkAndFreeBufferOnOtherStreamsLocked()
204 if (totalAllocatedBufferCount > streamSet.allocatedBufferWaterMark) { in checkAndFreeBufferOnOtherStreamsLocked()
231 streamSet.attachedBufferCountMap.editValueFor(firstOtherStreamId); in checkAndFreeBufferOnOtherStreamsLocked()
253 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetId); in getBufferForStream() local
254 BufferCountMap& handOutBufferCounts = streamSet.handoutBufferCountMap; in getBufferForStream()
256 if (bufferCount >= streamSet.maxAllowedBufferCount) { in getBufferForStream()
258 __FUNCTION__, bufferCount, streamSet.maxAllowedBufferCount); in getBufferForStream()
262 BufferCountMap& attachedBufferCounts = streamSet.attachedBufferCountMap; in getBufferForStream()
273 const StreamInfo& info = streamSet.streamInfoMap.valueFor(streamId); in getBufferForStream()
298 if (bufferCount + 1 > streamSet.allocatedBufferWaterMark) { in getBufferForStream()
299 streamSet.allocatedBufferWaterMark = bufferCount + 1; in getBufferForStream()
349 StreamSet& streamSet = mStreamSetMap.editValueFor(streamSetId); in onBufferReleased() local
350 BufferCountMap& handOutBufferCounts = streamSet.handoutBufferCountMap; in onBufferReleased()
358 for (size_t i = 0; i < streamSet.attachedBufferCountMap.size(); i++) { in onBufferReleased()
359 totalAllocatedBufferCount += streamSet.attachedBufferCountMap[i]; in onBufferReleased()
360 totalHandOutBufferCount += streamSet.handoutBufferCountMap[i]; in onBufferReleased()
365 streamSet.allocatedBufferWaterMark > newWaterMark) { in onBufferReleased()
368 streamSet.allocatedBufferWaterMark = newWaterMark; in onBufferReleased()
370 __FUNCTION__, streamId, streamSetId, streamSet.allocatedBufferWaterMark); in onBufferReleased()
373 size_t attachedBufferCount = streamSet.attachedBufferCountMap.valueFor(streamId); in onBufferReleased()
380 totalAllocatedBufferCount > streamSet.allocatedBufferWaterMark && in onBufferReleased()
406 StreamSet& streamSet = mStreamSetMap.editValueFor(streamSetId); in onBuffersRemoved() local
407 BufferCountMap& handOutBufferCounts = streamSet.handoutBufferCountMap; in onBuffersRemoved()
409 BufferCountMap& attachedBufferCounts = streamSet.attachedBufferCountMap; in onBuffersRemoved()