Home
last modified time | relevance | path

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

/PHP-5.5/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-5.5/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 11 milliseconds