Searched refs:bit_depth (Results 1 - 2 of 2) sorted by relevance

/PHP_5_6/ext/gd/libgd/
H A Dgd_png.c124 int bit_depth, color_type, interlace_type; local
193 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL);
207 if (bit_depth == 16) {
209 } else if (bit_depth < 8) {
262 if (bit_depth < 8) {
263 num_palette = 1 << bit_depth;
276 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */
306 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */
466 int i, j, bit_depth = 0, interlace_type; local
560 bit_depth
[all...]
/PHP_5_6/ext/standard/
H A Dimage.c607 int highest_bit_depth, bit_depth; local
657 bit_depth = php_stream_getc(stream); /* Ssiz[i] */
658 bit_depth++;
659 if (bit_depth > highest_bit_depth) {
660 highest_bit_depth = bit_depth;

Completed in 6 milliseconds