Searched refs:BUF_BITS (Results 1 – 2 of 2) sorted by relevance
42 static const int BUF_BITS = 8 * sizeof(BitBuf); variable69 s->bit_left = BUF_BITS; in init_put_bits()78 return (s->buf_ptr - s->buf) * 8 + BUF_BITS - s->bit_left; in put_bits_count()104 return (s->buf_end - s->buf_ptr) * 8 - BUF_BITS + s->bit_left; in put_bits_left()113 if (s->bit_left < BUF_BITS) in flush_put_bits()116 while (s->bit_left < BUF_BITS) { in flush_put_bits()122 *s->buf_ptr++ = s->bit_buf >> (BUF_BITS - 8); in flush_put_bits()127 s->bit_left = BUF_BITS; in flush_put_bits()133 while (s->bit_left < BUF_BITS) { in flush_put_bits_le()139 s->bit_left = BUF_BITS; in flush_put_bits_le()[all …]
3979 …_bits_buffer_size(&s->pb, FFMIN(s->thread_context[i]->pb.buf_end - s->pb.buf, INT_MAX/8-BUF_BITS)); in encode_picture()