## Revision 49bd8e4b libavutil/integer.h

View differences:

libavutil/integer.h
41 41
```AVInteger av_sub_i(AVInteger a, AVInteger b) av_const;
```
42 42

43 43
```/**
```
44
``` * Returns the rounded-down value of the base 2 logarithm of the given
```
44
``` * Return the rounded-down value of the base 2 logarithm of the given
```
45 45
``` * AVInteger. This is simply the index of the most significant bit
```
46 46
``` * which is 1, or 0 if all bits are 0.
```
47 47
``` */
```
......
49 49
```AVInteger av_mul_i(AVInteger a, AVInteger b) av_const;
```
50 50

51 51
```/**
```
52
``` * Returns 0 if a==b, 1 if a>b and -1 if a<b.
```
52
``` * Return 0 if a==b, 1 if a>b and -1 if a<b.
```
53 53
``` */
```
54 54
```int av_cmp_i(AVInteger a, AVInteger b) av_const;
```
55 55

......
61 61
```AVInteger av_shr_i(AVInteger a, int s) av_const;
```
62 62

63 63
```/**
```
64
``` * Returns a % b.
```
64
``` * Return a % b.
```
65 65
``` * @param quot a/b will be stored here.
```
66 66
``` */
```
67 67
```AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b);
```
68 68

69 69
```/**
```
70
``` * Returns a/b.
```
70
``` * Return a/b.
```
71 71
``` */
```
72 72
```AVInteger av_div_i(AVInteger a, AVInteger b) av_const;
```
73 73

74 74
```/**
```
75
``` * Converts the given int64_t to an AVInteger.
```
75
``` * Convert the given int64_t to an AVInteger.
```
76 76
``` */
```
77 77
```AVInteger av_int2i(int64_t a) av_const;
```
78 78

79 79
```/**
```
80
``` * Converts the given AVInteger to an int64_t.
```
80
``` * Convert the given AVInteger to an int64_t.
```
81 81
``` * If the AVInteger is too large to fit into an int64_t,
```
82 82
``` * then only the least significant 64 bits will be used.
```
83 83
``` */
```

Also available in: Unified diff