Lines Matching refs:bits
62 unsigned int bits; member
114 result->bits = dim[4]&0x80 ? ((((unsigned int)dim[4])&0x07) + 1) : 0; in php_handle_gif()
159 result->bits = ((unsigned int)dim[11]); in php_handle_bmp()
165 result->bits = (((unsigned int)dim[15]) << 8) + ((unsigned int)dim[14]); in php_handle_bmp()
196 long bits; in php_handle_swc() local
257 bits = php_swf_get_bits (b, 0, 5); in php_handle_swc()
258 result->width = (php_swf_get_bits (b, 5 + bits, bits) - in php_handle_swc()
259 php_swf_get_bits (b, 5, bits)) / 20; in php_handle_swc()
260 result->height = (php_swf_get_bits (b, 5 + (3 * bits), bits) - in php_handle_swc()
261 php_swf_get_bits (b, 5 + (2 * bits), bits)) / 20; in php_handle_swc()
276 long bits; in php_handle_swf() local
286 bits = php_swf_get_bits (a, 0, 5); in php_handle_swf()
287 result->width = (php_swf_get_bits (a, 5 + bits, bits) - in php_handle_swf()
288 php_swf_get_bits (a, 5, bits)) / 20; in php_handle_swf()
289 result->height = (php_swf_get_bits (a, 5 + (3 * bits), bits) - in php_handle_swf()
290 php_swf_get_bits (a, 5 + (2 * bits), bits)) / 20; in php_handle_swf()
291 result->bits = 0; in php_handle_swf()
321 result->bits = (unsigned int)dim[8]; in php_handle_png()
504 result->bits = php_stream_getc(stream); in php_handle_jpeg()
668 result->bits = highest_bit_depth; in php_handle_jpc()
873 result->bits = 0; in php_handle_tiff()
888 short width, height, bits; in php_handle_iff() local
916 bits = a[8] & 0xff; in php_handle_iff()
917 if (width > 0 && height > 0 && bits > 0 && bits < 33) { in php_handle_iff()
921 result->bits = bits; in php_handle_iff()
1107 if ((((unsigned int)dim[7]) << 8) + ((unsigned int)dim[6]) >= result->bits) in php_handle_ico()
1111 result->bits = (((unsigned int)dim[7]) << 8) + ((unsigned int)dim[6]); in php_handle_ico()
1166 result->bits = 8; /* always 1 byte */ in php_handle_webp()
1577 if (result->bits != 0) { in php_getimagesize_from_stream()
1578 add_assoc_long(return_value, "bits", result->bits); in php_getimagesize_from_stream()