Lines Matching refs:numBits
330 /* macro to read numBits bits from the buffer, bits will be written to
332 #define BUFFER_SHOW(value, bits, outVal, numBits) \
334 if (bits < (numBits)) \
341 (outVal) = value >> (32 - (numBits)); \
344 /* macro to flush numBits bits from the buffer */
345 #define BUFFER_FLUSH(value, bits, numBits) \
347 value <<= (numBits); \
348 bits -= (numBits); \
351 /* macro to read and flush numBits bits from the buffer, bits will be written
353 #define BUFFER_GET(value, bits, outVal, numBits) \
355 if (bits < (numBits)) \
362 (outVal) = value >> (32 - (numBits)); \
363 value <<= (numBits); \
364 bits -= (numBits); \