Browse Source

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

Originally committed as revision 8232 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Panagiotis Issaris 18 years ago
parent
commit
395722ba67
2 changed files with 5 additions and 4 deletions
  1. +0
    -4
      libavutil/integer.c
  2. +5
    -0
      libavutil/integer.h

+ 0
- 4
libavutil/integer.c View File

@@ -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;



+ 5
- 0
libavutil/integer.h View File

@@ -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);



Loading…
Cancel
Save