Home
last modified time | relevance | path

Searched refs:adjuster_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/common_video/
Dbitrate_adjuster_unittest.cc22 : adjuster_(kMinAdjustedBitratePct, kMaxAdjustedBitratePct) {} in BitrateAdjusterTest()
38 adjuster_.Update(frame_size_bytes); in SimulateBitrateBps()
43 return pct * adjuster_.GetTargetBitrateBps(); in GetTargetBitrateBpsPct()
49 uint32_t target_bitrate_bps = adjuster_.GetTargetBitrateBps(); in VerifyAdjustment()
50 uint32_t adjusted_bitrate_bps = adjuster_.GetAdjustedBitrateBps(); in VerifyAdjustment()
52 adjuster_.GetEstimatedBitrateBps().value_or(target_bitrate_bps); in VerifyAdjustment()
68 BitrateAdjuster adjuster_; member in webrtc::BitrateAdjusterTest
76 adjuster_.SetTargetBitrateBps(target_bitrate_bps); in TEST_F()
85 last_adjusted_bitrate_bps = adjuster_.GetAdjustedBitrateBps(); in TEST_F()
89 adjusted_bitrate_bps = adjuster_.GetAdjustedBitrateBps(); in TEST_F()
[all …]
/external/webrtc/video/
Dencoder_bitrate_adjuster_unittest.cc83 adjuster_ = std::make_unique<EncoderBitrateAdjuster>(codec_); in SetUpAdjuster()
84 adjuster_->OnEncoderInfo(encoder_info_); in SetUpAdjuster()
86 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in SetUpAdjuster()
174 adjuster_->OnEncodedFrame(image, ti); in InsertFrames()
233 std::unique_ptr<EncoderBitrateAdjuster> adjuster_; member in webrtc::test::EncoderBitrateAdjusterTest
256 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F()
270 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F()
284 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F()
299 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F()
314 adjuster_->AdjustRateAllocation(VideoEncoder::RateControlParameters( in TEST_F()
[all …]