Home
last modified time | relevance | path

Searched refs:nbits_in_reservoir (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/com32/lib/jpeg/
Dtinyjpeg.c163 #define fill_nbits(reservoir,nbits_in_reservoir,stream,nbits_wanted) do { \ argument
164 while (nbits_in_reservoir<nbits_wanted) \
174 nbits_in_reservoir+=8; \
179 #define get_nbits(reservoir,nbits_in_reservoir,stream,nbits_wanted,result) do { \ argument
180 fill_nbits(reservoir,nbits_in_reservoir,stream,(nbits_wanted)); \
181 result = ((reservoir)>>(nbits_in_reservoir-(nbits_wanted))); \
182 nbits_in_reservoir -= (nbits_wanted); \
183 reservoir &= ((1U<<nbits_in_reservoir)-1); \
188 #define look_nbits(reservoir,nbits_in_reservoir,stream,nbits_wanted,result) do { \ argument
189 fill_nbits(reservoir,nbits_in_reservoir,stream,(nbits_wanted)); \
[all …]
Dtinyjpeg-internal.h98 unsigned int reservoir, nbits_in_reservoir; member