Home
last modified time | relevance | path

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

/external/libpng/
Dpngrtran.c287 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_dither()
292 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_dither()
364 d = PNG_COLOR_DIST(palette[i], palette[j]); in png_set_dither()
Dpng.h3088 #define PNG_COLOR_DIST(c1, c2) (abs((int)((c1).red) - (int)((c2).red)) + \ macro
/external/qemu/distrib/libpng-1.2.19/
Dpngrtran.c258 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_dither()
263 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_dither()
338 d = PNG_COLOR_DIST(palette[i], palette[j]); in png_set_dither()
Dpng.h2804 #define PNG_COLOR_DIST(c1, c2) (abs((int)((c1).red) - (int)((c2).red)) + \ macro