Searched refs:bi_valid (Results 1 – 2 of 2) sorted by relevance
234 int bi_valid; member300 if (s->bi_valid == 16) { in bi_flush()303 s->bi_valid = 0; in bi_flush()304 } else if (s->bi_valid >= 8) { in bi_flush()307 s->bi_valid -= 8; in bi_flush()316 if (s->bi_valid > 8) { in bi_windup()318 } else if (s->bi_valid > 0) { in bi_windup()322 s->bi_valid = 0; in bi_windup()
193 if (s->bi_valid > (int)Buf_size - length) { in send_bits()194 s->bi_buf |= (value << s->bi_valid); in send_bits()196 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid); in send_bits()197 s->bi_valid += length - Buf_size; in send_bits()199 s->bi_buf |= value << s->bi_valid; in send_bits()200 s->bi_valid += length; in send_bits()207 if (s->bi_valid > (int)Buf_size - len) {\209 s->bi_buf |= (val << s->bi_valid);\211 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\212 s->bi_valid += len - Buf_size;\[all …]