Lines Matching refs:RtpTimeTicks
25 class RtpTimeTicks; variable
29 std::ostream& operator<<(std::ostream& out, const RtpTimeTicks rhs);
152 friend class RtpTimeTicks; variable
206 class RtpTimeTicks : public ExpandedValueBase<int64_t, RtpTimeTicks> {
208 constexpr RtpTimeTicks() : ExpandedValueBase(0) {} in RtpTimeTicks() function
211 constexpr RtpTimeDelta operator-(RtpTimeTicks rhs) const {
216 constexpr RtpTimeTicks operator+(RtpTimeDelta rhs) const {
217 return RtpTimeTicks(value_ + rhs.value());
219 constexpr RtpTimeTicks operator-(RtpTimeDelta rhs) const {
220 return RtpTimeTicks(value_ - rhs.value());
222 constexpr RtpTimeTicks& operator+=(RtpTimeDelta rhs) {
225 constexpr RtpTimeTicks& operator-=(RtpTimeDelta rhs) {
235 return (*this - RtpTimeTicks()).ToDuration<Duration>(rtp_timebase); in ToTimeSinceOrigin()
242 static constexpr RtpTimeTicks FromTimeSinceOrigin(Duration time_since_origin, in FromTimeSinceOrigin()
244 return RtpTimeTicks() + in FromTimeSinceOrigin()
249 friend class ExpandedValueBase<int64_t, RtpTimeTicks>;
250 friend std::ostream& operator<<(std::ostream& out, const RtpTimeTicks rhs);
252 constexpr explicit RtpTimeTicks(int64_t value) : ExpandedValueBase(value) {} in RtpTimeTicks() function