Searched refs:bitIndex (Results 1 – 6 of 6) 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 …]
248 int bitIndex = 7; in parseToBnW() local254 bitIndex = 7; in parseToBnW()256 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()307 int bitIndex = bitsStartOffset; in parseToRGB() local313 if (bitIndex < 0) { in parseToRGB()315 bitIndex = bitsOverlaps ? (bitsStartOffset) : (bitIndex * -1); in parseToRGB()317 int clutEntry = ((currentByte >> bitIndex) & mask); in parseToRGB()321 bitIndex -= bitsPerImg; in parseToRGB()
130 public static boolean isBitSet(long flags, int bitIndex) { in isBitSet() argument131 return (flags & bitAt(bitIndex)) != 0; in isBitSet()134 public static long bitAt(int bitIndex) { in bitAt() argument135 return 1L << bitIndex; in bitAt()
440 int bitIndex = 7; in parseToBnW() local446 bitIndex = 7; in parseToBnW()448 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()
299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument329 << bitIndex; in chooseModifier()
1432 for (int bitIndex = 0; mask > 0; mask >>>= 1, bitIndex++) { in intToBitSet()1433 if ((mask & 1) != 0) bitSet.set(bitIndex); in intToBitSet()