MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / stbi__zreceive

Function stbi__zreceive

include/stb/stb_image.h:4214–4222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4212}
4213
4214stbi_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
4224static int stbi__zhuffman_decode_slowpath(stbi__zbuf *a, stbi__zhuffman *z)
4225{

Callers 4

stbi__parse_zlibFunction · 0.85

Calls 1

stbi__fill_bitsFunction · 0.85

Tested by

no test coverage detected