Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp532 int max_gray_deviation = 0; in WritePng() local
571 max_gray_deviation = std::max(std::abs(red - green), max_gray_deviation); in WritePng()
572 max_gray_deviation = std::max(std::abs(green - blue), max_gray_deviation); in WritePng()
573 max_gray_deviation = std::max(std::abs(blue - red), max_gray_deviation); in WritePng()
581 << " maxGrayDeviation=" << max_gray_deviation in WritePng()
586 const bool convertible_to_grayscale = max_gray_deviation <= options.grayscale_tolerance; in WritePng()