Home
last modified time | relevance | path

Searched refs:kMaxBitrateBps (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus_unittest.cc83 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()
Daudio_encoder_opus.cc24 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/
Dmedia_optimization_unittest.cc116 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/
Dbitrate_controller_unittest.cc68 controller_->SetMinMaxBitrate(kMinBitrateBps, kMaxBitrateBps); in SetUp()
80 const int kMaxBitrateBps = 300000; member in BitrateControllerTest