Lines Matching refs:ps_bitstrm
337 bitstrm_t *ps_bitstrm = &ps_entropy_ctxt->s_bit_strm; in ihevce_entropy_encode_frame() local
375 ret |= ihevce_bitstrm_init(ps_bitstrm, (UWORD8 *)ps_curr_out->pv_bitstream_bufs, out_buf_size); in ihevce_entropy_encode_frame()
378 ps_bitstrm->i4_num_nal = 0; in ihevce_entropy_encode_frame()
381 u8_bits_slice_header_prev = (ps_bitstrm->u4_strm_buf_offset * 8); in ihevce_entropy_encode_frame()
401 ret |= ihevce_generate_aud(ps_bitstrm, u1_pic_type); in ihevce_entropy_encode_frame()
407 ret |= ihevce_generate_vps(ps_bitstrm, ps_entropy_ctxt->ps_vps); in ihevce_entropy_encode_frame()
410 ret |= ihevce_generate_sps(ps_bitstrm, ps_entropy_ctxt->ps_sps); in ihevce_entropy_encode_frame()
413 ret |= ihevce_generate_pps(ps_bitstrm, ps_entropy_ctxt->ps_pps); in ihevce_entropy_encode_frame()
429 ps_bitstrm, in ihevce_entropy_encode_frame()
441 (ps_bitstrm->u4_strm_buf_offset * 8) - u8_bits_slice_header_prev; in ihevce_entropy_encode_frame()
449 WORD32 num_non_vcl_prefix_nals = ps_bitstrm->i4_num_nal; in ihevce_entropy_encode_frame()
458 ULWORD64 u8_cur_nal_start = (ULWORD64)ps_bitstrm->apu1_nal_start[ctr]; in ihevce_entropy_encode_frame()
465 ULWORD64 u8_next_nal_start = (ULWORD64)ps_bitstrm->apu1_nal_start[ctr + 1]; in ihevce_entropy_encode_frame()
472 (ULWORD64)ps_bitstrm->pu1_strm_buffer + ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()
520 u8_bits_slice_header_prev = (ps_bitstrm->u4_strm_buf_offset * 8); in ihevce_entropy_encode_frame()
524 ps_bitstrm, in ihevce_entropy_encode_frame()
536 (ps_bitstrm->u4_strm_buf_offset * 8) - (WORD32)u8_bits_slice_header_prev; in ihevce_entropy_encode_frame()
592 ps_bitstrm, (ps_bitstrm->pu1_strm_buffer + i4_bytes_generated), out_buf_size); in ihevce_entropy_encode_frame()
630 WORD32 num_vcl_nals = ps_bitstrm->i4_num_nal - vcl_start; in ihevce_entropy_encode_frame()
640 ULWORD64 u8_cur_nal_start = (ULWORD64)ps_bitstrm->apu1_nal_start[ctr + vcl_start]; in ihevce_entropy_encode_frame()
648 (ULWORD64)ps_bitstrm->apu1_nal_start[ctr + vcl_start + 1]; in ihevce_entropy_encode_frame()
655 (ULWORD64)ps_bitstrm->pu1_strm_buffer + ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()
684 ps_bitstrm, in ihevce_entropy_encode_frame()
694 ps_curr_out->i4_bytes_generated += ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()
700 ret |= ihevce_generate_eos(ps_bitstrm); in ihevce_entropy_encode_frame()
702 ps_curr_out->i4_bytes_generated += ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()
709 WORD32 num_non_vcl_suffix_nals = ps_bitstrm->i4_num_nal - non_vcl_suffix_start; in ihevce_entropy_encode_frame()
720 (ULWORD64)ps_bitstrm->apu1_nal_start[ctr + non_vcl_suffix_start]; in ihevce_entropy_encode_frame()
728 (ULWORD64)ps_bitstrm->apu1_nal_start[ctr + non_vcl_suffix_start + 1]; in ihevce_entropy_encode_frame()
735 (ULWORD64)ps_bitstrm->pu1_strm_buffer + ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()