Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DPngCrunch.cpp521 int max_gray_deviation = 0; in WritePng() local
560 max_gray_deviation = std::max(std::abs(red - green), max_gray_deviation); in WritePng()
561 max_gray_deviation = std::max(std::abs(green - blue), max_gray_deviation); in WritePng()
562 max_gray_deviation = std::max(std::abs(blue - red), max_gray_deviation); in WritePng()
569 << " maxGrayDeviation=" << max_gray_deviation in WritePng()
574 const bool convertible_to_grayscale = max_gray_deviation <= options.grayscale_tolerance; in WritePng()