84 using flicks = std::chrono::duration<std::chrono::nanoseconds::rep,
85 std::ratio<1, 705600000>>;
88 constexpr
flicks k_flicks_zero_seconds{
89 std::chrono::duration_cast<
flicks>(std::chrono::seconds{0})};
91 std::chrono::duration_cast<
flicks>(std::chrono::seconds{1})};
93 std::chrono::duration_cast<
flicks>(
94 std::chrono::duration<flicks::rep, std::ratio<1, 24>>{1})};
96 std::chrono::duration_cast<
flicks>(
97 std::chrono::duration<flicks::rep, std::ratio<1, 90>>{1})};
103 return std::chrono::duration_cast<std::chrono::duration<double>>(ns).
count();
109 return std::chrono::duration_cast<
flicks>(std::chrono::duration<double>{s});
114 template <
class Rep,
class Period>
116 const std::chrono::duration<Rep, Period> in_duration) {
117 return std::chrono::duration_cast<
flicks>(in_duration);
126 return std::hash<flicks::rep>{}(s.count());
constexpr flicks k_flicks_one_ninetieth_of_second
constexpr flicks flicks_cast(const std::chrono::duration< Rep, Period > in_duration)
result_type operator()(argument_type const &s) const
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
constexpr flicks k_flicks_one_twenty_fourth_of_second
std::chrono::duration< std::chrono::nanoseconds::rep, std::ratio< 1, 705600000 >> flicks
constexpr flicks k_flicks_one_second
constexpr double to_seconds(const flicks ns)
constexpr flicks to_flicks(const double s)
constexpr flicks k_flicks_min_time