/external/webrtc/webrtc/modules/bitrate_controller/ |
D | bitrate_controller_impl.cc | 30 void OnReceivedEstimatedBitrate(uint32_t bitrate) override { in OnReceivedEstimatedBitrate() argument 31 owner_->OnReceivedEstimatedBitrate(bitrate); in OnReceivedEstimatedBitrate() 137 void BitrateControllerImpl::OnReceivedEstimatedBitrate(uint32_t bitrate) { in OnReceivedEstimatedBitrate() argument 141 bitrate); in OnReceivedEstimatedBitrate() 181 uint32_t bitrate; in MaybeTriggerOnNetworkChanged() local 184 if (GetNetworkParameters(&bitrate, &fraction_loss, &rtt)) in MaybeTriggerOnNetworkChanged() 185 observer_->OnNetworkChanged(bitrate, fraction_loss, rtt); in MaybeTriggerOnNetworkChanged() 188 bool BitrateControllerImpl::GetNetworkParameters(uint32_t* bitrate, in GetNetworkParameters() argument 194 *bitrate = current_bitrate; in GetNetworkParameters() 195 *bitrate -= std::min(*bitrate, reserved_bitrate_bps_); in GetNetworkParameters() [all …]
|
D | send_side_bandwidth_estimation.cc | 68 void SendSideBandwidthEstimation::SetSendBitrate(int bitrate) { in SetSendBitrate() argument 69 RTC_DCHECK_GT(bitrate, 0); in SetSendBitrate() 70 bitrate_ = bitrate; in SetSendBitrate() 93 void SendSideBandwidthEstimation::CurrentEstimate(int* bitrate, in CurrentEstimate() argument 96 *bitrate = bitrate_; in CurrentEstimate() 267 int64_t now_ms, uint32_t bitrate) { in CapBitrateToThresholds() argument 268 if (bwe_incoming_ > 0 && bitrate > bwe_incoming_) { in CapBitrateToThresholds() 269 bitrate = bwe_incoming_; in CapBitrateToThresholds() 271 if (bitrate > max_bitrate_configured_) { in CapBitrateToThresholds() 272 bitrate = max_bitrate_configured_; in CapBitrateToThresholds() [all …]
|
D | send_side_bandwidth_estimation_unittest.cc | 33 int bitrate; in TEST() local 36 bwe.CurrentEstimate(&bitrate, &fraction_loss, &rtt); in TEST() 37 EXPECT_EQ(kRembBps, bitrate); in TEST() 43 bitrate = 0; in TEST() 44 bwe.CurrentEstimate(&bitrate, &fraction_loss, &rtt); in TEST() 45 EXPECT_EQ(kRembBps, bitrate); in TEST()
|
D | bitrate_controller_impl.h | 53 void OnReceivedEstimatedBitrate(uint32_t bitrate); 63 bool GetNetworkParameters(uint32_t* bitrate, 67 void OnNetworkChanged(uint32_t bitrate,
|
D | send_side_bandwidth_estimation.h | 30 void CurrentEstimate(int* bitrate, uint8_t* loss, int64_t* rtt) const; 44 void SetSendBitrate(int bitrate); 59 uint32_t CapBitrateToThresholds(int64_t now_ms, uint32_t bitrate);
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | rate_statistics_unittest.cc | 55 uint32_t bitrate = stats_.Rate(now_ms); in TEST_F() local 56 EXPECT_EQ(0u, bitrate); in TEST_F() 61 if (new_bitrate != bitrate) { in TEST_F() 63 EXPECT_GT(new_bitrate, bitrate); in TEST_F() 66 EXPECT_NEAR(8000000u, bitrate, 80000u); in TEST_F() 69 bitrate = new_bitrate; in TEST_F() 74 bitrate = stats_.Rate(now_ms); in TEST_F() 75 EXPECT_NEAR(8000000u, bitrate, 80000u); in TEST_F() 81 if (new_bitrate != bitrate) { in TEST_F() 83 EXPECT_LT(new_bitrate, bitrate); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | RTPencode.cc | 89 int* bitrate, 93 int bitrate, 106 int bitrate, 285 int bitrate = 0; in main() local 488 &bitrate, &useRed); in main() 535 bitrate = 32000; in main() 540 bitrate = 56000; in main() 545 bitrate = atoi(argv[6]); in main() 547 if ((bitrate < 10000) || (bitrate > 32000)) { in main() 549 "is invalid)\n", bitrate); in main() [all …]
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
D | ARDBitrateTracker.m | 20 @synthesize bitrate = _bitrate; 22 + (NSString *)bitrateStringForBitrate:(double)bitrate { 23 if (bitrate > 1e6) { 24 return [NSString stringWithFormat:@"%.2fMbps", bitrate * 1e-6]; 25 } else if (bitrate > 1e3) { 26 return [NSString stringWithFormat:@"%.0fKbps", bitrate * 1e-3]; 28 return [NSString stringWithFormat:@"%.0fbps", bitrate];
|
D | ARDBitrateTracker.h | 21 @property(nonatomic, readonly) double bitrate; 26 + (NSString *)bitrateStringForBitrate:(double)bitrate;
|
/external/webrtc/talk/media/base/ |
D | codec.cc | 169 int bitrate, in AudioCodec() argument 173 bitrate(bitrate), in AudioCodec() 177 AudioCodec::AudioCodec() : Codec(), bitrate(0), channels(0) { in AudioCodec() 184 bitrate = c.bitrate; in operator =() 190 return bitrate == c.bitrate && channels == c.channels && Codec::operator==(c); in operator ==() 206 (codec.bitrate == 0 || bitrate <= 0 || bitrate == codec.bitrate) && in Matches() 212 os << "AudioCodec[" << id << ":" << name << ":" << clockrate << ":" << bitrate in ToString()
|
/external/libvpx/libvpx/test/ |
D | stress.sh | 92 bitrate=$(($i * 20 + 300)) 95 "--target-bitrate=${bitrate} -o ${VPX_TEST_OUTPUT_DIR}/${i}.1pass.webm" \ 102 bitrate=$(($i * 20 + 300)) 105 "--target-bitrate=${bitrate} -o ${VPX_TEST_OUTPUT_DIR}/${i}.2pass.webm" \ 112 bitrate=$(($i * 20 + 300)) 115 "--target-bitrate=${bitrate} --lag-in-frames=0 --error-resilient=1" \
|
/external/libaom/libaom/av1/common/ |
D | timing.c | 43 int64_t bitrate; in max_level_bitrate() local 46 bitrate = high_kbps[seq_level_idx] * bitrate_profile_factor[seq_profile]; in max_level_bitrate() 48 bitrate = main_kbps[seq_level_idx] * bitrate_profile_factor[seq_profile]; in max_level_bitrate() 51 return bitrate * 1000; in max_level_bitrate()
|
/external/iproute2/ip/ |
D | iplink_can.c | 121 if (get_u32(&bt.bitrate, *argv, 0)) in can_parse_opt() 153 if (get_u32(&dbt.bitrate, *argv, 0)) in can_parse_opt() 244 if (bt.bitrate || bt.tq) in can_parse_opt() 246 if (dbt.bitrate || dbt.tq) in can_parse_opt() 320 print_int(PRINT_ANY, "bitrate", NULL, bt->bitrate); in can_print_opt() 334 bt->bitrate, (float) bt->sample_point / 1000.); in can_print_opt() 377 __u32 bitrate = 0; in can_print_opt() local 382 bitrate = bt->bitrate; in can_print_opt() 388 NULL, bitrate); in can_print_opt() 395 fprintf(f, "\n bitrate %u", bitrate); in can_print_opt() [all …]
|
/external/webrtc/webrtc/call/ |
D | bitrate_allocator.cc | 35 uint32_t BitrateAllocator::OnNetworkChanged(uint32_t bitrate, in OnNetworkChanged() argument 39 last_bitrate_bps_ = bitrate; in OnNetworkChanged() 137 uint32_t bitrate, in NormalRateAllocation() argument 142 (bitrate - sum_min_bitrates) / number_of_observers; in NormalRateAllocation() 175 uint32_t bitrate) { in LowRateAllocation() argument 184 uint32_t remainder = bitrate; in LowRateAllocation()
|
D | bitrate_allocator.h | 71 ObserverConfiguration(BitrateObserver* observer, uint32_t bitrate) in ObserverConfiguration() 72 : observer(observer), min_bitrate(bitrate) {} in ObserverConfiguration() 85 ObserverBitrateMap NormalRateAllocation(uint32_t bitrate, 89 ObserverBitrateMap LowRateAllocation(uint32_t bitrate)
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
D | AbstractManifestWriter.java | 66 long bitrate = 0; in getBitrate() local 68 bitrate += sample.limit(); in getBitrate() 70 bitrate *= 8; // from bytes to bits in getBitrate() 71 … bitrate /= ((double) getDuration(track)) / track.getTrackMetaData().getTimescale(); // per second in getBitrate() 72 return bitrate; in getBitrate()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
D | EC3TrackImpl.java | 30 int bitrate; field in EC3TrackImpl 108 bitrate += bsi.bitrate; in parse() 112 ec3.setDataRate(bitrate / 1000); in parse() 387 entry.bitrate = (int) (((double) entry.samplerate) / 1536.0 * entry.frameSize * 8); in readVariables() 410 public int bitrate; field in EC3TrackImpl.BitStreamInfo 420 ", bitrate=" + bitrate + in toString() 431 "bitrate=" + bitrate + in toString()
|
/external/libaom/libaom/test/ |
D | visual_metrics.py | 231 for bitrate, metric in metric_set1_sorted: 232 if bitrate == 0: 254 bitrate_difference_ratio = ((bitrate - estimated_s2_bitrate) / 255 bitrate) 257 bitrate_difference_ratio = ((bitrate - estimated_s2_bitrate) / 446 for bitrate, metric in metrics: 447 data.append({"datarate": bitrate, directory: metric})
|
D | best_encode.sh | 34 --target-bitrate=$b \ 63 --target-bitrate=$b \ 84 --target-bitrate=$b \
|
/external/libnl/lib/route/link/ |
D | can.c | 199 ci->ci_bittiming.bitrate, print_can_state(ci->ci_state), buf); in can_dump_line() 209 ci->ci_bittiming.bitrate, print_can_state(ci->ci_state), buf); in can_dump_details() 564 int rtnl_link_can_get_bitrate(struct rtnl_link *link, uint32_t *bitrate) in rtnl_link_can_get_bitrate() argument 569 if (!bitrate) in rtnl_link_can_get_bitrate() 573 *bitrate = ci->ci_bittiming.bitrate; in rtnl_link_can_get_bitrate() 587 int rtnl_link_can_set_bitrate(struct rtnl_link *link, uint32_t bitrate) in rtnl_link_can_set_bitrate() argument 593 ci->ci_bittiming.bitrate = bitrate; in rtnl_link_can_set_bitrate()
|
/external/webrtc/webrtc/video/ |
D | video_encoder.cc | 165 int32_t VideoEncoderSoftwareFallbackWrapper::SetRates(uint32_t bitrate, in SetRates() argument 168 bitrate_ = bitrate; in SetRates() 170 int32_t ret = encoder_->SetRates(bitrate, framerate); in SetRates() 172 return fallback_encoder_->SetRates(bitrate, framerate); in SetRates()
|
D | vie_remb.cc | 99 unsigned int bitrate) { in OnReceiveBitrateChanged() argument 104 unsigned int new_remb_bitrate = last_send_bitrate_ - bitrate_ + bitrate; in OnReceiveBitrateChanged() 112 bitrate_ = bitrate; in OnReceiveBitrateChanged()
|
/external/aac/libAACenc/src/ |
D | psy_configuration.cpp | 359 const LONG bitrate, const INT blockType) in FDKaacEnc_initSpreading() argument 377 (bitrate > 20000) ? MASKHIGHSPRENLONG : MASKHIGHSPRENLONGLOWBR; in FDKaacEnc_initSpreading() 421 static void FDKaacEnc_initMinSnr(const LONG bitrate, const LONG samplerate, in FDKaacEnc_initMinSnr() argument 450 pePerWindow = fDivNorm(bitrate, samplerate, &qperwin); in FDKaacEnc_initMinSnr() 534 AAC_ENCODER_ERROR FDKaacEnc_InitPsyConfiguration(INT bitrate, INT samplerate, in FDKaacEnc_InitPsyConfiguration() argument 565 psyConf->allowIS = (useIS) && ((bitrate / bandwidth) < 5); in FDKaacEnc_InitPsyConfiguration() 587 psyConf->sfbMaskHighFactorSprEn, bitrate, blocktype); in FDKaacEnc_InitPsyConfiguration() 622 FDKaacEnc_initMinSnr(bitrate, samplerate * downscaleFactor, in FDKaacEnc_InitPsyConfiguration()
|
/external/aac/libSBRenc/src/ |
D | sbr_encoder.cpp | 223 UINT bitrate, /*! the total bitrate in bits/sec */ in getSbrTuningTableIndex() argument 241 if ((bitrate >= sbrTuningTable[i].bitrateFrom) && in getSbrTuningTableIndex() 242 (bitrate < sbrTuningTable[i].bitrateTo)) { in getSbrTuningTableIndex() 245 if (sbrTuningTable[i].bitrateFrom > bitrate) { in getSbrTuningTableIndex() 251 if (sbrTuningTable[i].bitrateTo <= bitrate) { in getSbrTuningTableIndex() 274 sbrTuningTable[bitRateClosestLowerIndex].bitrateFrom - bitrate; in getSbrTuningTableIndex() 278 bitrate - sbrTuningTable[bitRateClosestUpperIndex].bitrateTo; in getSbrTuningTableIndex() 302 static INT getPsTuningTableIndex(UINT bitrate, UINT *pBitRateClosest) { in getPsTuningTableIndex() argument 308 if ((bitrate >= psTuningTable[i].bitrateFrom) && in getPsTuningTableIndex() 309 (bitrate < psTuningTable[i].bitrateTo)) { in getPsTuningTableIndex() [all …]
|
/external/libldac/src/ |
D | ldacBT_internal.c | 94 hLdacBT->bitrate = 0; in ldacBT_param_clear() 334 hLdacBT->bitrate = ldacBT_frmlen_to_bitrate( fl, 1, sf, hLdacBT->frm_samples ); 374 hLdacBT->bitrate = ldacBT_frmlen_to_bitrate( frmlen, 1, sf, hLdacBT->frm_samples ); 422 int bitrate; local 429 bitrate = frmlen * sf / frame_samples / (1000 / 8); 430 return bitrate;
|