Lines Matching refs:nal_bs
1088 bitstream nal_bs; in build_packed_sei_buffer_timing() local
1110 bitstream_start(&nal_bs); in build_packed_sei_buffer_timing()
1111 nal_start_code_prefix(&nal_bs); in build_packed_sei_buffer_timing()
1112 nal_header(&nal_bs, NAL_REF_IDC_NONE, NAL_SEI); in build_packed_sei_buffer_timing()
1115 bitstream_put_ui(&nal_bs, 0, 8); in build_packed_sei_buffer_timing()
1116 bitstream_put_ui(&nal_bs, bp_byte_size, 8); in build_packed_sei_buffer_timing()
1120 bitstream_put_ui(&nal_bs, byte_buf[i], 8); in build_packed_sei_buffer_timing()
1124 bitstream_put_ui(&nal_bs, 0x01, 8); in build_packed_sei_buffer_timing()
1125 bitstream_put_ui(&nal_bs, pic_byte_size, 8); in build_packed_sei_buffer_timing()
1129 bitstream_put_ui(&nal_bs, byte_buf[i], 8); in build_packed_sei_buffer_timing()
1133 rbsp_trailing_bits(&nal_bs); in build_packed_sei_buffer_timing()
1134 bitstream_end(&nal_bs); in build_packed_sei_buffer_timing()
1136 *sei_buffer = (unsigned char *)nal_bs.buffer; in build_packed_sei_buffer_timing()
1138 return nal_bs.bit_offset; in build_packed_sei_buffer_timing()