Searched refs:kNumNanosecsPerSec (Results 1 – 13 of 13) sorted by relevance
47 (fps ? talk_base::kNumNanosecsPerSec / fps : \48 talk_base::kNumNanosecsPerSec / 10000)189 talk_base::kNumNanosecsPerSec / 10000; // 10k fps.211 return fps ? talk_base::kNumNanosecsPerSec / fps : kMinimumInterval; in FpsToInterval()218 return static_cast<int>(talk_base::kNumNanosecsPerSec / interval); in IntervalToFps()225 return static_cast<float>(talk_base::kNumNanosecsPerSec) / in IntervalToFpsFloat()
58 EXPECT_EQ(talk_base::kNumNanosecsPerSec / 20, VideoFormat::FpsToInterval(20)); in TEST()59 EXPECT_EQ(20, VideoFormat::IntervalToFps(talk_base::kNumNanosecsPerSec / 20)); in TEST()
47 initial_unix_timestamp_(time(NULL) * talk_base::kNumNanosecsPerSec), in FakeVideoCapturer()
39 static const int64 kNumNanosecsPerSec = INT64_C(1000000000); variable43 static const int64 kNumNanosecsPerMillisec = kNumNanosecsPerSec /45 static const int64 kNumNanosecsPerMicrosec = kNumNanosecsPerSec /
84 return (static_cast<double>(TimeNanos()) / kNumNanosecsPerSec); in TimerNow()
68 ticks = kNumNanosecsPerSec * static_cast<int64>(ts.tv_sec) + in TimeNanos()
79 kNumNanosecsPerSec; in Stop()
22 static const int64 kNumNanosecsPerSec = INT64_C(1000000000); variable26 static const int64 kNumNanosecsPerMillisec = kNumNanosecsPerSec /28 static const int64 kNumNanosecsPerMicrosec = kNumNanosecsPerSec /
67 return (static_cast<double>(TimeNanos()) / kNumNanosecsPerSec); in TimerNow()
51 ticks = kNumNanosecsPerSec * static_cast<int64>(ts.tv_sec) + in TimeNanos()
62 kNumNanosecsPerSec; in Stop()
3291 if (abs(time(NULL) - frame_timestamp / talk_base::kNumNanosecsPerSec) > in SendFrame()4110 talk_base::kNumMillisecsPerSec / talk_base::kNumNanosecsPerSec); in QueueBlackFrame()
2155 int64 timestamp = time(NULL) * talk_base::kNumNanosecsPerSec;