• Home
  • Raw
  • Download

Lines Matching refs:code_buffer

1959    stbi__uint32   code_buffer; // jpeg entropy-coded buffer  member
2065 j->code_buffer |= b << (24 - j->code_bits); in stbi__grow_buffer_unsafe()
2083 c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); in stbi__jpeg_huff_decode()
2089 j->code_buffer <<= s; in stbi__jpeg_huff_decode()
2100 temp = j->code_buffer >> 16; in stbi__jpeg_huff_decode()
2114 c = ((j->code_buffer >> (32 - k)) & stbi__bmask[k]) + h->delta[k]; in stbi__jpeg_huff_decode()
2115 STBI_ASSERT((((j->code_buffer) >> (32 - h->size[c])) & stbi__bmask[h->size[c]]) == h->code[c]); in stbi__jpeg_huff_decode()
2119 j->code_buffer <<= k; in stbi__jpeg_huff_decode()
2134 …sgn = j->code_buffer >> 31; // sign bit always in MSB; 0 if MSB clear (positive), 1 if MSB set (ne… in stbi__extend_receive()
2135 k = stbi_lrot(j->code_buffer, n); in stbi__extend_receive()
2136 j->code_buffer = k & ~stbi__bmask[n]; in stbi__extend_receive()
2147 k = stbi_lrot(j->code_buffer, n); in stbi__jpeg_get_bits()
2148 j->code_buffer = k & ~stbi__bmask[n]; in stbi__jpeg_get_bits()
2158 k = j->code_buffer; in stbi__jpeg_get_bit()
2159 j->code_buffer <<= 1; in stbi__jpeg_get_bit()
2205 c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); in stbi__jpeg_decode_block()
2210 j->code_buffer <<= s; in stbi__jpeg_decode_block()
2280 c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); in stbi__jpeg_decode_block_prog_ac()
2285 j->code_buffer <<= s; in stbi__jpeg_decode_block_prog_ac()
2905 j->code_buffer = 0; in stbi__jpeg_reset()
4117 stbi__uint32 code_buffer; member
4140 if (z->code_buffer >= (1U << z->num_bits)) { in stbi__fill_bits()
4144 z->code_buffer |= (unsigned int) stbi__zget8(z) << z->num_bits; in stbi__fill_bits()
4153 k = z->code_buffer & ((1 << n) - 1); in stbi__zreceive()
4154 z->code_buffer >>= n; in stbi__zreceive()
4164 k = stbi__bit_reverse(a->code_buffer, 16); in stbi__zhuffman_decode_slowpath()
4173 a->code_buffer >>= s; in stbi__zhuffman_decode_slowpath()
4187 b = z->fast[a->code_buffer & STBI__ZFAST_MASK]; in stbi__zhuffman_decode()
4190 a->code_buffer >>= s; in stbi__zhuffman_decode()
4334 header[k++] = (stbi_uc) (a->code_buffer & 255); // suppress MSVC run-time check in stbi__parse_uncompressed_block()
4335 a->code_buffer >>= 8; in stbi__parse_uncompressed_block()
4403 a->code_buffer = 0; in stbi__parse_zlib()