Mercurial > libavcodec.hg
comparison bitstream.h @ 4283:d6f83e2f8804 libavcodec
rename always_inline to av_always_inline and move to common.h
author | mru |
---|---|
date | Fri, 08 Dec 2006 00:35:08 +0000 |
parents | 7a08ccdc8550 |
children | 892dba2cf52a |
comparison
equal
deleted
inserted
replaced
4282:9d64f6eacc7b | 4283:d6f83e2f8804 |
---|---|
875 * identical to nb_bits in init_vlc() | 875 * identical to nb_bits in init_vlc() |
876 * @param max_depth is the number of times bits bits must be readed to completly | 876 * @param max_depth is the number of times bits bits must be readed to completly |
877 * read the longest vlc code | 877 * read the longest vlc code |
878 * = (max_vlc_length + bits - 1) / bits | 878 * = (max_vlc_length + bits - 1) / bits |
879 */ | 879 */ |
880 static always_inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2], | 880 static av_always_inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2], |
881 int bits, int max_depth) | 881 int bits, int max_depth) |
882 { | 882 { |
883 int code; | 883 int code; |
884 | 884 |
885 OPEN_READER(re, s) | 885 OPEN_READER(re, s) |