Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libpng/
Dpngrtran.c554 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize()
559 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize()
633 d = PNG_COLOR_DIST(palette[i], palette[j]); in png_set_quantize()
Dpngpriv.h722 #define PNG_COLOR_DIST(c1, c2) (abs((int)((c1).red) - (int)((c2).red)) + \ macro