Lines Matching refs:nal_bs
473 bitstream nal_bs; in build_packed_sei_buffer_timing() local
495 bitstream_start(&nal_bs); in build_packed_sei_buffer_timing()
496 nal_start_code_prefix(&nal_bs); in build_packed_sei_buffer_timing()
497 nal_header(&nal_bs, NAL_REF_IDC_NONE, NAL_SEI); in build_packed_sei_buffer_timing()
500 bitstream_put_ui(&nal_bs, 0, 8); in build_packed_sei_buffer_timing()
501 bitstream_put_ui(&nal_bs, bp_byte_size, 8); in build_packed_sei_buffer_timing()
505 bitstream_put_ui(&nal_bs, byte_buf[i], 8); in build_packed_sei_buffer_timing()
509 bitstream_put_ui(&nal_bs, 0x01, 8); in build_packed_sei_buffer_timing()
510 bitstream_put_ui(&nal_bs, pic_byte_size, 8); in build_packed_sei_buffer_timing()
514 bitstream_put_ui(&nal_bs, byte_buf[i], 8); in build_packed_sei_buffer_timing()
518 rbsp_trailing_bits(&nal_bs); in build_packed_sei_buffer_timing()
519 bitstream_end(&nal_bs); in build_packed_sei_buffer_timing()
521 *sei_buffer = (unsigned char *)nal_bs.buffer; in build_packed_sei_buffer_timing()
523 return nal_bs.bit_offset; in build_packed_sei_buffer_timing()