28 #ifndef AVUTIL_INTEGER_H
29 #define AVUTIL_INTEGER_H
34 #define AV_INTEGER_SIZE 8
AVInteger av_add_i(AVInteger a, AVInteger b) av_const
AVInteger av_sub_i(AVInteger a, AVInteger b) av_const
int av_cmp_i(AVInteger a, AVInteger b) av_const
Return 0 if a==b, 1 if a>b and -1 if a<b.
int64_t av_i2int(AVInteger a) av_const
Convert the given AVInteger to an int64_t.
AVInteger av_mul_i(AVInteger a, AVInteger b) av_const
uint16_t v[AV_INTEGER_SIZE]
AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b)
Return a % b.
AVInteger av_div_i(AVInteger a, AVInteger b) av_const
Return a/b.
AVInteger av_shr_i(AVInteger a, int s) av_const
bitwise shift
int av_log2_i(AVInteger a) av_const
Return the rounded-down value of the base 2 logarithm of the given AVInteger.
common internal and external API header
AVInteger av_int2i(int64_t a) av_const
Convert the given int64_t to an AVInteger.