Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libvrr/
DUtils.h59 T mDen; member
61 Fraction(T num = 0, T denom = 1) : mNum(num), mDen(denom) { in mNum()
62 if (mDen < 0) { in mNum()
64 mDen = -mDen; in mNum()
68 T round() { return roundDivide(mNum, mDen); } in round()
70 bool operator<(const Fraction<T>& other) const { return mNum * other.mDen < other.mNum * mDen; }
73 return mNum * other.mDen == other.mNum * mDen;
79 return roundDivide(std::nano::den * static_cast<int64_t>(freq.mDen), in freqToDurationNs()