Searched refs:kMaxBitrateBps (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_opus_unittest.cc | 83 const int kMaxBitrateBps = 512000; in TEST_F() local 88 encoder_->SetTargetBitrate(kMaxBitrateBps + 1); in TEST_F() 89 EXPECT_EQ(kMaxBitrateBps, encoder_->GetTargetBitrate()); in TEST_F() 94 encoder_->SetTargetBitrate(kMaxBitrateBps); in TEST_F() 95 EXPECT_EQ(kMaxBitrateBps, encoder_->GetTargetBitrate()); in TEST_F()
|
D | audio_encoder_opus.cc | 24 const int kMaxBitrateBps = 512000; variable 84 if (bitrate_bps < kMinBitrateBps || bitrate_bps > kMaxBitrateBps) in IsOk() 210 std::max(std::min(bits_per_second, kMaxBitrateBps), kMinBitrateBps); in SetTargetBitrate()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | media_optimization_unittest.cc | 116 static const int kMaxBitrateBps = 130000; in TEST_F() local 141 kMaxBitrateBps, 0, 0, &protection_callback, nullptr); in TEST_F() 148 target_bitrate = media_opt_.SetTargetRates(kMaxBitrateBps, 128, 100, in TEST_F() 150 EXPECT_EQ(kMaxBitrateBps / 2, static_cast<int>(target_bitrate)); in TEST_F()
|
/external/webrtc/webrtc/modules/bitrate_controller/ |
D | bitrate_controller_unittest.cc | 68 controller_->SetMinMaxBitrate(kMinBitrateBps, kMaxBitrateBps); in SetUp() 80 const int kMaxBitrateBps = 300000; member in BitrateControllerTest
|