Searched refs:validColorCount (Results 1 – 1 of 1) sorted by relevance
61 var validColorCount = 0 in fillAverageColorForUnmappedPixel() variable69 validColorCount = validColorCount + 1 in fillAverageColorForUnmappedPixel()79 if (validColorCount > (FILTER_SIZE * 2 + 1) * (FILTER_SIZE * 2 + 1) / 2) { in fillAverageColorForUnmappedPixel()80 val red = (validRedSum / validColorCount + 0.5).toInt() in fillAverageColorForUnmappedPixel()81 val green = (validGreenSum / validColorCount + 0.5).toInt() in fillAverageColorForUnmappedPixel()82 val blue = (validBlueSum / validColorCount + 0.5).toInt() in fillAverageColorForUnmappedPixel()