Home
last modified time | relevance | path

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

/external/opencore/codecs_v2/audio/mp3/dec/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,
/external/opencore/codecs_v2/audio/aac/dec/src/
Dgetbits.h99 const UInt neededBits, in getbits() argument
161 returnValue = returnValue >> (32 - neededBits); in getbits()
163 pInputStream->usedBits += neededBits; in getbits()
205 const UInt neededBits, in get9_n_lessbits() argument
258 pInputStream->usedBits += neededBits; in get9_n_lessbits()
265 return (UInt)(returnValue >> (16 - neededBits)); in get9_n_lessbits()
270 const UInt neededBits, in get17_n_lessbits() argument
329 returnValue = returnValue >> (24 - neededBits); in get17_n_lessbits()
331 pInputStream->usedBits += neededBits; in get17_n_lessbits()