| 4212 | } |
| 4213 | |
| 4214 | stbi_inline static unsigned int stbi__zreceive(stbi__zbuf *z, int n) |
| 4215 | { |
| 4216 | unsigned int k; |
| 4217 | if (z->num_bits < n) stbi__fill_bits(z); |
| 4218 | k = z->code_buffer & ((1 << n) - 1); |
| 4219 | z->code_buffer >>= n; |
| 4220 | z->num_bits -= n; |
| 4221 | return k; |
| 4222 | } |
| 4223 | |
| 4224 | static int stbi__zhuffman_decode_slowpath(stbi__zbuf *a, stbi__zhuffman *z) |
| 4225 | { |
no test coverage detected