Home
last modified time | relevance | path

Searched refs:maxGrayDeviation (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tools/aapt/
DImages.cpp907 int maxGrayDeviation = 0; in analyze_image() local
930 int odev = maxGrayDeviation; in analyze_image()
931 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
932 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image()
933 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image()
934 if (maxGrayDeviation > odev) { in analyze_image()
936 maxGrayDeviation, i, j, rr, gg, bb, aa)); in analyze_image()
994 … NOISY(printf("Max gray deviation = %d, tolerance = %d\n", maxGrayDeviation, grayscaleTolerance)); in analyze_image()
1019 if (maxGrayDeviation <= grayscaleTolerance) { in analyze_image()
1020 printf("%s: forcing image to gray (max deviation = %d)\n", imageName, maxGrayDeviation); in analyze_image()