Lines Matching refs:max_bitpool
368 uint8_t max_bitpool = config.get(kMaximumBitpool); in ParseConfiguration() local
369 if (max_bitpool < 2 || max_bitpool > 250) in ParseConfiguration()
371 if (max_bitpool > lcaps.get(kMaximumBitpool)) in ParseConfiguration()
382 codec_parameters->maxBitrate = GetBitrate(config, max_bitpool); in ParseConfiguration()
390 sbc_parameters->max_bitpool = max_bitpool; in ParseConfiguration()
480 uint8_t max_bitpool = rcaps.get(kMaximumBitpool); in BuildConfiguration() local
482 if (min_bitpool < 2 || min_bitpool > 250 || max_bitpool < 2 || in BuildConfiguration()
483 max_bitpool > 250 || min_bitpool > max_bitpool) { in BuildConfiguration()
485 max_bitpool = 250; in BuildConfiguration()
489 max_bitpool = std::max(max_bitpool, uint8_t(lcaps.get(kMaximumBitpool))); in BuildConfiguration()
495 max_bitpool = in BuildConfiguration()
496 std::min(max_bitpool, GetBitpool(*configuration, hint->maxBitrate)); in BuildConfiguration()
500 config.set(kMaximumBitpool, max_bitpool); in BuildConfiguration()