Go to the source code of this file.
#define TEST_MATCH |
( |
|
frame_rate, |
|
|
|
code, |
|
|
|
ext_n, |
|
|
|
ext_d |
|
) |
| |
Value:do { \
AVRational fr = frame_rate;
\
if (c != code || n != ext_n || d != ext_d) {
\
"code = %d, ext_n = %d, ext_d = %d.\n", \
fr.num, fr.den, c, n, d);
\
} \
} while (0)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
void ff_mpeg12_find_best_frame_rate(AVRational frame_rate, int *code, int *ext_n, int *ext_d, int nonstandard)
Referenced by main().
#define TEST_EXACT |
( |
|
frn, |
|
|
|
frd |
|
) |
| |
Value:do { \
"code = %d, ext_n = %d, ext_d = %d.\n", \
fr.num, fr.den, c, n, d);
\
} \
} while (0)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
Rational number (pair of numerator and denominator).
static int av_cmp_q(AVRational a, AVRational b)
Compare two rationals.
void ff_mpeg12_find_best_frame_rate(AVRational frame_rate, int *code, int *ext_n, int *ext_d, int nonstandard)
const AVRational ff_mpeg12_frame_rate_tab[16]
AVRational av_mul_q(AVRational b, AVRational c)
Multiply two rationals.
Referenced by main().