Lines Matching refs:bit_offset
25 int bit_offset; member
45 bs->bit_offset = 0; in bitstream_start()
50 int pos = (bs->bit_offset >> 5); in bitstream_end()
51 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() local
52 int bit_left = 32 - bit_offset; in bitstream_end()
54 if (bit_offset) { in bitstream_end()
61 int pos = (bs->bit_offset >> 5); in bitstream_put_ui()
62 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_put_ui() local
63 int bit_left = 32 - bit_offset; in bitstream_put_ui()
68 bs->bit_offset += size_in_bits; in bitstream_put_ui()
116 int bit_offset = (bs->bit_offset & 0x7); in bitstream_byte_aligning() local
117 int bit_left = 8 - bit_offset; in bitstream_byte_aligning()
120 if (!bit_offset) in bitstream_byte_aligning()
322 return bs.bit_offset; in build_packed_seq_buffer()
336 return bs.bit_offset; in build_packed_pic_buffer()
357 if ( sei_bp_bs.bit_offset & 0x7) { in build_packed_sei_buffer_timing()
361 bp_byte_size = (sei_bp_bs.bit_offset + 7) / 8; in build_packed_sei_buffer_timing()
366 if ( sei_pic_bs.bit_offset & 0x7) { in build_packed_sei_buffer_timing()
370 pic_byte_size = (sei_pic_bs.bit_offset + 7) / 8; in build_packed_sei_buffer_timing()
400 return nal_bs.bit_offset; in build_packed_sei_buffer_timing()