Home
last modified time | relevance | path

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

/PHP-8.0/ext/gd/libgd/
H A Dgd_png.c130 int bit_depth, color_type, interlace_type, unit_type; in gdImageCreateFromPngCtx() local
213 if (bit_depth == 16) { in gdImageCreateFromPngCtx()
215 } else if (bit_depth < 8) { in gdImageCreateFromPngCtx()
282 if (bit_depth < 8) { in gdImageCreateFromPngCtx()
283 num_palette = 1 << bit_depth; in gdImageCreateFromPngCtx()
296 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ in gdImageCreateFromPngCtx()
491 int i, j, bit_depth = 0, interlace_type; in gdImagePngCtxEx() local
591 bit_depth = 1; in gdImagePngCtxEx()
593 bit_depth = 2; in gdImagePngCtxEx()
595 bit_depth = 4; in gdImagePngCtxEx()
[all …]
/PHP-8.0/ext/standard/
H A Dimage.c593 int highest_bit_depth, bit_depth; in php_handle_jpc() local
643 bit_depth = php_stream_getc(stream); /* Ssiz[i] */ in php_handle_jpc()
644 bit_depth++; in php_handle_jpc()
645 if (bit_depth > highest_bit_depth) { in php_handle_jpc()
646 highest_bit_depth = bit_depth; in php_handle_jpc()

Completed in 10 milliseconds