Home
last modified time | relevance | path

Searched refs:ps_entropy (Results 1 – 4 of 4) sorted by relevance

/external/libavc/encoder/
Dih264e_process.c144 entropy_ctxt_t *ps_entropy = &ps_codec->as_process[ctxt_sel * MAX_PROCESS_THREADS].s_entropy; in ih264e_generate_sps_pps() local
147 bitstrm_t *ps_bitstrm = ps_entropy->ps_bitstrm; in ih264e_generate_sps_pps()
181 ps_entropy->i4_error_code = IH264E_SUCCESS; in ih264e_generate_sps_pps()
184 ps_entropy->i4_error_code |= ih264e_generate_sps(ps_bitstrm, ps_sps, in ih264e_generate_sps_pps()
188 ps_entropy->i4_error_code |= ih264e_generate_pps(ps_bitstrm, ps_pps, ps_sps); in ih264e_generate_sps_pps()
193 return ps_entropy->i4_error_code; in ih264e_generate_sps_pps()
222 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; in ih264e_init_entropy_ctxt() local
225 ps_entropy->i4_mb_start_add = ps_entropy->i4_mb_y * ps_entropy->i4_wd_mbs + ps_entropy->i4_mb_x; in ih264e_init_entropy_ctxt()
228 ps_entropy->i4_mb_end_add = ps_entropy->i4_mb_start_add + ps_entropy->i4_mb_cnt; in ih264e_init_entropy_ctxt()
231 ps_entropy->i4_cur_slice_idx = ps_proc->pu1_slice_idx[ps_entropy->i4_mb_start_add]; in ih264e_init_entropy_ctxt()
[all …]
Dih264e_utils.c2002 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; in ih264e_pic_init() local
2005 ps_entropy->i4_sof = 0; in ih264e_pic_init()
2008 ps_entropy->i4_eof = 0; in ih264e_pic_init()
2011 ps_entropy->i4_gen_header = ps_codec->i4_gen_header; in ih264e_pic_init()
2014 ps_entropy->u4_sps_id = ps_codec->i4_sps_id; in ih264e_pic_init()
2017 ps_entropy->ps_sps_base = ps_codec->ps_sps_base; in ih264e_pic_init()
2020 ps_entropy->u4_pps_id = ps_codec->i4_pps_id; in ih264e_pic_init()
2023 ps_entropy->ps_pps_base = ps_codec->ps_pps_base; in ih264e_pic_init()
2026 ps_entropy->pu1_slice_idx = ps_proc->pu1_slice_idx; in ih264e_pic_init()
2029 ps_entropy->ps_slice_hdr_base = ps_proc->ps_slice_hdr_base; in ih264e_pic_init()
[all …]
Dih264e_rate_control.c718 entropy_ctxt_t *ps_entropy = pv_entropy; in ih264e_update_rc_bits_info() local
720 ps_frame_info->mb_header_bits[MB_TYPE_INTRA] += ps_entropy->u4_header_bits[MB_TYPE_INTRA]; in ih264e_update_rc_bits_info()
722 ps_frame_info->mb_texture_bits[MB_TYPE_INTRA] += ps_entropy->u4_residue_bits[MB_TYPE_INTRA]; in ih264e_update_rc_bits_info()
724 ps_frame_info->mb_header_bits[MB_TYPE_INTER] += ps_entropy->u4_header_bits[MB_TYPE_INTER]; in ih264e_update_rc_bits_info()
726 ps_frame_info->mb_texture_bits[MB_TYPE_INTER] += ps_entropy->u4_residue_bits[MB_TYPE_INTER]; in ih264e_update_rc_bits_info()
Dih264e_encode_header.c1280 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; in ih264e_populate_slice_header() local
1294 ps_slice_hdr->u2_first_mb_in_slice = ps_entropy->i4_mb_start_add; in ih264e_populate_slice_header()
1434 ps_slice_hdr->u1_entropy_coding_mode_flag = ps_entropy->u1_entropy_coding_mode_flag; in ih264e_populate_slice_header()