Home
last modified time | relevance | path

Searched refs:bitrate (Results 1 – 25 of 150) sorted by relevance

123456

/external/webrtc/webrtc/modules/bitrate_controller/
Dbitrate_controller_impl.cc30 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 …]
Dsend_side_bandwidth_estimation.cc68 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 …]
Dsend_side_bandwidth_estimation_unittest.cc33 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()
Dsend_side_bandwidth_estimation.h30 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);
Dbitrate_controller_impl.h53 void OnReceivedEstimatedBitrate(uint32_t bitrate);
63 bool GetNetworkParameters(uint32_t* bitrate,
67 void OnNetworkChanged(uint32_t bitrate,
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Drate_statistics_unittest.cc55 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/
DRTPencode.cc89 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/
DARDBitrateTracker.m20 @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];
DARDBitrateTracker.h21 @property(nonatomic, readonly) double bitrate;
26 + (NSString *)bitrateStringForBitrate:(double)bitrate;
/external/webrtc/talk/media/base/
Dcodec.cc169 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/webrtc/webrtc/call/
Dbitrate_allocator.h71 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)
Dbitrate_allocator.cc35 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()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DAbstractManifestWriter.java66 long bitrate = 0; in getBitrate() local
68 bitrate += sample.limit(); in getBitrate()
70 bitrate *= 8; // from bytes to bits in getBitrate()
71bitrate /= ((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/
DEC3TrackImpl.java30 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/webrtc/webrtc/video/
Dvideo_encoder.cc165 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()
Dvie_remb.cc99 unsigned int bitrate) { in OnReceiveBitrateChanged() argument
104 unsigned int new_remb_bitrate = last_send_bitrate_ - bitrate_ + bitrate; in OnReceiveBitrateChanged()
112 bitrate_ = bitrate; in OnReceiveBitrateChanged()
Dsend_statistics_proxy_unittest.cc417 BitrateStatistics bitrate; in TEST_F() local
418 bitrate.bitrate_bps = 42; in TEST_F()
420 observer->Notify(bitrate, bitrate, config_.rtp.ssrcs[0]); in TEST_F()
421 observer->Notify(bitrate, bitrate, config_.rtp.ssrcs[1]); in TEST_F()
426 EXPECT_EQ(static_cast<int>(bitrate.bitrate_bps), in TEST_F()
428 EXPECT_EQ(static_cast<int>(bitrate.bitrate_bps), in TEST_F()
/external/iproute2/ip/
Diplink_can.c123 if (get_u32(&bt.bitrate, *argv, 0)) in can_parse_opt()
155 if (get_u32(&dbt.bitrate, *argv, 0)) in can_parse_opt()
238 if (bt.bitrate || bt.tq) in can_parse_opt()
240 if (dbt.bitrate || dbt.tq) in can_parse_opt()
294 bt->bitrate, (float)bt->sample_point / 1000.); in can_print_opt()
319 dbt->bitrate, (float)dbt->sample_point / 1000.); in can_print_opt()
/external/aac/libSBRenc/src/
Dsbr_encoder.cpp164 getSbrTuningTableIndex(UINT bitrate, /*! the total bitrate in bits/sec */ in getSbrTuningTableIndex() argument
185 if ((bitrate >= sbrTuningTable [i].bitrateFrom) && in getSbrTuningTableIndex()
186 (bitrate < sbrTuningTable [i].bitrateTo)) { in getSbrTuningTableIndex()
187 bitRateClosestLower = bitrate; in getSbrTuningTableIndex()
188 bitRateClosestUpper = bitrate; in getSbrTuningTableIndex()
192 if ( sbrTuningTable [i].bitrateFrom > bitrate ) { in getSbrTuningTableIndex()
198 if ( sbrTuningTable [i].bitrateTo <= bitrate ) { in getSbrTuningTableIndex()
216 distanceLower = sbrTuningTable [bitRateClosestLowerIndex].bitrateFrom - bitrate; in getSbrTuningTableIndex()
219 distanceUpper = bitrate - sbrTuningTable [bitRateClosestUpperIndex].bitrateTo; in getSbrTuningTableIndex()
245 getPsTuningTableIndex(UINT bitrate, UINT *pBitRateClosest){ in getPsTuningTableIndex() argument
[all …]
/external/aac/libAACenc/src/
Dpsy_configuration.cpp382 const LONG bitrate, in FDKaacEnc_initSpreading() argument
401 MASKHIGHSPREN = (bitrate>20000)?MASKHIGHSPRENLONG:MASKHIGHSPRENLONGLOWBR; in FDKaacEnc_initSpreading()
458 static void FDKaacEnc_initMinSnr(const LONG bitrate, in FDKaacEnc_initMinSnr() argument
489 pePerWindow = fDivNorm(bitrate, samplerate, &qperwin); in FDKaacEnc_initMinSnr()
568 AAC_ENCODER_ERROR FDKaacEnc_InitPsyConfiguration(INT bitrate, in FDKaacEnc_InitPsyConfiguration() argument
587 psyConf->allowIS = (useIS) && ( (bitrate/bandwidth) < 5 ); in FDKaacEnc_InitPsyConfiguration()
612 bitrate, in FDKaacEnc_InitPsyConfiguration()
647 FDKaacEnc_initMinSnr(bitrate, in FDKaacEnc_InitPsyConfiguration()
/external/speex/libspeex/
Dspeex_header.c111 header->bitrate = -1; in speex_init_header()
135 ENDIAN_SWITCH(le_header->bitrate); in speex_header_to_packet()
175 ENDIAN_SWITCH(le_header->bitrate); in speex_packet_to_header()
/external/libnfc-nci/halimpl/pn54x/inc/
DphNxpNciHal_SelfTest.h129 phNxpNfc_Tech_t tech, phNxpNfc_Bitrate_t bitrate);
131 NFCSTATUS phNxpNciHal_PrbsTestStart (phNxpNfc_Tech_t tech, phNxpNfc_Bitrate_t bitrate);
/external/libnfc-nci/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c76 uint8_t tech, uint8_t bitrate, uint8_t *prbs_cmd, uint8_t prbs_cmd_len);
78 NFCSTATUS phNxpNciHal_getPrbsCmd (uint8_t tech, uint8_t bitrate, uint8_t *prbs_cmd, uint8_t prbs_cm…
1616 phNxpNfc_Tech_t tech, phNxpNfc_Bitrate_t bitrate) in phNxpNciHal_PrbsTestStart() argument
1618 NFCSTATUS phNxpNciHal_PrbsTestStart (phNxpNfc_Tech_t tech, phNxpNfc_Bitrate_t bitrate) in phNxpNciHal_PrbsTestStart()
1647 status = phNxpNciHal_getPrbsCmd(prbs_type, hw_prbs_type, tech, bitrate, in phNxpNciHal_PrbsTestStart()
1650 status = phNxpNciHal_getPrbsCmd(tech, bitrate,prbs_cmd_data.cmd.p_data,prbs_cmd_data.cmd.len); in phNxpNciHal_PrbsTestStart()
1737 uint8_t tech, uint8_t bitrate, uint8_t *prbs_cmd, uint8_t prbs_cmd_len) in phNxpNciHal_getPrbsCmd() argument
1739 NFCSTATUS phNxpNciHal_getPrbsCmd (uint8_t tech, uint8_t bitrate, uint8_t *prbs_cmd, uint8_t prbs_cm… in phNxpNciHal_getPrbsCmd()
1746 NXPLOG_NCIHAL_D("phNxpNciHal_getPrbsCmd - tech 0x%x bitrate = 0x%x", tech, bitrate); in phNxpNciHal_getPrbsCmd()
1799 switch (bitrate) in phNxpNciHal_getPrbsCmd()
/external/libvpx/libvpx/test/
Dencode_perf_test.cc32 bitrate(bitrate_), in EncodePerfTestVideo()
37 uint32_t bitrate; member
153 cfg_.rc_target_bitrate = kVP9EncodePerfTestVectors[i].bitrate; in TEST_P()
/external/libvpx/libvpx/examples/
Dvp8_multi_resolution_encoder.c184 int bitrate, in set_temporal_layer_pattern() argument
197 cfg->ts_target_bitrate[0] = bitrate; in set_temporal_layer_pattern()
214 cfg->ts_target_bitrate[0] = 0.6f * bitrate; in set_temporal_layer_pattern()
215 cfg->ts_target_bitrate[1] = bitrate; in set_temporal_layer_pattern()
270 cfg->ts_target_bitrate[0] = 0.4f * bitrate; in set_temporal_layer_pattern()
271 cfg->ts_target_bitrate[1] = 0.6f * bitrate; in set_temporal_layer_pattern()
272 cfg->ts_target_bitrate[2] = bitrate; in set_temporal_layer_pattern()

123456