MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
IndexConversion.hpp File Reference
#include <cstdint>
#include <mxl/rational.h>
#include "Timing.hpp"
Include dependency graph for IndexConversion.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mxl
namespace  mxl::lib

Functions

constexpr Timepoint mxl::lib::indexToTimestamp (mxlRational const &editRate, std::uint64_t index) noexcept
constexpr std::uint64_t mxl::lib::timestampToIndex (mxlRational const &editRate, Timepoint timestamp) noexcept