Searched refs:bit_left (Results 1 – 4 of 4) sorted by relevance
46 int bit_left; member69 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()114 s->bit_buf <<= s->bit_left; in flush_put_bits()116 while (s->bit_left < BUF_BITS) { in flush_put_bits()125 s->bit_left += 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()[all …]
257 guint32 bit_offset, bit_left; in gst_bit_writer_align_bytes_unchecked() local264 bit_left = 8 - bit_offset; in gst_bit_writer_align_bytes_unchecked()266 value = _gst_bit_writer_bit_filling_mask[bit_left]; in gst_bit_writer_align_bytes_unchecked()267 gst_bit_writer_put_bits_uint8_unchecked (bitwriter, value, bit_left); in gst_bit_writer_align_bytes_unchecked()
153 int bit_left = 32 - bit_offset; in bitstream_end() local156 bs->buffer[pos] = va_swap32((bs->buffer[pos] << bit_left)); in bitstream_end()165 int bit_left = 32 - bit_offset; in bitstream_put_ui() local172 if (bit_left > size_in_bits) { in bitstream_put_ui()177 size_in_bits -= bit_left; in bitstream_put_ui()179 (bs->buffer[pos] << bit_left) | (val >> size_in_bits); in bitstream_put_ui()224 int bit_left = 8 - bit_offset; in bitstream_byte_aligning() local231 new_val = (1 << bit_left) - 1; in bitstream_byte_aligning()235 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning()
136 c->pb.bit_left++; //avoids firstBitFlag in init_cabac_encoder()