Home
last modified time | relevance | path

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

/PHP-5.3/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.c205 row = (JSAMPROW) safe_emalloc(cinfo.image_width * cinfo.input_components, sizeof(JSAMPLE), 0); in gdImageJpegCtx()
206 memset(row, 0, cinfo.image_width * cinfo.input_components * sizeof(JSAMPLE)); in gdImageJpegCtx()
422 row = safe_emalloc(cinfo.output_width * channels, sizeof(JSAMPLE), 0); in gdImageCreateFromJpegCtx()
423 memset(row, 0, cinfo.output_width * channels * sizeof(JSAMPLE)); in gdImageCreateFromJpegCtx()

Completed in 10 milliseconds