Lines Matching refs:dist_slot
151 const uint32_t dist_slot = get_dist_slot(distance);
153 rc_bittree(&coder->rc, coder->dist_slot[dist_state],
154 DIST_SLOT_BITS, dist_slot);
156 if (dist_slot >= DIST_MODEL_START) {
157 const uint32_t footer_bits = (dist_slot >> 1) - 1;
158 const uint32_t base = (2 | (dist_slot & 1)) << footer_bits;
161 if (dist_slot < DIST_MODEL_END) {
162 // Careful here: base - dist_slot - 1 can be -1, but
165 coder->dist_special + base - dist_slot - 1,
514 bittree_reset(coder->dist_slot[i], DIST_SLOT_BITS);