Searched refs:bitIndex (Results 1 – 7 of 7) sorted by relevance
115 uint32 bitIndex; in getNbits() local131 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() local185 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() local232 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo17bits()[all …]
252 int bitIndex = 7; in parseToBnW() local258 bitIndex = 7; in parseToBnW()260 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()311 int bitIndex = bitsStartOffset; in parseToRGB() local317 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()
77 for (int bitIndex = prefix.getPrefixLength(); bitIndex < 8 * mEndAddr.length; ++bitIndex) { in IpRange()78 mEndAddr[bitIndex / 8] |= (byte) (0x80 >> (bitIndex % 8)); in IpRange()
133 public static boolean isBitSet(long flags, int bitIndex) { in isBitSet() argument134 return (flags & bitAt(bitIndex)) != 0; in isBitSet()137 public static long bitAt(int bitIndex) { in bitAt() argument138 return 1L << bitIndex; in bitAt()
562 int bitIndex = 7; in parseToBnW() local568 bitIndex = 7; in parseToBnW()570 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()
93 fun bitAtExpr(bitIndex: Int) = "0x${java.lang.Long.toHexString(1L shl bitIndex)}" in bitAtExpr()
299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument329 << bitIndex; in chooseModifier()