Home
last modified time | relevance | path

Searched refs:neededBits (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/codecs/mp3dec/src/
Dpvmp3_getbits.cpp111 int32 neededBits) /* number of bits to read from the bitstream (up to 25) */ in getNbits() argument
123 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() argument
187 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 …]
Dpvmp3_getbits.h88 int32 neededBits);
91 int32 neededBits);
94 int32 neededBits);
107 static inline bool bitsAvailable(tmp3Bits *inputStream, uint32 neededBits) in bitsAvailable() argument
109 return (inputStream->inputBufferCurrentLength << 3) >= (neededBits + inputStream->usedBits); in bitsAvailable()
Dpvmp3_crc.cpp124 int32 neededBits, /* number of bits to read from the bit stream */ in getbits_crc() argument
128 uint32 bits = getNbits(inputStream, neededBits); in getbits_crc()
132 calculate_crc(bits, neededBits, crc); in getbits_crc()
Dpvmp3_crc.h85 int32 neededBits,