Searched refs:ps_entropy_ctxt (Results 1 – 6 of 6) sorted by relevance
/external/libhevc/encoder/ |
D | ihevce_entropy_interface.c | 229 entropy_context_t *ps_entropy_ctxt; in ihevce_entropy_init() local 232 ps_entropy_ctxt = (entropy_context_t *)ps_mem_tab[ENTROPY_CTXT].pv_base; in ihevce_entropy_init() 233 memset(ps_entropy_ctxt, 0, sizeof(entropy_context_t)); in ihevce_entropy_init() 235 ps_entropy_ctxt->pu1_skip_cu_top = (UWORD8 *)ps_mem_tab[ENTROPY_TOP_SKIP_FLAGS].pv_base; in ihevce_entropy_init() 236 ps_entropy_ctxt->pu1_cu_depth_top = (UWORD8 *)ps_mem_tab[ENTROPY_TOP_CU_DEPTH].pv_base; in ihevce_entropy_init() 237 ps_entropy_ctxt->pv_dummy_out_buf = ps_mem_tab[ENTROPY_DUMMY_OUT_BUF].pv_base; in ihevce_entropy_init() 238 ps_entropy_ctxt->i4_bitstream_buf_size = ps_mem_tab[ENTROPY_DUMMY_OUT_BUF].i4_mem_size; in ihevce_entropy_init() 246 ps_entropy_ctxt->apu1_cbf_cb[0] = &ps_entropy_ctxt->au1_cbf_cb[0][1]; in ihevce_entropy_init() 247 ps_entropy_ctxt->apu1_cbf_cr[0] = &ps_entropy_ctxt->au1_cbf_cr[0][1]; in ihevce_entropy_init() 248 ps_entropy_ctxt->apu1_cbf_cb[1] = &ps_entropy_ctxt->au1_cbf_cb[1][1]; in ihevce_entropy_init() [all …]
|
D | ihevce_cabac_cu_pu.c | 185 entropy_context_t *ps_entropy_ctxt, WORD32 part_mode, cu_enc_loop_out_t *ps_enc_cu) in ihevce_cabac_encode_intra_pu() argument 188 cab_ctxt_t *ps_cabac = &ps_entropy_ctxt->s_cabac_ctxt; in ihevce_cabac_encode_intra_pu() 200 ps_entropy_ctxt->ps_pic_level_info->i8_total_intra_cu++; in ihevce_cabac_encode_intra_pu() 201 ps_entropy_ctxt->ps_pic_level_info->i8_total_pu += num_parts; in ihevce_cabac_encode_intra_pu() 202 ps_entropy_ctxt->ps_pic_level_info->i8_total_intra_pu += num_parts; in ihevce_cabac_encode_intra_pu() 209 ps_entropy_ctxt->ps_pic_level_info->i8_total_2nx2n_intra_pu[3]++; in ihevce_cabac_encode_intra_pu() 211 ps_entropy_ctxt->ps_pic_level_info->i8_total_2nx2n_intra_pu[cu_size >> 4]++; in ihevce_cabac_encode_intra_pu() 216 ps_entropy_ctxt->ps_pic_level_info->i8_total_nxn_intra_pu++; in ihevce_cabac_encode_intra_pu() 301 entropy_context_t *ps_entropy_ctxt, in ihevce_cabac_encode_skip_flag() argument 309 cab_ctxt_t *ps_cabac = &ps_entropy_ctxt->s_cabac_ctxt; in ihevce_cabac_encode_skip_flag() [all …]
|
D | ihevce_cabac_tu.c | 400 entropy_context_t *ps_entropy_ctxt, in ihevce_encode_transform_tree() argument 409 sps_t *ps_sps = ps_entropy_ctxt->ps_sps; in ihevce_encode_transform_tree() 412 WORD32 tu_idx = ps_entropy_ctxt->i4_tu_idx; in ihevce_encode_transform_tree() 418 cab_ctxt_t *ps_cabac = &ps_entropy_ctxt->s_cabac_ctxt; in ihevce_encode_transform_tree() 472 ps_entropy_ctxt->ps_pic_level_info->u8_bits_estimated_split_tu_flag += in ihevce_encode_transform_tree() 513 if((tr_depth == 0) || (ps_entropy_ctxt->apu1_cbf_cb[0][tr_depth - 1]) || in ihevce_encode_transform_tree() 514 (ps_entropy_ctxt->apu1_cbf_cb[1][tr_depth - 1])) in ihevce_encode_transform_tree() 571 ps_entropy_ctxt->ps_pic_level_info->u8_bits_estimated_cbf_chroma_bits += in ihevce_encode_transform_tree() 584 ps_entropy_ctxt->ps_pic_level_info->u8_bits_estimated_cbf_chroma_bits += in ihevce_encode_transform_tree() 599 ps_entropy_ctxt->ps_pic_level_info->u8_bits_estimated_cbf_chroma_bits += in ihevce_encode_transform_tree() [all …]
|
D | ihevce_entropy_structs.h | 290 entropy_context_t *ps_entropy_ctxt, 299 entropy_context_t *ps_entropy_ctxt, void *pv_coeff, WORD32 log2_tr_size, WORD32 is_luma); 302 entropy_context_t *ps_entropy_ctxt, 309 entropy_context_t *ps_entropy_ctxt, 343 entropy_context_t *ps_entropy_ctxt, 350 entropy_context_t *ps_entropy_ctxt, 355 entropy_context_t *ps_entropy_ctxt, ctb_enc_loop_out_t *ps_ctb_enc_loop_out);
|
D | ihevce_entropy_cod.c | 162 entropy_context_t *ps_entropy_ctxt; in ihevce_ent_coding_thrd() local 198 ps_entropy_ctxt = (entropy_context_t *)pv_entropy_hdl; in ihevce_ent_coding_thrd() 277 ps_curr_out->i4_bitstream_buf_size = ps_entropy_ctxt->i4_bitstream_buf_size; in ihevce_ent_coding_thrd() 278 ps_curr_out->pv_bitstream_bufs = ps_entropy_ctxt->pv_dummy_out_buf; in ihevce_ent_coding_thrd()
|
D | ihevce_enc_loop_pass.c | 1527 entropy_context_t *ps_entropy_ctxt; in ihevce_cu_mode_decide() local 1533 ps_entropy_ctxt = ps_ctxt->s_rdopt_entropy_ctxt.as_cu_entropy_ctxt; in ihevce_cu_mode_decide() 1535 log2_ctb_size = ps_entropy_ctxt->i1_log2_ctb_size; in ihevce_cu_mode_decide() 1536 diff_cu_qp_delta_depth = ps_entropy_ctxt->ps_pps->i1_diff_cu_qp_delta_depth; in ihevce_cu_mode_decide() 1541 ps_entropy_ctxt->i4_qg_pos_x = ps_cu_analyse->b3_cu_pos_x & block_addr_align; in ihevce_cu_mode_decide() 1542 ps_entropy_ctxt->i4_qg_pos_y = ps_cu_analyse->b3_cu_pos_y & block_addr_align; in ihevce_cu_mode_decide() 1549 if(ps_entropy_ctxt->i4_qg_pos_x == ps_cu_analyse->b3_cu_pos_x && in ihevce_cu_mode_decide() 1550 ps_entropy_ctxt->i4_qg_pos_y == ps_cu_analyse->b3_cu_pos_y) in ihevce_cu_mode_decide()
|