Searched refs:d_index (Results 1 – 3 of 3) sorted by relevance
/external/libpng/ |
D | pngrtran.c | 283 int min_d, k, min_k, d_index; in png_set_dither() local 286 d_index = png_ptr->dither_index[i]; in png_set_dither() 287 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() 520 int d_index = index_g | ib; in png_set_dither() local 526 if (d < (int)distance[d_index]) in png_set_dither() 528 distance[d_index] = (png_byte)d; in png_set_dither() 529 png_ptr->palette_lookup[d_index] = (png_byte)i; in png_set_dither()
|
/external/chromium_org/third_party/libpng/ |
D | pngrtran.c | 283 int min_d, k, min_k, d_index; in png_set_dither() local 286 d_index = png_ptr->dither_index[i]; in png_set_dither() 287 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() 520 int d_index = index_g | ib; in png_set_dither() local 526 if (d < (int)distance[d_index]) in png_set_dither() 528 distance[d_index] = (png_byte)d; in png_set_dither() 529 png_ptr->palette_lookup[d_index] = (png_byte)i; in png_set_dither()
|
/external/qemu/distrib/libpng-1.2.19/ |
D | pngrtran.c | 254 int min_d, k, min_k, d_index; in png_set_dither() local 257 d_index = png_ptr->dither_index[i]; in png_set_dither() 258 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() 495 int d_index = index_g | ib; in png_set_dither() local 501 if (d < (int)distance[d_index]) in png_set_dither() 503 distance[d_index] = (png_byte)d; in png_set_dither() 504 png_ptr->palette_lookup[d_index] = (png_byte)i; in png_set_dither()
|