Searched refs:neededBits (Results 1 – 4 of 4) sorted by relevance
111 int32 neededBits) /* number of bits to read from the bitstream (up to 25) */ in getNbits() argument123 if (!neededBits) in getNbits()133 bytesToFetch = (bitIndex + neededBits + 7 ) >> 3 ; in getNbits()160 returnValue >>= (32 - neededBits); in getNbits()162 ptBitStream->usedBits += neededBits; in getNbits()172 int32 neededBits) /* number of bits to read from the bit stream 2 to 9 */ in getUpTo9bits() argument187 bytesToFetch = (bitIndex + neededBits + 7 ) >> 3 ; in getUpTo9bits()203 ptBitStream->usedBits += neededBits; in getUpTo9bits()209 return (uint16)(returnValue >> (16 - neededBits)); in getUpTo9bits()218 int32 neededBits) /* number of bits to read from the bit stream 2 to 8 */ in getUpTo17bits() argument[all …]
88 int32 neededBits);91 int32 neededBits);94 int32 neededBits);107 static inline bool bitsAvailable(tmp3Bits *inputStream, uint32 neededBits) in bitsAvailable() argument109 return (inputStream->inputBufferCurrentLength << 3) >= (neededBits + inputStream->usedBits); in bitsAvailable()
124 int32 neededBits, /* number of bits to read from the bit stream */ in getbits_crc() argument128 uint32 bits = getNbits(inputStream, neededBits); in getbits_crc()132 calculate_crc(bits, neededBits, crc); in getbits_crc()
85 int32 neededBits,