Home | History | Annotate | Download | only in base

Lines Matching full:time

9 #include "base/time/time.h"
18 // A clock represents a single source of time to allow audio and video streams
19 // to synchronize with each other. Clock essentially tracks the media time with
20 // respect to some other source of time, whether that may be the monotonic
22 // calculate the current media time since the last time SetTime() was called.
24 // Clocks start off paused with a playback rate of 1.0f and a media time of 0.
29 // given a media time. This will be used primarily by video renderers. For now
42 // Starts the clock and returns the current media time, which will increase
46 // Stops the clock and returns the current media time, which will remain
50 // Sets a new playback rate. The rate at which the media time will increase
54 // Forcefully sets the media time to |current_time|. The second parameter is
56 // value is often the time of the end of the last frame buffered and decoded.
65 // Returns the current elapsed media time. Returns 0 if SetDuration() has
84 // Updates the reference points based on the current calculated time.
90 // Returns the time elapsed based on the current reference points, ignoring
94 // Translates |time| into the current media time, based on the perspective of
96 base::TimeDelta ElapsedViaProvidedTime(const base::TimeTicks& time) const;
98 base::TimeDelta ClampToValidTimeRange(base::TimeDelta time) const;
109 // The monotonic system clock time when this Clock last started playing or had
110 // its time set via SetTime().
113 // Current accumulated amount of media time. The remaining portion must be
114 // calculated by comparing the system time to the reference time.
120 // The maximum time that can be returned by calls to Elapsed().