Home
last modified time | relevance | path

Searched refs:bit_left (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dput_bits.h37 int bit_left; member
60 s->bit_left = 32; in init_put_bits()
69 return (s->buf_ptr - s->buf) * 8 + 32 - s->bit_left; in put_bits_count()
95 return (s->buf_end - s->buf_ptr) * 8 - 32 + s->bit_left; in put_bits_left()
104 if (s->bit_left < 32) in flush_put_bits()
105 s->bit_buf <<= s->bit_left; in flush_put_bits()
107 while (s->bit_left < 32) { in flush_put_bits()
116 s->bit_left += 8; in flush_put_bits()
118 s->bit_left = 32; in flush_put_bits()
124 while (s->bit_left < 32) { in flush_put_bits_le()
[all …]
Dcabac.c169 c->pb.bit_left++; //avoids firstBitFlag in ff_init_cabac_encoder()
Dbitstream.c50 put_bits(s, s->bit_left & 7, 0); in avpriv_align_put_bits()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbitwriter.h257 guint32 bit_offset, bit_left; in gst_bit_writer_align_bytes_unchecked() local
264 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()
/third_party/weston/libweston/backend-drm/
Dvaapi-recorder.c153 int bit_left = 32 - bit_offset; in bitstream_end() local
156 bs->buffer[pos] = va_swap32((bs->buffer[pos] << bit_left)); in bitstream_end()
165 int bit_left = 32 - bit_offset; in bitstream_put_ui() local
172 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() local
231 new_val = (1 << bit_left) - 1; in bitstream_byte_aligning()
235 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning()