Searched refs:maxGrayDeviation (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/tools/aapt/ |
D | Images.cpp | 813 int maxGrayDeviation = 0; in analyze_image() local 836 int odev = maxGrayDeviation; in analyze_image() 837 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image() 838 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image() 839 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image() 840 if (maxGrayDeviation > odev) { in analyze_image() 842 maxGrayDeviation, i, j, rr, gg, bb, aa)); in analyze_image() 900 … NOISY(printf("Max gray deviation = %d, tolerance = %d\n", maxGrayDeviation, grayscaleTolerance)); in analyze_image() 925 if (maxGrayDeviation <= grayscaleTolerance) { in analyze_image() 926 printf("%s: forcing image to gray (max deviation = %d)\n", imageName, maxGrayDeviation); in analyze_image()
|