Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_getbits.cpp111 int32 neededBits) /* number of bits to read from the bitstream (up to 25) */ in getNbits() argument
122 if (!neededBits) in getNbits()
147 returnValue >>= (32 - neededBits); in getNbits()
149 ptBitStream->usedBits += neededBits; in getNbits()
159 int32 neededBits) /* number of bits to read from the bit stream 2 to 9 */ in getUpTo9bits() argument
180 ptBitStream->usedBits += neededBits; in getUpTo9bits()
186 return (uint16)(returnValue >> (16 - neededBits)); in getUpTo9bits()
195 int32 neededBits) /* number of bits to read from the bit stream 2 to 8 */ in getUpTo17bits() argument
219 ptBitStream->usedBits += neededBits; in getUpTo17bits()
225 return (uint32)(returnValue >> (24 - neededBits)); in getUpTo17bits()
Dpvmp3_getbits.h88 int32 neededBits);
91 int32 neededBits);
94 int32 neededBits);
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,