StormByte-Multimedia 3.3.2
C++26 multimedia processing module of the StormByte suite
Loading...
Searching...
No Matches
AVRational.hxx File Reference
#include <StormByte/multimedia/property/av_rational.hxx>
#include <cstdint>
#include <limits>
Include dependency graph for AVRational.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StormByte::Multimedia::FFmpeg::AVRational
 Pair {num, den} matching libavutil AVRational. More...

Namespaces

namespace  StormByte
 Root namespace of the StormByte C++ suite.
namespace  StormByte::Multimedia
 Multimedia module of the StormByte suite.
namespace  StormByte::Multimedia::FFmpeg
 Private RAII wrappers over libav*.

Functions

std::int64_t StormByte::Multimedia::FFmpeg::Rescale (std::int64_t ticks, const AVRational &src, const AVRational &dst) noexcept
 av_rescale_q(ticks, src, dst).

Variables

constexpr int StormByte::Multimedia::FFmpeg::TimeBase = 1000000
 FFmpeg time-base frequency in microseconds (AV_TIME_BASE).
constexpr AVRational StormByte::Multimedia::FFmpeg::TimeBaseQ {1, TimeBase}
 FFmpeg time base (AV_TIME_BASE_Q).
constexpr AVRational StormByte::Multimedia::FFmpeg::Nanosecond {1, 1000000000}
 Time base with one-nanosecond ticks.
constexpr std::int64_t StormByte::Multimedia::FFmpeg::NoPts = std::numeric_limits<std::int64_t>::min()
 Sentinel for an unavailable timestamp (AV_NOPTS_VALUE).