Home
last modified time | relevance | path

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

/PHP-7.0/ext/gd/libgd/
H A Dgd_png.c124 int bit_depth, color_type, interlace_type; in gdImageCreateFromPngCtx() local
207 if (bit_depth == 16) { in gdImageCreateFromPngCtx()
209 } else if (bit_depth < 8) { in gdImageCreateFromPngCtx()
262 if (bit_depth < 8) { in gdImageCreateFromPngCtx()
263 num_palette = 1 << bit_depth; in gdImageCreateFromPngCtx()
276 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ in gdImageCreateFromPngCtx()
466 int i, j, bit_depth = 0, interlace_type; in gdImagePngCtxEx() local
560 bit_depth = 1; in gdImagePngCtxEx()
562 bit_depth = 2; in gdImagePngCtxEx()
564 bit_depth = 4; in gdImagePngCtxEx()
[all …]
/PHP-7.0/ext/standard/
H A Dimage.c600 int highest_bit_depth, bit_depth; in php_handle_jpc() local
650 bit_depth = php_stream_getc(stream); /* Ssiz[i] */ in php_handle_jpc()
651 bit_depth++; in php_handle_jpc()
652 if (bit_depth > highest_bit_depth) { in php_handle_jpc()
653 highest_bit_depth = bit_depth; in php_handle_jpc()

Completed in 9 milliseconds