Home
last modified time | relevance | path

Searched refs:bytes_per_second (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/net/quic/
Dquic_bandwidth.cc32 QuicBandwidth QuicBandwidth::FromBytesPerSecond(int64 bytes_per_second) { in FromBytesPerSecond() argument
33 DCHECK(bytes_per_second < kQuicInfiniteBandwidth / 8); in FromBytesPerSecond()
34 return QuicBandwidth(bytes_per_second * 8); in FromBytesPerSecond()
49 int64 bytes_per_second = (bytes * base::Time::kMicrosecondsPerSecond) / in FromBytesAndTimeDelta() local
51 return QuicBandwidth(bytes_per_second * 8); in FromBytesAndTimeDelta()
Dquic_bandwidth.h29 static QuicBandwidth FromBytesPerSecond(int64 bytes_per_second);
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework_unittest.cc773 EXPECT_EQ(10000u, sender.bytes_per_second()); in TEST()
790 EXPECT_EQ(10000u, sender.bytes_per_second()); in TEST()
810 EXPECT_EQ(10000u, sender.bytes_per_second()); in TEST()
826 EXPECT_EQ(15000u, sender.bytes_per_second()); in TEST()
842 EXPECT_EQ(102500u, sender.bytes_per_second()); in TEST()
863 EXPECT_EQ(10000u, sender1.bytes_per_second()); in TEST()
878 EXPECT_EQ(20000u, sender2.bytes_per_second()); in TEST()
892 EXPECT_EQ(102500u, sender.bytes_per_second()); in TEST()
898 EXPECT_EQ(102500u, sender.bytes_per_second()); in TEST()
904 EXPECT_EQ(102500u, sender.bytes_per_second()); in TEST()
[all …]
Dbwe_test_framework.h395 uint32_t bytes_per_second() const { return bytes_per_second_; } in bytes_per_second() function
/external/qemu/audio/
Dnoaudio.c51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in no_run_out()
108 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in no_run_in()
Dwavaudio.c66 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in wav_out_run()
360 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec()); in wav_in_run()
Daudio_int.h65 int bytes_per_second; member
Daudio_template.h507 * old_sw->info.bytes_per_second in glue()
508 / sw->info.bytes_per_second; in glue()
Ddsoundaudio.c268 return (millis * info->bytes_per_second) / 1000; in millis_to_bytes()
694 abs (ds->mixed - ds->played) / (double) hw->info.bytes_per_second); in dsound_run_out()
Daudio.c738 info->bytes_per_second = info->freq << info->shift; in audio_pcm_init_info()
/external/chromium_org/content/renderer/pepper/
Dpepper_media_stream_audio_track_host.cc133 int bytes_per_second, int bytes_per_frame) { in SetFormatOnMainThread() argument
134 bytes_per_second_ = bytes_per_second; in SetFormatOnMainThread()
Dpepper_media_stream_audio_track_host.h57 void SetFormatOnMainThread(int bytes_per_second, int bytes_per_frame);
/external/chromium_org/media/blink/
Dbuffered_resource_loader.cc82 int bytes_per_second = (bitrate / 8.0) * playback_rate; in ComputeTargetBufferWindow() local
86 kTargetSecondsBufferedAhead * bytes_per_second, kMinBufferCapacity); in ComputeTargetBufferWindow()
88 kTargetSecondsBufferedBehind * bytes_per_second, kMinBufferCapacity); in ComputeTargetBufferWindow()