changeset 277:d25ab70c93c4 libavutil

Move av_log2_i()'s unaltered comments to the header file.
author takis
date Sun, 04 Mar 2007 23:26:53 +0000
parents 0df0d9771d02
children ca3eb39d3aa2
files integer.c integer.h
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/integer.c	Sun Mar 04 23:26:01 2007 +0000
+++ b/integer.c	Sun Mar 04 23:26:53 2007 +0000
@@ -49,10 +49,6 @@
     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;
 
--- a/integer.h	Sun Mar 04 23:26:01 2007 +0000
+++ b/integer.h	Sun Mar 04 23:26:53 2007 +0000
@@ -37,6 +37,11 @@
 
 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);