Searched refs:channels (Results 1 - 3 of 3) sorted by relevance

/PHP_5_3/ext/gd/libgd/
H A Dgd_jpeg.c313 int channels = 3; local
396 channels = 3;
403 channels = 4;
422 row = safe_emalloc(cinfo.output_width * channels, sizeof(JSAMPLE), 0);
423 memset(row, 0, cinfo.output_width * channels * sizeof(JSAMPLE));
H A Dgd_png.c301 * work properly with 16-bit channels.
677 int channels = im->saveAlphaFlag ? 4 : 3; local
691 *prow_pointers = (png_bytep) safe_emalloc(width, channels, 0);
/PHP_5_3/ext/standard/
H A Dimage.c65 unsigned int channels; member in struct:gfxinfo
115 result->channels = 3; /* allways */
285 result->channels = 0;
500 result->channels = php_stream_getc(stream);
644 result->channels = php_read2(stream TSRMLS_CC); /* Csiz */
645 if (result->channels < 0 || result->channels > 256) {
652 for (i = 0; i < result->channels; i++) {
870 result->channels = 0;
919 result->channels
[all...]

Completed in 6 milliseconds