Home
last modified time | relevance | path

Searched refs:bitrate_kbps (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
Dnada_unittest.cc185 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 …]
Dnada.h81 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/
Dsend_side_bandwidth_estimation.cc34 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/
Dscreenshare_layers.cc127 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()
Dscreenshare_layers.h40 bool ConfigureBitrates(int bitrate_kbps,
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtmmbr.h37 void WithBitrateKbps(uint32_t bitrate_kbps) { in WithBitrateKbps() argument
38 tmmbr_item_.MaxTotalMediaBitRate = bitrate_kbps; in WithBitrateKbps()
Dtmmbn.cc90 bool Tmmbn::WithTmmbr(uint32_t ssrc, uint32_t bitrate_kbps, uint16_t overhead) { in WithTmmbr() argument
98 tmmbn_item.MaxTotalMediaBitRate = bitrate_kbps; in WithTmmbr()
Dtmmbn.h36 bool WithTmmbr(uint32_t ssrc, uint32_t bitrate_kbps, uint16_t overhead);
/external/webrtc/webrtc/modules/video_coding/
Dvideo_sender_unittest.cc47 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/
Dcall_perf_tests.cc600 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()
Dcongestion_controller.cc253 void CongestionController::UpdatePacerBitrate(int bitrate_kbps, in UpdatePacerBitrate() argument
256 pacer_->UpdateBitrate(bitrate_kbps, max_bitrate_kbps, min_bitrate_kbps); in UpdatePacerBitrate()
Dcongestion_controller.h64 virtual void UpdatePacerBitrate(int bitrate_kbps,
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender.h72 int bitrate_kbps,
94 void UpdateBitrate(int bitrate_kbps,
Dpaced_sender.cc248 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/
Dmetric_recorder.cc155 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()
Dbwe.h117 explicit BweSender(int bitrate_kbps) : bitrate_kbps_(bitrate_kbps) {} in BweSender() argument
Dmetric_recorder.h86 void UpdateThroughput(int64_t bitrate_kbps, size_t payload_size);
87 void UpdateSendingEstimateKbps(int64_t bitrate_kbps);
/external/webrtc/webrtc/call/mock/
Dmock_congestion_controller.h43 void(int bitrate_kbps,
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoengine2.cc858 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()