Commit a27b3a79 authored by michaelni's avatar michaelni

get_vlc2() "docs"


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1599 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 67cb1298
...@@ -752,6 +752,14 @@ static inline int get_vlc(GetBitContext *s, VLC *vlc) ...@@ -752,6 +752,14 @@ static inline int get_vlc(GetBitContext *s, VLC *vlc)
return code; 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], static always_inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2],
int bits, int max_depth) int bits, int max_depth)
{ {
......
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