Searched refs:PNG_COLOR_DIST (Results 1 – 4 of 4) sorted by relevance
543 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize()548 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize()622 d = PNG_COLOR_DIST(palette[i], palette[j]); in png_set_quantize()
713 #define PNG_COLOR_DIST(c1, c2) (abs((int)((c1).red) - (int)((c2).red)) + \ macro
542 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize()547 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize()619 d = PNG_COLOR_DIST(palette[i], palette[j]); in png_set_quantize()
658 #define PNG_COLOR_DIST(c1, c2) (abs((int)((c1).red) - (int)((c2).red)) + \ macro