Home
last modified time | relevance | path

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

/PHP-7.2/ext/gd/libgd/
H A Dgd_png.c125 int bit_depth, color_type, interlace_type, unit_type; in gdImageCreateFromPngCtx() local
208 if (bit_depth == 16) { in gdImageCreateFromPngCtx()
210 } else if (bit_depth < 8) { in gdImageCreateFromPngCtx()
277 if (bit_depth < 8) { in gdImageCreateFromPngCtx()
278 num_palette = 1 << bit_depth; in gdImageCreateFromPngCtx()
291 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ in gdImageCreateFromPngCtx()
481 int i, j, bit_depth = 0, interlace_type; in gdImagePngCtxEx() local
581 bit_depth = 1; in gdImagePngCtxEx()
583 bit_depth = 2; in gdImagePngCtxEx()
585 bit_depth = 4; in gdImagePngCtxEx()
[all …]
/PHP-7.2/ext/standard/
H A Dimage.c607 int highest_bit_depth, bit_depth; in php_handle_jpc() local
657 bit_depth = php_stream_getc(stream); /* Ssiz[i] */ in php_handle_jpc()
658 bit_depth++; in php_handle_jpc()
659 if (bit_depth > highest_bit_depth) { in php_handle_jpc()
660 highest_bit_depth = bit_depth; in php_handle_jpc()

Completed in 16 milliseconds