Searched refs:av_i2int (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavutil/tests/ |
D | integer.c | 35 av_assert0(av_i2int(ai) == a); in main() 36 av_assert0(av_i2int(bi) == b); in main() 37 av_assert0(av_i2int(av_add_i(ai,bi)) == a+b); in main() 38 av_assert0(av_i2int(av_sub_i(ai,bi)) == a-b); in main() 39 av_assert0(av_i2int(av_mul_i(ai,bi)) == a*b); in main() 40 av_assert0(av_i2int(av_shr_i(ai, 9)) == a>>9); in main() 41 av_assert0(av_i2int(av_shr_i(ai,-9)) == a<<9); in main() 42 av_assert0(av_i2int(av_shr_i(ai, 17)) == a>>17); in main() 43 av_assert0(av_i2int(av_shr_i(ai,-17)) == a<<17); in main() 45 av_assert0(av_i2int(av_div_i(ai,bi)) == a/b); in main()
|
D | rational.c | 85 …G_ERROR, "%"PRId64" * %"PRId64" / %"PRId64" = %"PRId64" or %"PRId64"\n", a,b,c, res, av_i2int(ai)); in main()
|
/third_party/ffmpeg/libavutil/ |
D | integer.h | 84 int64_t av_i2int(AVInteger a) av_const;
|
D | integer.c | 158 int64_t av_i2int(AVInteger a){ in av_i2int() function
|
D | mathematics.c | 124 return av_i2int(av_div_i(ai, av_int2i(c))); in av_rescale_rnd()
|