Home
last modified time | relevance | path

Searched refs:kNumNanosecsPerSec (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/rtc_base/
Dcpu_time.cc44 return ts.tv_sec * kNumNanosecsPerSec + ts.tv_nsec; in GetProcessCpuTimeNanos()
51 return rusage.ru_utime.tv_sec * kNumNanosecsPerSec + in GetProcessCpuTimeNanos()
84 return ts.tv_sec * kNumNanosecsPerSec + ts.tv_nsec; in GetThreadCpuTimeNanos()
96 return info.user_time.seconds * kNumNanosecsPerSec + in GetThreadCpuTimeNanos()
Dtime_utils.h24 static const int64_t kNumNanosecsPerSec = INT64_C(1000000000); variable
29 kNumNanosecsPerSec / kNumMillisecsPerSec;
31 kNumNanosecsPerSec / kNumMicrosecsPerSec;
Drtc_certificate_unittest.cc50 uint64_t NowSeconds() const { return TimeNanos() / kNumNanosecsPerSec; } in NowSeconds()
Dtime_utils.cc170 ticks = kNumNanosecsPerSec * static_cast<int64_t>(ts.tv_sec) + in SystemTimeNanos()
Dopenssl_stream_adapter.cc144 out_clock->tv_sec = time / kNumNanosecsPerSec; in TimeCallbackForTesting()
145 out_clock->tv_usec = (time % kNumNanosecsPerSec) / kNumNanosecsPerMicrosec; in TimeCallbackForTesting()
/external/webrtc/media/base/
Dvideo_common.h144 rtc::kNumNanosecsPerSec / 10000; // 10k fps.
164 return fps ? rtc::kNumNanosecsPerSec / fps : kMinimumInterval; in FpsToInterval()
171 return static_cast<int>(rtc::kNumNanosecsPerSec / interval); in IntervalToFps()
178 return static_cast<float>(rtc::kNumNanosecsPerSec) / in IntervalToFpsFloat()
Dvideo_common_unittest.cc42 EXPECT_EQ(rtc::kNumNanosecsPerSec / 20, VideoFormat::FpsToInterval(20)); in TEST()
43 EXPECT_EQ(20, VideoFormat::IntervalToFps(rtc::kNumNanosecsPerSec / 20)); in TEST()
Dvideo_adapter.cc157 int64_t frame_interval_ns = rtc::kNumNanosecsPerSec / max_fps; in KeepFrame()
301 max_fps = rtc::kNumNanosecsPerSec / format->interval; in OnOutputFormatRequest()
Dvideo_adapter_unittest.cc1159 /* in_timestamp_ns= */ rtc::kNumNanosecsPerSec / 30, &cropped_width, in TEST()
1187 /* in_timestamp_ns= */ rtc::kNumNanosecsPerSec / 30, &cropped_width, in TEST()
1329 frame_num * rtc::kNumNanosecsPerSec / kSourceFramerate, &cropped_width_, in TEST_P()
/external/webrtc/modules/audio_device/android/
Daaudio_wrapper.cc228 (frame_index_delta * rtc::kNumNanosecsPerSec) / sample_rate(); in EstimateLatencyMillis()
/external/webrtc/sdk/android/src/jni/audio_device/
Daaudio_wrapper.cc228 (frame_index_delta * rtc::kNumNanosecsPerSec) / sample_rate(); in EstimateLatencyMillis()
/external/webrtc/sdk/objc/components/video_codec/
DRTCVideoDecoderH264.mm68 timeStampNs:CMTimeGetSeconds(timestamp) * rtc::kNumNanosecsPerSec];