Mercurial > libavutil.hg
comparison integer.h @ 12:ce8f9f4390c3 libavutil
COSMETICS: Remove all trailing whitespace.
author | diego |
---|---|
date | Sat, 17 Dec 2005 18:14:38 +0000 |
parents | ee8f44bb7c4d |
children | af59e84e283d |
comparison
equal
deleted
inserted
replaced
11:b5bd7d00de0f | 12:ce8f9f4390c3 |
---|---|
15 * You should have received a copy of the GNU Lesser General Public | 15 * You should have received a copy of the GNU Lesser General Public |
16 * License along with this library; if not, write to the Free Software | 16 * License along with this library; if not, write to the Free Software |
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 * | 18 * |
19 */ | 19 */ |
20 | 20 |
21 /** | 21 /** |
22 * @file integer.h | 22 * @file integer.h |
23 * arbitrary precision integers | 23 * arbitrary precision integers |
24 * @author Michael Niedermayer <michaelni@gmx.at> | 24 * @author Michael Niedermayer <michaelni@gmx.at> |
25 */ | 25 */ |
26 | 26 |
27 #ifndef INTEGER_H | 27 #ifndef INTEGER_H |
28 #define INTEGER_H | 28 #define INTEGER_H |
29 | 29 |
30 #define AV_INTEGER_SIZE 8 | 30 #define AV_INTEGER_SIZE 8 |
31 | 31 |
32 typedef struct AVInteger{ | 32 typedef struct AVInteger{ |
33 uint16_t v[AV_INTEGER_SIZE]; | 33 uint16_t v[AV_INTEGER_SIZE]; |
34 } AVInteger; | 34 } AVInteger; |
35 | 35 |
36 AVInteger av_add_i(AVInteger a, AVInteger b); | 36 AVInteger av_add_i(AVInteger a, AVInteger b); |
37 AVInteger av_sub_i(AVInteger a, AVInteger b); | 37 AVInteger av_sub_i(AVInteger a, AVInteger b); |
38 int av_log2_i(AVInteger a); | 38 int av_log2_i(AVInteger a); |