Searched refs:JSAMPLE (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/gd/libgd/ |
H A D | gd_topal.c | 49 #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 D | gd_jpeg.c | 223 row = (JSAMPROW) safe_emalloc(cinfo.image_width * cinfo.input_components, sizeof(JSAMPLE), 0); in _gdImageJpegCtx() 224 memset(row, 0, cinfo.image_width * cinfo.input_components * sizeof(JSAMPLE)); in _gdImageJpegCtx() 467 row = safe_emalloc(cinfo.output_width * channels, sizeof(JSAMPLE), 0); in gdImageCreateFromJpegCtxEx() 468 memset(row, 0, cinfo.output_width * channels * sizeof(JSAMPLE)); in gdImageCreateFromJpegCtxEx()
|
Completed in 13 milliseconds