Searched refs:dist_slot (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder_optimum_normal.c | 121 const uint32_t dist_slot = get_dist_slot_2(dist); local 122 price = coder->dist_slot_prices[dist_state][dist_slot] 140 // Price to encode the dist_slot. 141 for (uint32_t dist_slot = 0; 142 dist_slot < coder->dist_table_size; ++dist_slot) 143 dist_slot_prices[dist_slot] = rc_bittree_price( 144 coder->dist_slot[dist_state], 145 DIST_SLOT_BITS, dist_slot); 150 for (uint32_t dist_slot 168 const uint32_t dist_slot = get_dist_slot(i); local [all...] |
H A D | lzma_encoder.c | 151 const uint32_t dist_slot = get_dist_slot(distance); local 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[ [all...] |
H A D | lzma_encoder_private.h | 114 probability dist_slot[DIST_STATES][DIST_SLOTS]; member in struct:lzma_lzma1_encoder_s
|
H A D | lzma_decoder.c | 202 probability dist_slot[DIST_STATES][DIST_SLOTS]; member in struct:__anon41 517 probs = coder->dist_slot[get_dist_state(len)]; 901 bittree_reset(coder->dist_slot[i], DIST_SLOT_BITS);
|
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_lzma2.c | 190 uint16_t dist_slot[DIST_STATES][DIST_SLOTS]; member in struct:lzma_dec 649 uint32_t dist_slot; local 660 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; 661 dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS; 663 if (dist_slot < DIST_MODEL_START) { 664 s->lzma.rep0 = dist_slot; 666 limit = (dist_slot >> 1) - 1; 667 s->lzma.rep0 = 2 + (dist_slot & 1); 669 if (dist_slot < DIST_MODEL_END) { 672 - dist_slot [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_rar5.c | 2935 uint16_t dist_slot; local 2949 &dist_slot)) 2958 if(dist_slot < 4) { 2960 dist += dist_slot; 2962 dbits = dist_slot / 2 - 1; 2969 (dist_slot & 1)) << dbits;
|
Completed in 100 milliseconds