Home
last modified time | relevance | path

Searched refs:bitIndex (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/codecs/mp3dec/src/
Dpvmp3_getbits.cpp115 uint32 bitIndex; in getNbits() local
131 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getNbits()
133 bytesToFetch = (bitIndex + neededBits + 7 ) >> 3 ; in getNbits()
157 returnValue <<= bitIndex; in getNbits()
176 uint32 bitIndex; in getUpTo9bits() local
185 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo9bits()
187 bytesToFetch = (bitIndex + neededBits + 7 ) >> 3 ; in getUpTo9bits()
205 returnValue = (returnValue << (bitIndex)); in getUpTo9bits()
222 uint32 bitIndex; in getUpTo17bits() local
232 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo17bits()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DIconLoader.java252 int bitIndex = 7; in parseToBnW() local
258 bitIndex = 7; in parseToBnW()
260 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()
311 int bitIndex = bitsStartOffset; in parseToRGB() local
317 if (bitIndex < 0) { in parseToRGB()
319 bitIndex = bitsOverlaps ? (bitsStartOffset) : (bitIndex * -1); in parseToRGB()
321 int clutEntry = ((currentByte >> bitIndex) & mask); in parseToRGB()
325 bitIndex -= bitsPerImg; in parseToRGB()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DIpRange.java77 for (int bitIndex = prefix.getPrefixLength(); bitIndex < 8 * mEndAddr.length; ++bitIndex) { in IpRange()
78 mEndAddr[bitIndex / 8] |= (byte) (0x80 >> (bitIndex % 8)); in IpRange()
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java133 public static boolean isBitSet(long flags, int bitIndex) { in isBitSet() argument
134 return (flags & bitAt(bitIndex)) != 0; in isBitSet()
137 public static long bitAt(int bitIndex) { in bitAt() argument
138 return 1L << bitIndex; in bitAt()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java562 int bitIndex = 7; in parseToBnW() local
568 bitIndex = 7; in parseToBnW()
570 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()
/frameworks/base/tools/codegen/src/com/android/codegen/
DUtils.kt93 fun bitAtExpr(bitIndex: Int) = "0x${java.lang.Long.toHexString(1L shl bitIndex)}" in bitAtExpr()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
329 << bitIndex; in chooseModifier()