The Timestamp class represents timestamp value and it timebase.
More...
#include <timestamp.h>
The Timestamp class represents timestamp value and it timebase.
◆ Timestamp() [1/3]
av::Timestamp::Timestamp |
( |
| ) |
|
|
noexcept |
◆ Timestamp() [2/3]
av::Timestamp::Timestamp |
( |
int64_t |
timestamp, |
|
|
const Rational & |
timebase |
|
) |
| |
|
noexcept |
◆ Timestamp() [3/3]
template<typename Duration , typename = typename Duration::period>
av::Timestamp::Timestamp |
( |
const Duration & |
duration | ) |
|
|
inline |
Create AvCpp/FFmpeg compatible timestamp value from the std::chrono::duration/boost::chrono::duration.
◆ isNoPts()
bool av::Timestamp::isNoPts |
( |
| ) |
const |
|
noexcept |
◆ isValid()
bool av::Timestamp::isValid |
( |
| ) |
const |
|
noexcept |
◆ operator bool()
av::Timestamp::operator bool |
( |
| ) |
const |
|
noexcept |
◆ operator double()
av::Timestamp::operator double |
( |
| ) |
const |
|
noexcept |
◆ operator*=()
◆ operator+=()
◆ operator-=()
◆ operator/=()
◆ seconds()
double av::Timestamp::seconds |
( |
| ) |
const |
|
noexcept |
◆ timebase()
const Rational & av::Timestamp::timebase |
( |
| ) |
const |
|
noexcept |
◆ timestamp() [1/2]
int64_t av::Timestamp::timestamp |
( |
| ) |
const |
|
noexcept |
◆ timestamp() [2/2]
int64_t av::Timestamp::timestamp |
( |
const Rational & |
timebase | ) |
const |
|
noexcept |
◆ toDuration()
template<typename Duration >
Duration av::Timestamp::toDuration |
( |
| ) |
const |
|
inline |
Convert to the std::chrono::duration compatible value.
The documentation for this class was generated from the following files: