Searched refs:bitIndex (Results 1 – 7 of 7) sorted by relevance
115 uint32 bitIndex; in getNbits() local141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getNbits()144 returnValue <<= bitIndex; in getNbits()163 uint32 bitIndex; in getUpTo9bits() local178 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo9bits()182 returnValue = (returnValue << (bitIndex)); in getUpTo9bits()199 uint32 bitIndex; in getUpTo17bits() local217 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo17bits()221 returnValue = 0xFFFFFF & (returnValue << (bitIndex)); in getUpTo17bits()237 uint32 bitIndex; in get1bit() local[all …]
251 int bitIndex = 7; in parseToBnW() local257 bitIndex = 7; in parseToBnW()259 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()310 int bitIndex = bitsStartOffset; in parseToRGB() local316 if (bitIndex < 0) { in parseToRGB()318 bitIndex = bitsOverlaps ? (bitsStartOffset) : (bitIndex * -1); in parseToRGB()320 int clutEntry = ((currentByte >> bitIndex) & mask); in parseToRGB()324 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()
524 int bitIndex = 7; in parseToBnW() local530 bitIndex = 7; in parseToBnW()532 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()
299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument329 << bitIndex; in chooseModifier()
2404 for (int bitIndex = 0; mask > 0; mask >>>= 1, bitIndex++) { in intToBitSet()2405 if ((mask & 1) != 0) bitSet.set(bitIndex); in intToBitSet()