/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
D | nada_unittest.cc | 185 int bitrate_1_kbps = nada_sender_.bitrate_kbps(); in TEST_F() 190 EXPECT_EQ(nada_sender_.bitrate_kbps(), bitrate_1_kbps); in TEST_F() 196 bitrate_1_kbps = nada_sender_.bitrate_kbps(); in TEST_F() 199 EXPECT_EQ(nada_sender_.bitrate_kbps(), bitrate_1_kbps); in TEST_F() 215 int bitrate_1_kbps = nada_sender_.bitrate_kbps(); in TEST_F() 222 int bitrate_2_kbps = std::max(nada_sender_.bitrate_kbps(), kMinBitrateKbps); in TEST_F() 242 EXPECT_EQ(nada_sender_.bitrate_kbps(), original_bitrate); in TEST_F() 246 EXPECT_LT(nada_sender_.bitrate_kbps(), original_bitrate); in TEST_F() 250 EXPECT_GT(nada_sender_.bitrate_kbps(), original_bitrate); in TEST_F() 273 EXPECT_GE(nada_sender_.bitrate_kbps(), kMinBitrateKbps); in TEST_F() [all …]
|
D | nada.h | 81 int bitrate_kbps() const { return bitrate_kbps_; } in bitrate_kbps() function 82 void set_bitrate_kbps(int bitrate_kbps) { bitrate_kbps_ = bitrate_kbps; } in set_bitrate_kbps() argument
|
/external/webrtc/webrtc/modules/bitrate_controller/ |
D | send_side_bandwidth_estimation.cc | 34 int bitrate_kbps; member 145 int bitrate_kbps = static_cast<int>((bitrate_ + 500) / 1000); in UpdateUmaStats() local 148 bitrate_kbps >= kUmaRampupMetrics[i].bitrate_kbps) { in UpdateUmaStats() 158 bitrate_at_2_seconds_kbps_ = bitrate_kbps; in UpdateUmaStats() 169 std::max(bitrate_at_2_seconds_kbps_ - bitrate_kbps, 0); in UpdateUmaStats()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | screenshare_layers.cc | 127 bool ScreenshareLayers::ConfigureBitrates(int bitrate_kbps, in ConfigureBitrates() argument 131 layers_[0].target_rate_kbps_ = bitrate_kbps; in ConfigureBitrates() 134 int target_bitrate_kbps = bitrate_kbps; in ConfigureBitrates() 143 std::min(bitrate_kbps * kMaxTL0FpsReduction, in ConfigureBitrates() 146 cfg->rc_target_bitrate = std::max(bitrate_kbps, target_bitrate_kbps); in ConfigureBitrates()
|
D | screenshare_layers.h | 40 bool ConfigureBitrates(int bitrate_kbps,
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | tmmbr.h | 37 void WithBitrateKbps(uint32_t bitrate_kbps) { in WithBitrateKbps() argument 38 tmmbr_item_.MaxTotalMediaBitRate = bitrate_kbps; in WithBitrateKbps()
|
D | tmmbn.cc | 90 bool Tmmbn::WithTmmbr(uint32_t ssrc, uint32_t bitrate_kbps, uint16_t overhead) { in WithTmmbr() argument 98 tmmbn_item.MaxTotalMediaBitRate = bitrate_kbps; in WithTmmbr()
|
D | tmmbn.h | 36 bool WithTmmbr(uint32_t ssrc, uint32_t bitrate_kbps, uint16_t overhead);
|
/external/webrtc/webrtc/modules/video_coding/ |
D | video_sender_unittest.cc | 47 int bitrate_kbps[kMaxNumberOfTemporalLayers]; member 59 if (abs(expected.bitrate_kbps[tl] - arg.bitrate_kbps[tl]) > 10) { 61 << "] = " << arg.bitrate_kbps[tl] << " (expected " 62 << expected.bitrate_kbps[tl] << ") "; 120 info.bitrate_kbps[tl] = BitrateKbpsWithinTemporalLayer(tl); in CalculateVp8StreamInfo()
|
/external/webrtc/webrtc/call/ |
D | call_perf_tests.cc | 600 int bitrate_kbps = in TestMinTransmitBitrate() local 602 if (bitrate_kbps > 0) { in TestMinTransmitBitrate() 608 static_cast<size_t>(bitrate_kbps), in TestMinTransmitBitrate() 612 if (bitrate_kbps > kMinAcceptableTransmitBitrate && in TestMinTransmitBitrate() 613 bitrate_kbps < kMaxAcceptableTransmitBitrate) { in TestMinTransmitBitrate() 618 if (bitrate_kbps > (kMaxEncodeBitrateKbps - in TestMinTransmitBitrate() 620 bitrate_kbps < (kMaxEncodeBitrateKbps + in TestMinTransmitBitrate()
|
D | congestion_controller.cc | 253 void CongestionController::UpdatePacerBitrate(int bitrate_kbps, in UpdatePacerBitrate() argument 256 pacer_->UpdateBitrate(bitrate_kbps, max_bitrate_kbps, min_bitrate_kbps); in UpdatePacerBitrate()
|
D | congestion_controller.h | 64 virtual void UpdatePacerBitrate(int bitrate_kbps,
|
/external/webrtc/webrtc/modules/pacing/ |
D | paced_sender.h | 72 int bitrate_kbps, 94 void UpdateBitrate(int bitrate_kbps,
|
D | paced_sender.cc | 248 int bitrate_kbps, in PacedSender() argument 259 bitrate_bps_(1000 * bitrate_kbps), in PacedSender() 284 void PacedSender::UpdateBitrate(int bitrate_kbps, in UpdateBitrate() argument 292 bitrate_bps_ = 1000 * bitrate_kbps; in UpdateBitrate()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | metric_recorder.cc | 155 void MetricRecorder::UpdateThroughput(int64_t bitrate_kbps, in UpdateThroughput() argument 159 plot_information_[kThroughput].Update(now_ms_, bitrate_kbps); in UpdateThroughput() 162 void MetricRecorder::UpdateSendingEstimateKbps(int64_t bitrate_kbps) { in UpdateSendingEstimateKbps() argument 163 plot_information_[kSendingEstimate].Update(now_ms_, bitrate_kbps); in UpdateSendingEstimateKbps()
|
D | bwe.h | 117 explicit BweSender(int bitrate_kbps) : bitrate_kbps_(bitrate_kbps) {} in BweSender() argument
|
D | metric_recorder.h | 86 void UpdateThroughput(int64_t bitrate_kbps, size_t payload_size); 87 void UpdateSendingEstimateKbps(int64_t bitrate_kbps);
|
/external/webrtc/webrtc/call/mock/ |
D | mock_congestion_controller.h | 43 void(int bitrate_kbps,
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoengine2.cc | 858 int bitrate_kbps; in SetSendCodecs() local 859 if (codec.GetParam(kCodecParamMinBitrate, &bitrate_kbps) && in SetSendCodecs() 860 bitrate_kbps > 0) { in SetSendCodecs() 861 bitrate_config_.min_bitrate_bps = bitrate_kbps * 1000; in SetSendCodecs() 865 if (codec.GetParam(kCodecParamStartBitrate, &bitrate_kbps) && in SetSendCodecs() 866 bitrate_kbps > 0) { in SetSendCodecs() 867 bitrate_config_.start_bitrate_bps = bitrate_kbps * 1000; in SetSendCodecs() 872 if (codec.GetParam(kCodecParamMaxBitrate, &bitrate_kbps) && in SetSendCodecs() 873 bitrate_kbps > 0) { in SetSendCodecs() 874 bitrate_config_.max_bitrate_bps = bitrate_kbps * 1000; in SetSendCodecs()
|