Searched refs:pixelIndex (Results 1 – 2 of 2) sorted by relevance
249 int pixelIndex = 0; in parseToBnW() local252 while (pixelIndex < numOfPixels) { in parseToBnW()254 if (pixelIndex % 8 == 0) { in parseToBnW()258 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()261 if (pixelIndex != numOfPixels) { in parseToBnW()307 int pixelIndex = 0; in parseToRGB() local313 while (pixelIndex < numOfPixels) { in parseToRGB()321 pixels[pixelIndex++] = Color.rgb(clut[clutIndex], in parseToRGB()
505 int pixelIndex = 0; in parseToBnW() local508 while (pixelIndex < numOfPixels) { in parseToBnW()510 if (pixelIndex % 8 == 0) { in parseToBnW()514 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()517 if (pixelIndex != numOfPixels) { in parseToBnW()