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

/PHP_5_6/ext/gd/libgd/
H A Dgd_png.c302 * work properly with 16-bit channels.
679 int channels = im->saveAlphaFlag ? 4 : 3; local
693 *prow_pointers = (png_bytep) safe_emalloc(width, channels, 0);
H A Dgd_jpeg.c332 int channels = 3; local
415 channels = 3;
422 channels = 4;
441 row = safe_emalloc(cinfo.output_width * channels, sizeof(JSAMPLE), 0);
442 memset(row, 0, cinfo.output_width * channels * sizeof(JSAMPLE));
/PHP_5_6/ext/standard/
H A Dimage.c68 unsigned int channels; member in struct:gfxinfo
118 result->channels = 3; /* always */
289 result->channels = 0;
504 result->channels = php_stream_getc(stream);
648 result->channels = php_read2(stream TSRMLS_CC); /* Csiz */
649 if (result->channels == 0 && php_stream_eof(stream) || result->channels > 256) {
656 for (i = 0; i < result->channels; i++) {
874 result->channels = 0;
923 result->channels
[all...]

Completed in 30 milliseconds