Home
last modified time | relevance | path

Searched refs:prev_timestamp (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/tools/perf/metrics/
Drendering_stats_unittest.py74 prev_timestamp = ref_stats.frame_timestamps[-1]
75 ref_stats.frame_times.append(round(timestamp - prev_timestamp, 2))
112 prev_timestamp = ref_stats.frame_timestamps[-1]
113 ref_stats.frame_times.append(round(timestamp - prev_timestamp, 2))
/external/chromium_org/media/cast/
Dcast_defines.h76 inline bool IsNewerRtpTimestamp(uint32 timestamp, uint32 prev_timestamp) { in IsNewerRtpTimestamp() argument
77 return (timestamp != prev_timestamp) && in IsNewerRtpTimestamp()
78 static_cast<uint32>(timestamp - prev_timestamp) < 0x80000000; in IsNewerRtpTimestamp()
/external/chromium_org/media/filters/
Dsource_buffer_stream.cc688 base::TimeDelta prev_timestamp = last_appended_buffer_timestamp_; in IsMonotonicallyIncreasing() local
696 if (prev_timestamp != kNoTimestamp()) { in IsMonotonicallyIncreasing()
697 if (current_timestamp < prev_timestamp) { in IsMonotonicallyIncreasing()
702 if (current_timestamp == prev_timestamp && in IsMonotonicallyIncreasing()
712 prev_timestamp = current_timestamp; in IsMonotonicallyIncreasing()
739 base::TimeDelta prev_timestamp = last_appended_buffer_timestamp_; in UpdateMaxInterbufferDistance() local
745 if (prev_timestamp != kNoTimestamp()) { in UpdateMaxInterbufferDistance()
746 base::TimeDelta interbuffer_distance = current_timestamp - prev_timestamp; in UpdateMaxInterbufferDistance()
754 prev_timestamp = current_timestamp; in UpdateMaxInterbufferDistance()
951 base::TimeDelta prev_timestamp = last_appended_buffer_timestamp_; in PrepareRangesForNextAppend() local
[all …]