Decode a signed 32 bit quantity */
| 553 | |
| 554 | /* Decode a signed 32 bit quantity */ |
| 555 | static int32 |
| 556 | read_s32(const unsigned char buf[4]) |
| 557 | { |
| 558 | return (int32)((read_u32(buf) ^ 0x80000000) - 0x80000000); |
| 559 | } |
| 560 | |
| 561 | /* Build a pixel structure, given the mask words in the second header and |
| 562 | * a packed 16 or 32 bit pixel */ |
no test coverage detected