[Ffmpeg-cvslog] r8232 - in trunk/libavutil: integer.c integer.h

takis subversion
Mon Mar 5 00:26:54 CET 2007


Author: takis
Date: Mon Mar  5 00:26:53 2007
New Revision: 8232

Modified:
   trunk/libavutil/integer.c
   trunk/libavutil/integer.h

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


Modified: trunk/libavutil/integer.c
==============================================================================
--- trunk/libavutil/integer.c	(original)
+++ trunk/libavutil/integer.c	Mon Mar  5 00:26:53 2007
@@ -49,10 +49,6 @@ AVInteger av_sub_i(AVInteger a, AVIntege
     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;
 

Modified: trunk/libavutil/integer.h
==============================================================================
--- trunk/libavutil/integer.h	(original)
+++ trunk/libavutil/integer.h	Mon Mar  5 00:26:53 2007
@@ -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);
 




More information about the ffmpeg-cvslog mailing list