Lines Matching refs:FAST_BITS
1934 #define FAST_BITS 9 // larger handles more cases; smaller stomps less cache
1938 stbi_uc fast[1 << FAST_BITS];
1953 stbi__int16 fast_ac[4][1 << FAST_BITS];
2032 memset(h->fast, 255, 1 << FAST_BITS);
2035 if (s <= FAST_BITS) {
2036 int c = h->code[i] << (FAST_BITS-s);
2037 int m = 1 << (FAST_BITS-s);
2051 for (i=0; i < (1 << FAST_BITS); ++i) {
2060 if (magbits && len + magbits <= FAST_BITS) {
2062 int k = ((i << len) & ((1 << FAST_BITS) - 1)) >> (FAST_BITS - magbits);
2102 // look at the top FAST_BITS and determine what symbol ID it is,
2103 // if the code is <= FAST_BITS
2104 c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1);
2122 for (k=FAST_BITS+1 ; ; ++k)
2233 c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1);
2311 c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1);