Go to the source code of this file.
◆ TEST_MATCH
#define TEST_MATCH |
( |
|
frame_rate, |
|
|
|
code, |
|
|
|
ext_n, |
|
|
|
ext_d |
|
) |
| |
Value: do { \
AVRational fr = frame_rate; \
ff_mpeg12_find_best_frame_rate(fr, &
c, &n, &d, 0); \
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); \
return 1; \
} \
} while (0)
◆ TEST_EXACT
#define TEST_EXACT |
( |
|
frn, |
|
|
|
frd |
|
) |
| |
Value: do { \
ff_mpeg12_find_best_frame_rate(fr, &
c, &n, &d, 0); \
"code = %d, ext_n = %d, ext_d = %d.\n", \
fr.num, fr.den,
c, n, d); \
return 1; \
} \
} while (0)
◆ main()