Searched refs:pixelIndex (Results 1 – 2 of 2) sorted by relevance
247 int pixelIndex = 0; in parseToBnW() local250 while (pixelIndex < numOfPixels) { in parseToBnW()252 if (pixelIndex % 8 == 0) { in parseToBnW()256 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()259 if (pixelIndex != numOfPixels) { in parseToBnW()305 int pixelIndex = 0; in parseToRGB() local311 while (pixelIndex < numOfPixels) { in parseToRGB()319 pixels[pixelIndex++] = Color.rgb(clut[clutIndex], in parseToRGB()
479 int pixelIndex = 0; in parseToBnW() local482 while (pixelIndex < numOfPixels) { in parseToBnW()484 if (pixelIndex % 8 == 0) { in parseToBnW()488 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()491 if (pixelIndex != numOfPixels) { in parseToBnW()