Lines Matching refs:bits
63 unsigned int bits; member
83 result->bits = dim[4]&0x80 ? ((((unsigned int)dim[4])&0x07) + 1) : 0; in php_handle_gif()
128 result->bits = ((unsigned int)dim[11]); in php_handle_bmp()
134 result->bits = (((unsigned int)dim[15]) << 8) + ((unsigned int)dim[14]); in php_handle_bmp()
165 long bits; in php_handle_swc() local
226 bits = php_swf_get_bits (b, 0, 5); in php_handle_swc()
227 result->width = (php_swf_get_bits (b, 5 + bits, bits) - in php_handle_swc()
228 php_swf_get_bits (b, 5, bits)) / 20; in php_handle_swc()
229 result->height = (php_swf_get_bits (b, 5 + (3 * bits), bits) - in php_handle_swc()
230 php_swf_get_bits (b, 5 + (2 * bits), bits)) / 20; in php_handle_swc()
245 long bits; in php_handle_swf() local
255 bits = php_swf_get_bits (a, 0, 5); in php_handle_swf()
256 result->width = (php_swf_get_bits (a, 5 + bits, bits) - in php_handle_swf()
257 php_swf_get_bits (a, 5, bits)) / 20; in php_handle_swf()
258 result->height = (php_swf_get_bits (a, 5 + (3 * bits), bits) - in php_handle_swf()
259 php_swf_get_bits (a, 5 + (2 * bits), bits)) / 20; in php_handle_swf()
260 result->bits = 0; in php_handle_swf()
290 result->bits = (unsigned int)dim[8]; in php_handle_png()
473 result->bits = php_stream_getc(stream); in php_handle_jpeg()
637 result->bits = highest_bit_depth; in php_handle_jpc()
842 result->bits = 0; in php_handle_tiff()
857 short width, height, bits; in php_handle_iff() local
885 bits = a[8] & 0xff; in php_handle_iff()
886 if (width > 0 && height > 0 && bits > 0 && bits < 33) { in php_handle_iff()
890 result->bits = bits; in php_handle_iff()
1076 if ((((unsigned int)dim[7]) << 8) + ((unsigned int)dim[6]) >= result->bits) in php_handle_ico()
1080 result->bits = (((unsigned int)dim[7]) << 8) + ((unsigned int)dim[6]); in php_handle_ico()
1135 result->bits = 8; /* always 1 byte */ in php_handle_webp()
1191 result->bits = features.bit_depth; in php_handle_avif()
1527 if (result->bits != 0) { in php_getimagesize_from_stream()
1528 add_assoc_long(return_value, "bits", result->bits); in php_getimagesize_from_stream()