Home
last modified time | relevance | path

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

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngrtran.c537 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize()
542 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize()
614 d = PNG_COLOR_DIST(palette[i], palette[j]); in png_set_quantize()
Dpngpriv.h597 #define PNG_COLOR_DIST(c1, c2) (abs((int)((c1).red) - (int)((c2).red)) + \ macro
/external/libpng/
Dpngrtran.c538 min_d = PNG_COLOR_DIST(palette[d_index], palette[0]); in png_set_quantize()
543 d = PNG_COLOR_DIST(palette[d_index], palette[k]); in png_set_quantize()
615 d = PNG_COLOR_DIST(palette[i], palette[j]); in png_set_quantize()
Dpngpriv.h644 #define PNG_COLOR_DIST(c1, c2) (abs((int)((c1).red) - (int)((c2).red)) + \ macro