A simple representation of rational numbers of the form numerator/denominator.
More...
#include <types.h>
A simple representation of rational numbers of the form numerator/denominator.
Definition at line 24 of file types.h.
◆ av_q()
AVRational movie_publisher::RationalNumber::av_q |
( |
| ) |
const |
- Returns
- Corresponding libav representation of rational number.
◆ operator double()
movie_publisher::RationalNumber::operator double |
( |
| ) |
const |
◆ operator float()
movie_publisher::RationalNumber::operator float |
( |
| ) |
const |
◆ denominator
int32_t movie_publisher::RationalNumber::denominator {1} |
Denominator.
Definition at line 27 of file types.h.
◆ numerator
int32_t movie_publisher::RationalNumber::numerator {0} |
Numerator.
Definition at line 26 of file types.h.
The documentation for this struct was generated from the following file: