av_i2int 84 libavutil/integer.h int64_t av_i2int(AVInteger a) av_const; av_i2int 124 libavutil/mathematics.c return av_i2int(av_div_i(ai, av_int2i(c))); av_i2int 35 libavutil/tests/integer.c av_assert0(av_i2int(ai) == a); av_i2int 36 libavutil/tests/integer.c av_assert0(av_i2int(bi) == b); av_i2int 37 libavutil/tests/integer.c av_assert0(av_i2int(av_add_i(ai,bi)) == a+b); av_i2int 38 libavutil/tests/integer.c av_assert0(av_i2int(av_sub_i(ai,bi)) == a-b); av_i2int 39 libavutil/tests/integer.c av_assert0(av_i2int(av_mul_i(ai,bi)) == a*b); av_i2int 40 libavutil/tests/integer.c av_assert0(av_i2int(av_shr_i(ai, 9)) == a>>9); av_i2int 41 libavutil/tests/integer.c av_assert0(av_i2int(av_shr_i(ai,-9)) == a<<9); av_i2int 42 libavutil/tests/integer.c av_assert0(av_i2int(av_shr_i(ai, 17)) == a>>17); av_i2int 43 libavutil/tests/integer.c av_assert0(av_i2int(av_shr_i(ai,-17)) == a<<17); av_i2int 45 libavutil/tests/integer.c av_assert0(av_i2int(av_div_i(ai,bi)) == a/b); av_i2int 85 libavutil/tests/rational.c av_log(NULL, AV_LOG_ERROR, "%"PRId64" * %"PRId64" / %"PRId64" = %"PRId64" or %"PRId64"\n", a,b,c, res, av_i2int(ai));