Searched refs:maxGrayDeviation (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 258 int maxGrayDeviation = 0; in analyze_image() local 283 int odev = maxGrayDeviation; in analyze_image() 284 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image() 285 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image() 286 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image() 287 if (maxGrayDeviation > odev) { in analyze_image() 290 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image() 356 printf("Max gray deviation = %d, tolerance = %d\n", maxGrayDeviation, in analyze_image() 385 if (maxGrayDeviation <= grayscaleTolerance) { in analyze_image() 387 << maxGrayDeviation << ")"); in analyze_image()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 886 int maxGrayDeviation = 0; in analyze_image() local 939 int odev = maxGrayDeviation; in analyze_image() 940 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image() 941 maxGrayDeviation = MAX(ABS(gg - bb), maxGrayDeviation); in analyze_image() 942 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image() 943 if (maxGrayDeviation > odev) { in analyze_image() 946 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image() 1044 printf("Max gray deviation = %d, tolerance = %d\n", maxGrayDeviation, grayscaleTolerance); in analyze_image() 1070 if (maxGrayDeviation <= grayscaleTolerance) { in analyze_image() 1071 printf("%s: forcing image to gray (max deviation = %d)\n", imageName, maxGrayDeviation); in analyze_image()
|