Home
last modified time | relevance | path

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

/PHP-7.0/ext/gd/libgd/
H A Dgd_topal.c63 #define JSAMPLE unsigned char macro
929 int minc0, int minc1, int minc2, JSAMPLE colorlist[])
1092 colorlist[ncolors++] = (JSAMPLE) i;
1105 int numcolors, JSAMPLE colorlist[],
1106 JSAMPLE bestcolor[])
1117 JSAMPLE *cptr; /* pointer into bestcolor[] array */
1185 *cptr = (JSAMPLE) icolor;
1223 JSAMPLE colorlist[MAXNUMCOLORS];
1354 *outptr++ = (JSAMPLE) (*cachep - 1);
1388 JSAMPLE *range_limit = cinfo->sample_range_limit;
[all …]
H A Dgd_jpeg.c209 row = (JSAMPROW) safe_emalloc(cinfo.image_width * cinfo.input_components, sizeof(JSAMPLE), 0); in gdImageJpegCtx()
210 memset(row, 0, cinfo.image_width * cinfo.input_components * sizeof(JSAMPLE)); in gdImageJpegCtx()
441 row = safe_emalloc(cinfo.output_width * channels, sizeof(JSAMPLE), 0); in gdImageCreateFromJpegCtxEx()
442 memset(row, 0, cinfo.output_width * channels * sizeof(JSAMPLE)); in gdImageCreateFromJpegCtxEx()

Completed in 15 milliseconds