Home
last modified time | relevance | path

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

/frameworks/av/media/module/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/base/core/java/com/android/internal/util/
DBitUtils.java134 public static boolean isBitSet(long flags, int bitIndex) { in isBitSet() argument
135 return (flags & bitAt(bitIndex)) != 0; in isBitSet()
138 public static long bitAt(int bitIndex) { in bitAt() argument
139 return 1L << bitIndex; in bitAt()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java567 int bitIndex = 7; in parseToBnW() local
573 bitIndex = 7; in parseToBnW()
575 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()