Home
last modified time | relevance | path

Searched refs:JSAMPLE (Results 1 – 2 of 2) sorted by relevance

/PHP-7.2/ext/gd/libgd/
H A Dgd_topal.c49 #define JSAMPLE unsigned char macro
826 int minc0, int minc1, int minc2, JSAMPLE colorlist[]) in find_nearby_colors()
973 colorlist[ncolors++] = (JSAMPLE) i; in find_nearby_colors()
982 int numcolors, JSAMPLE colorlist[], in find_best_colors()
983 JSAMPLE bestcolor[]) in find_best_colors()
994 JSAMPLE *cptr; /* pointer into bestcolor[] array */ in find_best_colors()
1054 *cptr = (JSAMPLE) icolor; in find_best_colors()
1082 register JSAMPLE *cptr; /* pointer into bestcolor[] array */ in fill_inverse_cmap()
1085 JSAMPLE colorlist[MAXNUMCOLORS]; in fill_inverse_cmap()
1088 JSAMPLE bestcolor[BOX_C0_ELEMS * BOX_C1_ELEMS * BOX_C2_ELEMS]; in fill_inverse_cmap()
[all …]
H A Dgd_jpeg.c220 row = (JSAMPROW) safe_emalloc(cinfo.image_width * cinfo.input_components, sizeof(JSAMPLE), 0); in gdImageJpegCtx()
221 memset(row, 0, cinfo.image_width * cinfo.input_components * sizeof(JSAMPLE)); in gdImageJpegCtx()
464 row = safe_emalloc(cinfo.output_width * channels, sizeof(JSAMPLE), 0); in gdImageCreateFromJpegCtxEx()
465 memset(row, 0, cinfo.output_width * channels * sizeof(JSAMPLE)); in gdImageCreateFromJpegCtxEx()

Completed in 16 milliseconds