Lines Matching refs:nbits_wanted
457 #define fill_nbits(pdec, nbits_wanted) do { \ argument
458 while (pdec->nbits_in_reservoir<(nbits_wanted)) \
470 #define get_nbits(pdec, nbits_wanted, result) do { \ argument
471 fill_nbits(pdec, nbits_wanted); \
472 result = (pdec->reservoir) & ((1U<<(nbits_wanted))-1); \
473 skip_nbits(pdec, nbits_wanted); \
476 #define __get_nbits(pdec, nbits_wanted, result) do { \ argument
477 result = (pdec->reservoir) & ((1U<<(nbits_wanted))-1); \
478 skip_nbits(pdec, nbits_wanted); \
481 #define look_nbits(pdec, nbits_wanted) \ argument
482 ((pdec->reservoir) & ((1U<<(nbits_wanted))-1))