Searched refs:diff_ms (Results 1 - 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Dbitrate.cc54 int64_t diff_ms = now - time_last_rate_update_; local
56 if (diff_ms > 10000) { // 10 seconds.
65 bits_since_last_rate_update) / (1000 + diff_ms);
80 int64_t diff_ms = now - time_last_rate_update_; local
82 if (diff_ms < 100) {
86 if (diff_ms > 10000) { // 10 seconds.
93 packet_rate_array_[bitrate_next_idx_] = (packet_count_ * 1000) / diff_ms;
94 bitrate_array_[bitrate_next_idx_] = 8 * ((bytes_count_ * 1000) / diff_ms);
95 bitrate_diff_ms_[bitrate_next_idx_] = diff_ms;
H A Drtp_sender.cc932 int64_t diff_ms = now_ms - capture_time_ms; local
934 diff_ms);
/external/webrtc/webrtc/video/
H A Dstream_synchronization.cc117 int diff_ms = avg_diff_ms_ / 2; local
118 diff_ms = std::min(diff_ms, kMaxChangeMs);
119 diff_ms = std::max(diff_ms, -kMaxChangeMs);
124 if (diff_ms > 0) {
130 channel_delay_->extra_video_delay_ms -= diff_ms;
134 channel_delay_->extra_audio_delay_ms += diff_ms;
137 } else { // if (diff_ms > 0)
143 // Note: diff_ms i
[all...]
H A Doveruse_frame_detector.cc273 int64_t diff_ms = now - last_sample_time_ms_; local
274 usage_->AddSample(elapsed_ms, diff_ms);

Completed in 170 milliseconds