Lines Matching defs:count
54 /* repeat previous bit length 3-6 times (2 bits of repeat count) */
57 /* repeat a zero length 3-10 times (3 bits of repeat count) */
60 /* repeat a zero length 11-138 times (7 bits of repeat count) */
736 int count = 0; /* repeat count of the current code */
737 int max_count = 7; /* max repeat count */
738 int min_count = 4; /* min repeat count */
745 if (++count < max_count && curlen == nextlen) {
747 } else if (count < min_count) {
748 s->bl_tree[curlen].Freq += count;
752 } else if (count <= 10) {
757 count = 0; prevlen = curlen;
778 int count = 0; /* repeat count of the current code */
779 int max_count = 7; /* max repeat count */
780 int min_count = 4; /* min repeat count */
787 if (++count < max_count && curlen == nextlen) {
789 } else if (count < min_count) {
790 do { send_code(s, curlen, s->bl_tree); } while (--count != 0);
794 send_code(s, curlen, s->bl_tree); count--;
796 Assert(count >= 3 && count <= 6, " 3_6?");
797 send_code(s, REP_3_6, s->bl_tree); send_bits(s, count - 3, 2);
799 } else if (count <= 10) {
800 send_code(s, REPZ_3_10, s->bl_tree); send_bits(s, count - 3, 3);
803 send_code(s, REPZ_11_138, s->bl_tree); send_bits(s, count - 11, 7);
805 count = 0; prevlen = curlen;