Home
last modified time | relevance | path

Searched refs:av_i2int (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavutil/tests/
Dinteger.c35 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()
Drational.c85 …G_ERROR, "%"PRId64" * %"PRId64" / %"PRId64" = %"PRId64" or %"PRId64"\n", a,b,c, res, av_i2int(ai)); in main()
/third_party/ffmpeg/libavutil/
Dinteger.h84 int64_t av_i2int(AVInteger a) av_const;
Dinteger.c158 int64_t av_i2int(AVInteger a){ in av_i2int() function
Dmathematics.c124 return av_i2int(av_div_i(ai, av_int2i(c))); in av_rescale_rnd()