Lines Matching refs:bit_offset
730 int bit_offset; member
770 bs->bit_offset = 0; in bitstream_start()
776 int pos = (bs->bit_offset >> 5); in bitstream_end()
777 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() local
778 int bit_left = 32 - bit_offset; in bitstream_end()
780 if (bit_offset) { in bitstream_end()
788 int pos = (bs->bit_offset >> 5); in bitstream_put_ui()
789 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_put_ui() local
790 int bit_left = 32 - bit_offset; in bitstream_put_ui()
795 bs->bit_offset += size_in_bits; in bitstream_put_ui()
844 int bit_offset = (bs->bit_offset & 0x7); in bitstream_byte_aligning() local
845 int bit_left = 8 - bit_offset; in bitstream_byte_aligning()
848 if (!bit_offset) in bitstream_byte_aligning()
1057 return bs.bit_offset; in build_packed_pic_buffer()
1072 return bs.bit_offset; in build_packed_seq_buffer()
1095 if ( sei_bp_bs.bit_offset & 0x7) { in build_packed_sei_buffer_timing()
1099 bp_byte_size = (sei_bp_bs.bit_offset + 7) / 8; in build_packed_sei_buffer_timing()
1104 if ( sei_pic_bs.bit_offset & 0x7) { in build_packed_sei_buffer_timing()
1108 pic_byte_size = (sei_pic_bs.bit_offset + 7) / 8; in build_packed_sei_buffer_timing()
1138 return nal_bs.bit_offset; in build_packed_sei_buffer_timing()