Lines Matching refs:streamSet
168 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetKey); in notifyBufferRemoved() local
170 streamSet.attachedBufferCountMap.editValueFor(streamId); in notifyBufferRemoved()
177 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetKey); in checkAndFreeBufferOnOtherStreamsLocked() local
178 if (streamSet.streamInfoMap.size() == 1) { in checkAndFreeBufferOnOtherStreamsLocked()
185 for (size_t i = 0; i < streamSet.streamInfoMap.size(); i++) { in checkAndFreeBufferOnOtherStreamsLocked()
186 firstOtherStreamId = streamSet.streamInfoMap[i].streamId; in checkAndFreeBufferOnOtherStreamsLocked()
190 streamSet.handoutBufferCountMap.valueFor(firstOtherStreamId); in checkAndFreeBufferOnOtherStreamsLocked()
192 streamSet.attachedBufferCountMap.valueFor(firstOtherStreamId); in checkAndFreeBufferOnOtherStreamsLocked()
210 for (size_t i = 0; i < streamSet.attachedBufferCountMap.size(); i++) { in checkAndFreeBufferOnOtherStreamsLocked()
211 totalAllocatedBufferCount += streamSet.attachedBufferCountMap[i]; in checkAndFreeBufferOnOtherStreamsLocked()
213 if (totalAllocatedBufferCount > streamSet.allocatedBufferWaterMark) { in checkAndFreeBufferOnOtherStreamsLocked()
240 streamSet.attachedBufferCountMap.editValueFor(firstOtherStreamId); in checkAndFreeBufferOnOtherStreamsLocked()
263 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetKey); in getBufferForStream() local
264 BufferCountMap& handOutBufferCounts = streamSet.handoutBufferCountMap; in getBufferForStream()
266 BufferCountMap& attachedBufferCounts = streamSet.attachedBufferCountMap; in getBufferForStream()
273 if (bufferCount >= streamSet.maxAllowedBufferCount) { in getBufferForStream()
275 __FUNCTION__, bufferCount, streamSet.maxAllowedBufferCount); in getBufferForStream()
289 const StreamInfo& info = streamSet.streamInfoMap.valueFor(streamId); in getBufferForStream()
314 if (bufferCount + 1 > streamSet.allocatedBufferWaterMark) { in getBufferForStream()
315 streamSet.allocatedBufferWaterMark = bufferCount + 1; in getBufferForStream()
367 StreamSet& streamSet = mStreamSetMap.editValueFor(streamSetKey); in onBufferReleased() local
368 BufferCountMap& handOutBufferCounts = streamSet.handoutBufferCountMap; in onBufferReleased()
376 for (size_t i = 0; i < streamSet.attachedBufferCountMap.size(); i++) { in onBufferReleased()
377 totalAllocatedBufferCount += streamSet.attachedBufferCountMap[i]; in onBufferReleased()
378 totalHandOutBufferCount += streamSet.handoutBufferCountMap[i]; in onBufferReleased()
383 streamSet.allocatedBufferWaterMark > newWaterMark) { in onBufferReleased()
386 streamSet.allocatedBufferWaterMark = newWaterMark; in onBufferReleased()
389 streamSet.allocatedBufferWaterMark); in onBufferReleased()
392 size_t attachedBufferCount = streamSet.attachedBufferCountMap.valueFor(streamId); in onBufferReleased()
399 totalAllocatedBufferCount > streamSet.allocatedBufferWaterMark && in onBufferReleased()
427 StreamSet& streamSet = mStreamSetMap.editValueFor(streamSetKey); in onBuffersRemoved() local
428 BufferCountMap& handOutBufferCounts = streamSet.handoutBufferCountMap; in onBuffersRemoved()
430 BufferCountMap& attachedBufferCounts = streamSet.attachedBufferCountMap; in onBuffersRemoved()