Home
last modified time | relevance | path

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

/PHP-7.4/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()
486 int i, j, bit_depth = 0, interlace_type; in gdImagePngCtxEx() local
586 bit_depth = 1; in gdImagePngCtxEx()
588 bit_depth = 2; in gdImagePngCtxEx()
590 bit_depth = 4; in gdImagePngCtxEx()
[all …]
/PHP-7.4/ext/standard/
H A Dimage.c605 int highest_bit_depth, bit_depth; in php_handle_jpc() local
655 bit_depth = php_stream_getc(stream); /* Ssiz[i] */ in php_handle_jpc()
656 bit_depth++; in php_handle_jpc()
657 if (bit_depth > highest_bit_depth) { in php_handle_jpc()
658 highest_bit_depth = bit_depth; in php_handle_jpc()

Completed in 8 milliseconds