• Home
  • Raw
  • Download

Lines Matching refs:Len

156 #  define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len)
162 send_bits(s, tree[c].Code, tree[c].Len); }
274 while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init()
275 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; in tr_static_init()
276 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; in tr_static_init()
277 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init()
286 static_dtree[n].Len = 5; in tr_static_init()
430 tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */ in gen_bitlen()
434 bits = tree[tree[n].Dad].Len + 1; in gen_bitlen()
436 tree[n].Len = (ush)bits; in gen_bitlen()
446 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits); in gen_bitlen()
476 if (tree[m].Len != (unsigned) bits) { in gen_bitlen()
477 Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits)); in gen_bitlen()
478 s->opt_len += ((long)bits - (long)tree[m].Len) in gen_bitlen()
480 tree[m].Len = (ush)bits; in gen_bitlen()
520 int len = tree[n].Len; in gen_codes()
561 tree[n].Len = 0; in build_tree()
574 s->opt_len--; if (stree) s->static_len -= stree[node].Len; in build_tree()
635 int nextlen = tree[0].Len; /* length of next code */ in scan_tree()
641 tree[max_code+1].Len = (ush)0xffff; /* guard */ in scan_tree()
644 curlen = nextlen; nextlen = tree[n+1].Len; in scan_tree()
681 int nextlen = tree[0].Len; /* length of next code */ in send_tree()
690 curlen = nextlen; nextlen = tree[n+1].Len; in send_tree()
745 if (s->bl_tree[bl_order[max_blindex]].Len != 0) break; in build_bl_tree()
778 send_bits(s, s->bl_tree[bl_order[rank]].Len, 3); in send_all_trees()
1063 s->last_eob_len = ltree[END_BLOCK].Len;