/external/webrtc/video/ |
D | stream_synchronization.cc | 87 int diff_ms = avg_diff_ms_ / 2; in ComputeDelays() local 88 diff_ms = std::min(diff_ms, kMaxChangeMs); in ComputeDelays() 89 diff_ms = std::max(diff_ms, -kMaxChangeMs); in ComputeDelays() 94 if (diff_ms > 0) { in ComputeDelays() 100 video_delay_.extra_ms -= diff_ms; in ComputeDelays() 104 audio_delay_.extra_ms += diff_ms; in ComputeDelays() 114 audio_delay_.extra_ms += diff_ms; in ComputeDelays() 119 video_delay_.extra_ms -= diff_ms; // X - (-Y) = X + Y. in ComputeDelays()
|
D | stream_synchronization_unittest.cc | 263 int diff_ms = (delay_ms - current_audio_delay_ms) / kSmoothingFilter; in MaxAudioDelayChangeMs() local 264 diff_ms = std::min(diff_ms, kMaxChangeMs); in MaxAudioDelayChangeMs() 265 diff_ms = std::max(diff_ms, -kMaxChangeMs); in MaxAudioDelayChangeMs() 266 return diff_ms; in MaxAudioDelayChangeMs()
|
D | send_delay_stats.cc | 103 int diff_ms = time_ms - it->second.send_time_ms; in OnSentPacket() local 104 GetSendDelayCounter(it->second.ssrc)->Add(diff_ms); in OnSentPacket()
|
D | stats_counter.cc | 227 int64_t diff_ms = now - last_process_time_ms_; in TimeToProcess() local 228 if (diff_ms < process_intervals_ms_) in TimeToProcess() 232 int64_t num_intervals = diff_ms / process_intervals_ms_; in TimeToProcess()
|
D | send_statistics_proxy.cc | 825 int64_t diff_ms = now - uma_container_->target_rate_updates_.last_ms; in OnSetEncoderTargetRate() local 826 uma_container_->paused_time_counter_.Add(was_paused, diff_ms); in OnSetEncoderTargetRate() 881 int64_t diff_ms = now_ms - *(fallback_info->last_update_ms); in UpdateEncoderFallbackStats() local 884 if (diff_ms < fallback_info->max_frame_diff_ms) { in UpdateEncoderFallbackStats() 886 diff_ms); in UpdateEncoderFallbackStats() 887 fallback_info->elapsed_ms += diff_ms; in UpdateEncoderFallbackStats()
|
/external/webrtc/modules/video_coding/utility/ |
D | framerate_controller.cc | 59 const int64_t diff_ms = in DropFrame() local 61 if (diff_ms < min_frame_interval_ms_) { in DropFrame()
|
/external/webrtc/modules/rtp_rtcp/source/deprecated/ |
D | deprecated_rtp_sender_egress.cc | 149 int64_t diff_ms = now_ms - packet->capture_time_ms(); in SendPacket() local 151 packet->SetExtension<TransmissionOffset>(kTimestampTicksPerMs * diff_ms); in SendPacket() 362 int64_t diff_ms = now_ms - capture_time_ms; in UpdateDelayStatistics() local 363 RTC_DCHECK_GE(diff_ms, static_cast<int64_t>(0)); in UpdateDelayStatistics() 364 RTC_DCHECK_LE(diff_ms, std::numeric_limits<int>::max()); in UpdateDelayStatistics()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_sender_egress.cc | 217 int64_t diff_ms = now_ms - packet->capture_time_ms(); in SendPacket() local 219 packet->SetExtension<TransmissionOffset>(kTimestampTicksPerMs * diff_ms); in SendPacket() 458 int64_t diff_ms = now_ms - capture_time_ms; in UpdateDelayStatistics() local 459 RTC_DCHECK_GE(diff_ms, static_cast<int64_t>(0)); in UpdateDelayStatistics() 460 RTC_DCHECK_LE(diff_ms, std::numeric_limits<int>::max()); in UpdateDelayStatistics()
|
/external/webrtc/video/adaptation/ |
D | overuse_frame_detector.cc | 97 void SetMaxSampleDiffMs(float diff_ms) override { in SetMaxSampleDiffMs() argument 98 max_sample_diff_ms_ = diff_ms; in SetMaxSampleDiffMs() 355 void SetMaxSampleDiffMs(float diff_ms) override { in SetMaxSampleDiffMs() argument 356 usage_->SetMaxSampleDiffMs(diff_ms); in SetMaxSampleDiffMs()
|
D | overuse_frame_detector.h | 100 virtual void SetMaxSampleDiffMs(float diff_ms) = 0;
|
D | video_stream_encoder_resource_manager.cc | 88 int64_t diff_ms = now_ms - set_start_bitrate_time_ms_; in SetTargetBitrate() local 89 if (diff_ms < in SetTargetBitrate()
|
/external/libiio/src/ |
D | local.c | 259 int diff_ms; in get_rel_timeout_ms() local 266 diff_ms = (now.tv_sec - start->tv_sec) * 1000; in get_rel_timeout_ms() 267 diff_ms += (now.tv_nsec - start->tv_nsec) / 1000000; in get_rel_timeout_ms() 269 if (diff_ms >= timeout_rel) /* Expired */ in get_rel_timeout_ms() 271 if (diff_ms > 0) /* Should never be false, but lets be safe */ in get_rel_timeout_ms() 272 timeout_rel -= diff_ms; in get_rel_timeout_ms()
|
/external/wpa_supplicant_8/src/ap/ |
D | dpp_hostapd.c | 329 unsigned int wait_time, diff_ms; in hostapd_dpp_reply_wait_timeout() local 338 diff_ms = diff.sec * 1000 + diff.usec / 1000; in hostapd_dpp_reply_wait_timeout() 341 wait_time, diff_ms); in hostapd_dpp_reply_wait_timeout() 343 if (auth->auth_req_ack && diff_ms >= wait_time) { in hostapd_dpp_reply_wait_timeout() 356 if (diff_ms >= wait_time) { in hostapd_dpp_reply_wait_timeout() 373 wait_time -= diff_ms; in hostapd_dpp_reply_wait_timeout()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | dpp_supplicant.c | 551 unsigned int wait_time, diff_ms; in wpas_dpp_reply_wait_timeout() local 560 diff_ms = diff.sec * 1000 + diff.usec / 1000; in wpas_dpp_reply_wait_timeout() 563 wait_time, diff_ms); in wpas_dpp_reply_wait_timeout() 565 if (auth->auth_req_ack && diff_ms >= wait_time) { in wpas_dpp_reply_wait_timeout() 579 if (diff_ms >= wait_time) { in wpas_dpp_reply_wait_timeout() 596 wait_time -= diff_ms; in wpas_dpp_reply_wait_timeout()
|