Commit 395722ba authored by Panagiotis Issaris's avatar Panagiotis Issaris

Move av_log2_i()'s unaltered comments to the header file.

Originally committed as revision 8232 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 37b2f1d0
...@@ -49,10 +49,6 @@ AVInteger av_sub_i(AVInteger a, AVInteger b){ ...@@ -49,10 +49,6 @@ AVInteger av_sub_i(AVInteger a, AVInteger b){
return a; 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 av_log2_i(AVInteger a){
int i; int i;
......
...@@ -37,6 +37,11 @@ typedef struct AVInteger{ ...@@ -37,6 +37,11 @@ typedef struct AVInteger{
AVInteger av_add_i(AVInteger a, AVInteger b); AVInteger av_add_i(AVInteger a, AVInteger b);
AVInteger av_sub_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); int av_log2_i(AVInteger a);
AVInteger av_mul_i(AVInteger a, AVInteger b); AVInteger av_mul_i(AVInteger a, AVInteger b);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment