diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-04 23:26:53 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-04 23:26:53 +0000 |
commit | 395722ba677df7073e1d98f46637990497e7c8db (patch) | |
tree | 0c48107493cec5376244699c0b7d1d88cf0da5f0 /libavutil | |
parent | 37b2f1d07354e7871cf720aceaf8fdfae9d66573 (diff) | |
download | ffmpeg-395722ba677df7073e1d98f46637990497e7c8db.tar.gz |
Move av_log2_i()'s unaltered comments to the header file.
Originally committed as revision 8232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/integer.c | 4 | ||||
-rw-r--r-- | libavutil/integer.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libavutil/integer.c b/libavutil/integer.c index bed5069a9d..3269a366a4 100644 --- a/libavutil/integer.c +++ b/libavutil/integer.c @@ -49,10 +49,6 @@ AVInteger av_sub_i(AVInteger a, AVInteger b){ return a; } -/** - * returns the rounded down value of the logarithm of base 2 of the given AVInteger. - * this is simply the index of the most significant bit which is 1. Or 0 of all bits are 0 - */ int av_log2_i(AVInteger a){ int i; diff --git a/libavutil/integer.h b/libavutil/integer.h index 6680e79ac3..2a4d703166 100644 --- a/libavutil/integer.h +++ b/libavutil/integer.h @@ -37,6 +37,11 @@ typedef struct AVInteger{ AVInteger av_add_i(AVInteger a, AVInteger b); AVInteger av_sub_i(AVInteger a, AVInteger b); + +/** + * returns the rounded down value of the logarithm of base 2 of the given AVInteger. + * this is simply the index of the most significant bit which is 1. Or 0 of all bits are 0 + */ int av_log2_i(AVInteger a); AVInteger av_mul_i(AVInteger a, AVInteger b); |