Searched refs:pixelIndex (Results 1 – 2 of 2) sorted by relevance
251 int pixelIndex = 0; in parseToBnW() local254 while (pixelIndex < numOfPixels) { in parseToBnW()256 if (pixelIndex % 8 == 0) { in parseToBnW()260 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()263 if (pixelIndex != numOfPixels) { in parseToBnW()309 int pixelIndex = 0; in parseToRGB() local315 while (pixelIndex < numOfPixels) { in parseToRGB()323 pixels[pixelIndex++] = Color.rgb(clut[clutIndex], in parseToRGB()
561 int pixelIndex = 0; in parseToBnW() local564 while (pixelIndex < numOfPixels) { in parseToBnW()566 if (pixelIndex % 8 == 0) { in parseToBnW()570 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW()573 if (pixelIndex != numOfPixels) { in parseToBnW()