Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavutil/tests/
Drational.c71 ai = av_mul_i(av_int2i(a), av_int2i(b)); in main()
72 ai = av_div_i(ai, av_int2i(c)); in main()
74 if (av_cmp_i(ai, av_int2i(INT64_MAX)) > 0 && res == INT64_MIN) in main()
76 if (av_cmp_i(ai, av_int2i(INT64_MIN)) < 0 && res == INT64_MIN) in main()
78 if (av_cmp_i(ai, av_int2i(res)) == 0) in main()
82 if (av_cmp_i(ai, av_int2i(res-1)) == 0 && a == INT64_MIN) in main()
Dinteger.c32 AVInteger ai= av_int2i(a); in main()
33 AVInteger bi= av_int2i(b); in main()
/third_party/ffmpeg/libavutil/
Dmathematics.c121 ai = av_mul_i(av_int2i(a), av_int2i(b)); in av_rescale_rnd()
122 ai = av_add_i(ai, av_int2i(r)); in av_rescale_rnd()
124 return av_i2int(av_div_i(ai, av_int2i(c))); in av_rescale_rnd()
Dinteger.h77 AVInteger av_int2i(int64_t a) av_const;
Dinteger.c147 AVInteger av_int2i(int64_t a){ in av_int2i() function