Lines Matching refs:codecBucket

215     CodecBucket codecBucket = getCodecBucket(clientConfig.isEncoder, clientConfig.codecType);  in notifyClientStarted()  local
216 increaseConcurrentCodecs(pid, codecBucket); in notifyClientStarted()
227 int systemConcurrentCodecs = mConcurrentCodecsMap[codecBucket]; in notifyClientStarted()
230 int appConcurrentCodecs = concurrentCodecs.mCurrent[codecBucket]; in notifyClientStarted()
277 codecBucket, systemConcurrentCodecs, appConcurrentCodecs, in notifyClientStarted()
286 CodecBucket codecBucket = getCodecBucket(clientConfig.isEncoder, clientConfig.codecType); in notifyClientStopped() local
287 decreaseConcurrentCodecs(pid, codecBucket); in notifyClientStopped()
298 int systemConcurrentCodecs = mConcurrentCodecsMap[codecBucket]; in notifyClientStopped()
303 appConcurrentCodecs = found->second.mCurrent[codecBucket]; in notifyClientStopped()
353 codecBucket, systemConcurrentCodecs, appConcurrentCodecs, in notifyClientStopped()
566 CodecBucket codecBucket) { in increaseConcurrentCodecs() argument
568 mConcurrentCodecsMap[codecBucket]++; in increaseConcurrentCodecs()
574 codecs.mCurrent[codecBucket] = 1; in increaseConcurrentCodecs()
575 codecs.mPeak[codecBucket] = 1; in increaseConcurrentCodecs()
579 found->second.mCurrent[codecBucket]++; in increaseConcurrentCodecs()
581 if (found->second.mPeak[codecBucket] < found->second.mCurrent[codecBucket]) { in increaseConcurrentCodecs()
582 found->second.mPeak[codecBucket] = found->second.mCurrent[codecBucket]; in increaseConcurrentCodecs()
586 switch (codecBucket) { in increaseConcurrentCodecs()
591 if (codecBucket == HwVideoEncoder || codecBucket == HwVideoDecoder) { in increaseConcurrentCodecs()
616 CodecBucket codecBucket) { in decreaseConcurrentCodecs() argument
618 if (mConcurrentCodecsMap[codecBucket] > 0) { in decreaseConcurrentCodecs()
619 mConcurrentCodecsMap[codecBucket]--; in decreaseConcurrentCodecs()
625 if (found->second.mCurrent[codecBucket] > 0) { in decreaseConcurrentCodecs()
626 found->second.mCurrent[codecBucket]--; in decreaseConcurrentCodecs()
629 switch (codecBucket) { in decreaseConcurrentCodecs()
634 if (codecBucket == HwVideoEncoder || codecBucket == HwVideoDecoder) { in decreaseConcurrentCodecs()