changeset 1079:89e233c2ef45 libavcodec

get_vlc2() "docs"
author michaelni
date Mon, 24 Feb 2003 09:41:02 +0000
parents c55bffc3b84e
children a150aba978de
files common.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Mon Feb 24 00:05:17 2003 +0000
+++ b/common.h	Mon Feb 24 09:41:02 2003 +0000
@@ -752,6 +752,14 @@
     return code;
 }
 
+/**
+ * parses a vlc code, faster then get_vlc()
+ * @param bits is the number of bits which will be read at once, must be 
+ *             identical to nb_bits in init_vlc()
+ * @param max_depth is the number of times bits bits must be readed to completly
+ *                  read the longest vlc code 
+ *                  = (max_vlc_length + bits - 1) / bits
+ */
 static always_inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2],
                                   int bits, int max_depth)
 {