oim 130 ext/gd/libgd/gd_topal.c #define input_buf (oim->tpixels) oim 344 ext/gd/libgd/gd_topal.c prescan_quantize (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize) oim 360 ext/gd/libgd/gd_topal.c int width = oim->sx; oim 361 ext/gd/libgd/gd_topal.c int num_rows = oim->sy; oim 379 ext/gd/libgd/gd_topal.c if ((oim->transparent >= 0) && (*ptr == oim->transparent)) oim 467 ext/gd/libgd/gd_topal.c update_box (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, boxptr boxp) oim 603 ext/gd/libgd/gd_topal.c median_cut (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, oim 699 ext/gd/libgd/gd_topal.c update_box (oim, nim, cquantize, b1); oim 700 ext/gd/libgd/gd_topal.c update_box (oim, nim, cquantize, b2); oim 710 ext/gd/libgd/gd_topal.c compute_color (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, oim 784 ext/gd/libgd/gd_topal.c select_colors (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, int desired_colors) oim 819 ext/gd/libgd/gd_topal.c update_box (oim, nim, cquantize, &boxlist[0]); oim 821 ext/gd/libgd/gd_topal.c numboxes = median_cut (oim, nim, cquantize, boxlist, numboxes, desired_colors); oim 824 ext/gd/libgd/gd_topal.c compute_color (oim, nim, cquantize, &boxlist[i], i); oim 831 ext/gd/libgd/gd_topal.c if (oim->transparent >= 0) oim 834 ext/gd/libgd/gd_topal.c nim->red[nim->colorsTotal] = gdTrueColorGetRed (oim->transparent); oim 835 ext/gd/libgd/gd_topal.c nim->green[nim->colorsTotal] = gdTrueColorGetGreen (oim->transparent); oim 836 ext/gd/libgd/gd_topal.c nim->blue[nim->colorsTotal] = gdTrueColorGetBlue (oim->transparent); oim 927 ext/gd/libgd/gd_topal.c gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, oim 1102 ext/gd/libgd/gd_topal.c gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, oim 1207 ext/gd/libgd/gd_topal.c gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, oim 1252 ext/gd/libgd/gd_topal.c find_nearby_colors (oim, nim, cquantize, minc0, minc1, minc2, colorlist); oim 1253 ext/gd/libgd/gd_topal.c find_best_colors (oim, nim, cquantize, minc0, minc1, minc2, numcolors, oim 1286 ext/gd/libgd/gd_topal.c pass2_no_dither (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize) oim 1290 ext/gd/libgd/gd_topal.c int width = oim->sx; oim 1291 ext/gd/libgd/gd_topal.c int num_rows = oim->sy; oim 1332 ext/gd/libgd/gd_topal.c if ((oim->transparent >= 0) && (oim->transparent == *(inptr - 1))) oim 1350 ext/gd/libgd/gd_topal.c fill_inverse_cmap (oim, nim, cquantize, c0, c1, c2); oim 1365 ext/gd/libgd/gd_topal.c pass2_fs_dither (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize) oim 1395 ext/gd/libgd/gd_topal.c int width = oim->sx; oim 1396 ext/gd/libgd/gd_topal.c int num_rows = oim->sy; oim 1442 ext/gd/libgd/gd_topal.c if ((oim->transparent >= 0) && (*inptr == oim->transparent)) oim 1501 ext/gd/libgd/gd_topal.c fill_inverse_cmap (oim, nim, cquantize, cur0 >> C0_SHIFT, oim 1591 ext/gd/libgd/gd_topal.c init_error_limit (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize) oim 1757 ext/gd/libgd/gd_topal.c static void gdImageTrueColorToPaletteBody (gdImagePtr oim, int dither, int colorsWanted, gdImagePtr *cimP); oim 1779 ext/gd/libgd/gd_topal.c static void gdImageTrueColorToPaletteBody (gdImagePtr oim, int dither, int colorsWanted, gdImagePtr *cimP) oim 1791 ext/gd/libgd/gd_topal.c nim = gdImageCreate(oim->sx, oim->sy); oim 1797 ext/gd/libgd/gd_topal.c nim = oim; oim 1799 ext/gd/libgd/gd_topal.c if (!oim->trueColor) oim 1803 ext/gd/libgd/gd_topal.c gdImageCopy(nim, oim, 0, 0, 0, 0, oim->sx, oim->sy); oim 1811 ext/gd/libgd/gd_topal.c if (oim->transparent >= 0) oim 1820 ext/gd/libgd/gd_topal.c nim->pixels = gdCalloc (sizeof (unsigned char *), oim->sy); oim 1828 ext/gd/libgd/gd_topal.c nim->pixels[i] = gdCalloc (sizeof (unsigned char *), oim->sx); oim 1927 ext/gd/libgd/gd_topal.c init_error_limit (oim, nim, cquantize); oim 1940 ext/gd/libgd/gd_topal.c prescan_quantize (oim, nim, cquantize); oim 1942 ext/gd/libgd/gd_topal.c select_colors (oim, nim, cquantize, colorsWanted); oim 1946 ext/gd/libgd/gd_topal.c pass2_fs_dither (oim, nim, cquantize); oim 1950 ext/gd/libgd/gd_topal.c pass2_no_dither (oim, nim, cquantize); oim 2000 ext/gd/libgd/gd_topal.c if (oim->transparent >= 0) oim 2008 ext/gd/libgd/gd_topal.c oim->trueColor = 0; oim 2010 ext/gd/libgd/gd_topal.c for (i = 0; i < oim->sy; i++) oim 2012 ext/gd/libgd/gd_topal.c gdFree (oim->tpixels[i]); oim 2014 ext/gd/libgd/gd_topal.c gdFree (oim->tpixels); oim 2015 ext/gd/libgd/gd_topal.c oim->tpixels = 0; oim 2020 ext/gd/libgd/gd_topal.c if (oim->trueColor)