Lines Matching refs:ps_ctxt
130 * \param[in] ps_ctxt : pointer to enc loop context structure
141 ihevce_enc_loop_ctxt_t *ps_ctxt,
154 i4_qscale = ((ps_ctxt->ps_rc_quant_ctxt->pi4_qp_to_qscale
155 [ps_enc_out_ctxt->i1_cu_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]));
157 ps_ctxt->ps_rc_quant_ctxt
158 ->pi4_qp_to_qscale[ps_ctxt->i4_frame_mod_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]));
167 i4_br_id = ps_ctxt->i4_bitrate_instance_num;
168 i4_enc_frm_id = ps_ctxt->i4_enc_frm_id;
172 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->i8_frame_open_loop_ssd +=
174 ->i8_cu_ssd; // + (((float)(ps_ctxt->i8_cl_ssd_lambda_qf/ (1<< LAMBDA_Q_SHIFT))) * ps_enc_loop_bestprms->u4_cu_hdr_bits);
176 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->u4_frame_open_loop_intra_sad +=
179 (((float)(ps_ctxt->i4_sad_lamda) / (1 << LAMBDA_Q_SHIFT)) *
184 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->u4_frame_intra_sad_acc +=
186 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->i8_frame_intra_cost_acc +=
191 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->u4_frame_inter_sad_acc +=
193 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->i8_frame_inter_cost_acc +=
197 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->u4_frame_sad_acc +=
200 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->i8_frame_cost_acc +=
203 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->u4_frame_rdopt_bits +=
207 ps_ctxt->u4_total_cu_bits += (u4_tex_bits + u4_hdr_bits);
208 ps_ctxt->u4_total_cu_bits_mul_qs +=
211 ps_ctxt->u4_total_cu_hdr_bits += u4_hdr_bits;
212 ps_ctxt->u4_cu_tot_bits_into_qscale +=
215 ps_ctxt->u4_cu_tot_bits += (u4_tex_bits + u4_hdr_bits);
217 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]->u4_frame_rdopt_header_bits +=
220 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]
224 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]
228 ps_ctxt->aaps_enc_loop_rc_params[i4_enc_frm_id][i4_br_id]
244 ps_ctxt->i4_last_cu_qp_from_prev_ctb = ps_enc_out_ctxt->i1_cu_qp;
248 ps_ctxt->i4_last_cu_qp_from_prev_ctb = ps_ctxt->i4_pred_qp;
289 if(ps_ctxt->i4_deblk_pad_hpel_cur_pic)
299 ps_curr_nbr_4x4 = &ps_ctxt->as_ctb_nbr_arr[0];
306 ps_left_nbr_4x4 = &ps_ctxt->as_left_col_nbr[0];
321 ps_top_nbr_4x4 = ps_ctxt->ps_top_row_nbr;
338 &ps_ctxt->s_deblk_bs_prms);
349 * \param[in] ps_ctxt : pointer to enc loop context structure
357 ihevce_enc_loop_ctxt_t *ps_ctxt,
367 UWORD8 u1_is_422 = (ps_ctxt->u1_chroma_array_type == 2);
370 ps_enc_tmp_out_ctxt = ps_ctxt->ps_enc_out_ctxt;
375 pu1_recon = (UWORD8 *)ps_ctxt->pv_cu_luma_recon;
383 ps_ctxt->s_cmn_opt_func.pf_copy_2d(
392 pu1_recon = (UWORD8 *)ps_ctxt->pv_cu_chrma_recon;
402 ps_ctxt->s_cmn_opt_func.pf_copy_2d(
411 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
414 pu1_recon = (UWORD8 *)ps_ctxt->pv_cu_luma_recon;
422 ps_ctxt->s_cmn_opt_func.pf_copy_2d(
431 pu1_recon = (UWORD8 *)ps_ctxt->pv_cu_chrma_recon;
440 ps_ctxt->s_cmn_opt_func.pf_copy_2d(
462 ps_ctxt->ai4_qp_qg[((i4_cu_pox_y + i4_y) * 8) + (i4_cu_pos_x + i4_x)] =
463 ps_ctxt->i4_cu_qp;
467 ps_ctxt->ai4_qp_qg[((i4_cu_pox_y + i4_y) * 8) + (i4_cu_pos_x + i4_x)] =
468 ps_ctxt->i4_pred_qp;
478 ps_curr_nbr_4x4 = &ps_ctxt->as_ctb_nbr_arr[0];
483 ps_nbr_4x4 = ps_ctxt->ps_cu_recur_nbr;
497 ps_nbr_4x4->b8_qp = ps_ctxt->i4_cu_qp;
500 ps_nbr_4x4 = ps_ctxt->ps_cu_recur_nbr;
518 * \param[in] ps_ctxt : pointer to enc loop context structure
531 ihevce_enc_loop_ctxt_t *ps_ctxt,
554 WORD32 quality_preset = ps_ctxt->i4_quality_preset;
555 WORD32 frm_qp = ps_ctxt->i4_frame_qp;
557 WORD32 frm_qstep = ps_ctxt->i4_frame_qstep;
1568 ihevce_enc_loop_ctxt_t *ps_ctxt,
1605 ((ihevce_tile_params_t *)ps_ctxt->pv_tile_params_base + ps_ctxt->i4_tile_col_idx);
1678 if(ISLICE != ps_ctxt->i1_slice_type)
1685 ps_ctxt,
1699 ps_ctxt,
1723 ps_ctxt,
1747 ps_ctxt,
1777 if(!ps_ctxt->i1_cu_qp_delta_enable)
1779 ps_cu_analyse->i1_cu_qp = ps_ctxt->i4_frame_qp;
1782 ps_ctxt->i4_cu_qp = ps_cu_analyse->i1_cu_qp;
1795 if(ps_ctxt->u1_disable_intra_eval)
1811 if((ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6) && (ps_cu_analyse->u1_cu_size == 32) &&
1812 (ps_ctxt->i1_slice_type != ISLICE))
1839 ps_ctxt->i1_slice_type,
1840 ps_ctxt->i4_quality_preset);
1847 if(ps_ctxt
1856 ps_ctxt->pv_dep_mngr_enc_loop_cu_top_right,
1860 ps_ctxt->i4_tile_col_idx, /* Col Tile No. */
1861 ps_ctxt->thrd_id);
1873 if(!ps_ctxt->u1_use_top_at_ctb_boundary)
1882 ps_ctxt->pv_dep_mngr_enc_loop_cu_top_right,
1886 ps_ctxt->i4_tile_col_idx, /* Col Tile No. */
1887 ps_ctxt->thrd_id);
1892 &ps_ctxt->s_rdopt_entropy_ctxt,
1893 ps_ctxt->pu1_top_rt_cabac_state,
1901 if((0 == ps_cu_analyse->b3_cu_pos_y) && (IHEVCE_QUALITY_P6 != ps_ctxt->i4_quality_preset))
1907 if(!ps_ctxt->u1_use_top_at_ctb_boundary)
1916 ps_ctxt->pv_dep_mngr_enc_loop_cu_top_right,
1920 ps_ctxt->i4_tile_col_idx, /* Col Tile No. */
1921 ps_ctxt->thrd_id);
1926 &ps_ctxt->s_rdopt_entropy_ctxt,
1927 ps_ctxt->pu1_top_rt_cabac_state,
1932 else if((0 == ps_cu_analyse->b3_cu_pos_y) && (IHEVCE_QUALITY_P6 == ps_ctxt->i4_quality_preset))
1936 ps_ctxt->s_rdopt_entropy_ctxt.as_cu_entropy_ctxt->ps_slice_hdr->i1_cabac_init_flag;
1938 if(ps_ctxt->i1_slice_type == ISLICE)
1942 else if(ps_ctxt->i1_slice_type == PSLICE)
1952 &ps_ctxt->s_rdopt_entropy_ctxt,
1953 (UWORD8 *)gau1_ihevc_cab_ctxts[u1_cabac_init_idc][ps_ctxt->i4_frame_qp],
1972 ((ps_ctxt->i4_quant_rounding_level == CTB_LEVEL_QUANT_ROUNDING) &&
1975 ((ps_ctxt->i4_quant_rounding_level == NCTB_LEVEL_QUANT_ROUNDING) &&
1978 if((ps_ctxt->i4_quant_rounding_level == CU_LEVEL_QUANT_ROUNDING) ||
1979 (ps_ctxt->i4_quant_rounding_level == TU_LEVEL_QUANT_ROUNDING) ||
2001 if((BSLICE == ps_ctxt->i1_slice_type) && (ps_ctxt->i4_temporal_layer_id))
2003 i4_lamda_modifier = ps_ctxt->i4_lamda_modifier *
2004 CLIP3((((double)(ps_ctxt->i4_cu_qp - 12)) / 6.0), 2.00, 4.00);
2006 ps_ctxt->i4_uv_lamda_modifier *
2007 CLIP3((((double)(ps_ctxt->i4_chrm_cu_qp - 12)) / 6.0), 2.00, 4.00);
2011 i4_lamda_modifier = ps_ctxt->i4_lamda_modifier;
2012 i4_lamda_modifier_uv = ps_ctxt->i4_uv_lamda_modifier;
2014 if(ps_ctxt->i4_use_const_lamda_modifier)
2016 if(ISLICE == ps_ctxt->i1_slice_type)
2018 i4_lamda_modifier = ps_ctxt->f_i_pic_lamda_modifier;
2019 i4_lamda_modifier_uv = ps_ctxt->f_i_pic_lamda_modifier;
2031 ps_ctxt->pi4_quant_round_factor_cu_ctb_0_1[trans_size >> 3],
2035 ps_ctxt->pi4_quant_round_factor_cu_ctb_1_2[trans_size >> 3],
2039 /*ps_ctxt->i4_quant_rnd_factor[intra_flag], is currently not used */
2043 &ps_ctxt->s_rdopt_entropy_ctxt,
2044 ps_ctxt->pi4_quant_round_factor_cu_ctb_0_1[trans_size >> 3],
2045 ps_ctxt->pi4_quant_round_factor_cu_ctb_1_2[trans_size >> 3],
2055 if(ps_ctxt->i4_chroma_quant_rounding_level == CHROMA_QUANT_ROUNDING)
2060 ps_ctxt->pi4_quant_round_factor_cr_cu_ctb_0_1[trans_size_cr >> 3],
2064 ps_ctxt->pi4_quant_round_factor_cr_cu_ctb_1_2[trans_size_cr >> 3],
2071 &ps_ctxt->s_rdopt_entropy_ctxt,
2072 ps_ctxt->pi4_quant_round_factor_cr_cu_ctb_0_1[trans_size_cr >> 3],
2073 ps_ctxt->pi4_quant_round_factor_cr_cu_ctb_1_2[trans_size_cr >> 3],
2084 if((ps_ctxt->i1_slice_type == BSLICE) && (ps_cu_analyse->u1_num_inter_cands))
2091 ps_ctxt,
2124 ihevce_enc_loop_ctxt_t *ps_ctxt,
2138 WORD32 u1_is_422 = (ps_ctxt->u1_chroma_array_type == 2);
2141 pu1_luma_top = (UWORD8 *)ps_ctxt->pv_bot_row_luma + curr_cu_pos_in_row;
2142 pu1_chrm_top = (UWORD8 *)ps_ctxt->pv_bot_row_chroma + curr_cu_pos_in_row;
2143 ps_top_nbr = ps_ctxt->ps_bot_row_nbr + (curr_cu_pos_in_row >> 2);
2167 ps_nbr = &ps_ctxt->as_ctb_nbr_arr[0];
2192 ihevce_enc_loop_ctxt_t *ps_ctxt,
2219 ihevce_store_cu_final(ps_ctxt, ps_cu_final, *ppu1_row_ecd_data, ps_enc_out_ctxt, ps_cu_prms);
2238 if(((ps_cu_final->b3_cu_pos_y << 3) + u4_cu_size) == ps_ctxt->u4_cur_ctb_ht)
2241 ((pf_enc_loop_cu_bot_copy)ps_ctxt->pv_enc_loop_cu_bot_copy)(
2242 ps_ctxt,
2250 ps_ctxt->pv_dep_mngr_enc_loop_cu_top_right,
2253 ps_ctxt->i4_tile_col_idx /* Col Tile No. */);
2285 ihevce_enc_loop_ctxt_t *ps_ctxt,
2316 WORD32 pic_wd = ps_ctxt->s_sao_ctxt_t.ps_sps->i2_pic_width_in_luma_samples;
2317 WORD32 pic_ht = ps_ctxt->s_sao_ctxt_t.ps_sps->i2_pic_height_in_luma_samples;
2318 WORD32 log2_min_cb_size = ps_ctxt->s_sao_ctxt_t.ps_sps->i1_log2_min_coding_block_size;
2328 UWORD8 u1_is_cu_noisy = ps_ctxt->u1_is_stasino_enabled
2337 LWORD64 i8_lambda_qf = ps_ctxt->s_sao_ctxt_t.i8_cl_ssd_lambda_qf;
2343 if(!ps_ctxt->u1_enable_psyRDOPT && u1_is_cu_noisy)
2345 ps_ctxt->i8_cl_ssd_lambda_qf = ps_ctxt->s_sao_ctxt_t.i8_cl_ssd_lambda_qf;
2346 ps_ctxt->i8_cl_ssd_lambda_chroma_qf = ps_ctxt->s_sao_ctxt_t.i8_cl_ssd_lambda_chroma_qf;
2350 if(u1_is_cu_noisy && !ps_ctxt->u1_enable_psyRDOPT)
2366 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2394 left_cu_depth = ps_ctxt->as_left_col_nbr[pos_y_4x4].b2_cu_depth;
2400 left_cu_depth = ps_ctxt->as_ctb_nbr_arr[cur_4x4_in_ctb - 1].b2_cu_depth;
2411 ps_ctxt->pv_dep_mngr_enc_loop_cu_top_right,
2415 ps_ctxt->i4_tile_col_idx, /* Col Tile No. */
2416 ps_ctxt->thrd_id);
2419 ps_ctxt->ps_top_row_nbr[(i4_ctb_x_off >> 2) + pos_x_4x4].b2_cu_depth;
2425 top_cu_depth = ps_ctxt->as_ctb_nbr_arr[cur_4x4_in_ctb - num_4x4_in_ctb].b2_cu_depth;
2432 ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][split_cu_ctxt_inc];
2443 ps_ctxt->au1_rdopt_recur_ctxt_models[i][split_cu_ctxt_inc] =
2448 ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][split_cu_ctxt_inc] =
2461 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2462 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][0],
2465 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2468 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2469 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][0],
2476 ps_ctxt, ps_cu_tree_analyse->b3_cu_pos_x, ps_cu_tree_analyse->b3_cu_pos_y);
2480 ps_ctxt,
2501 ps_ctxt->pu1_curr_row_cabac_state,
2502 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2516 &ps_ctxt->au1_rdopt_recur_ctxt_models[i][0],
2517 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2522 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2533 &ps_ctxt->au1_rdopt_recur_ctxt_models[i][0],
2534 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2540 ((pf_store_cu_results)ps_ctxt->pv_store_cu_results)(
2541 ps_ctxt, ps_cu_prms, &s_final_mode_state);
2544 if(ps_ctxt->i4_quality_preset >= IHEVCE_QUALITY_P2)
2547 ps_ctxt,
2548 ps_ctxt->ps_enc_out_ctxt,
2559 i4_num_bytes_ecd_data = ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->i4_num_bytes_ecd_data;
2564 ps_ctxt->pu1_ecd_data,
2565 &ps_ctxt->pu1_cu_recur_coeffs[0],
2568 ps_ctxt->pu1_ecd_data += i4_num_bytes_ecd_data;
2572 *pps_col_pu += ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->u2_num_pus_in_cu;
2573 *pi4_col_start_pu_idx += ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->u2_num_pus_in_cu;
2577 i4_num_bytes_ecd_data = ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->i4_num_bytes_ecd_data;
2581 ps_ctxt->pu1_ecd_data,
2582 &ps_ctxt->pu1_cu_recur_coeffs[0],
2585 ps_ctxt->pu1_ecd_data += i4_num_bytes_ecd_data;
2589 *pps_col_pu += ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->u2_num_pus_in_cu;
2590 *pi4_col_start_pu_idx += ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->u2_num_pus_in_cu;
2593 ps_ctxt->ps_enc_out_ctxt++;
2605 ps_ctxt,
2640 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2644 (ps_ctxt->i1_slice_type != ISLICE))
2667 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2668 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][0],
2674 ps_ctxt->pu1_ctb_nbr_map,
2675 ps_ctxt->i4_nbr_map_strd,
2681 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2684 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2685 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][0],
2691 ps_ctxt->pu1_ctb_nbr_map,
2692 ps_ctxt->i4_nbr_map_strd,
2702 ps_ctxt->is_parent_cu_rdopt = 1;
2707 ps_ctxt, ps_cu_tree_analyse->b3_cu_pos_x, ps_cu_tree_analyse->b3_cu_pos_y);
2710 ps_ctxt,
2723 ps_ctxt->is_parent_cu_rdopt = 0;
2731 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][0],
2732 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2735 /* i8_least_child_cost += (num_children_encoded * ps_ctxt->i4_sad_lamda\
2743 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2750 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][0],
2751 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2754 /* i8_least_child_cost += (num_children_encoded * ps_ctxt->i4_sad_lamda\
2763 (num_children_encoded * ps_ctxt->i4_sad_lamda + ((1 << (LAMBDA_Q_SHIFT)))) >>
2777 &ps_ctxt->au1_rdopt_recur_ctxt_models[i][0],
2778 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth + 1][0],
2783 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2784 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth + 1][0],
2787 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2792 &ps_ctxt->au1_rdopt_recur_ctxt_models[i][0],
2793 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth + 1][0],
2798 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2799 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth + 1][0],
2822 ps_ctxt->pu1_curr_row_cabac_state,
2823 &ps_ctxt->s_rdopt_entropy_ctxt.au1_init_cabac_ctxt_states[0],
2832 &ps_ctxt->au1_rdopt_recur_ctxt_models[i][0],
2833 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][0],
2837 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2842 &ps_ctxt->au1_rdopt_recur_ctxt_models[i][0],
2843 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth][0],
2848 ((pf_store_cu_results)ps_ctxt->pv_store_cu_results)(
2849 ps_ctxt, ps_cu_prms, &s_final_mode_state);
2852 if(ps_ctxt->i4_quality_preset >= IHEVCE_QUALITY_P2)
2855 ps_ctxt,
2856 ps_ctxt->ps_enc_out_ctxt,
2864 ps_ctxt->ps_enc_out_ctxt++;
2868 ps_enc_tmp_out_ctxt = ps_ctxt->ps_enc_out_ctxt;
2876 (ps_ctxt->ps_enc_out_ctxt - i - 1)->ps_cu_prms->i4_num_bytes_ecd_data;
2877 ps_ctxt->pu1_ecd_data -= i4_num_bytes_ecd_data;
2881 ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->i4_num_bytes_ecd_data;
2885 ps_ctxt->pu1_ecd_data,
2886 &ps_ctxt->pu1_cu_recur_coeffs[0],
2889 ps_ctxt->pu1_ecd_data += i4_num_bytes_ecd_data;
2892 ps_enc_tmp_out_ctxt = ps_ctxt->ps_enc_out_ctxt - num_child_nodes;
2896 ps_ctxt->ps_enc_out_ctxt,
2901 i4_num_pus_in_cu = ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->u2_num_pus_in_cu;
2912 ps_ctxt->ps_enc_out_ctxt = ps_enc_tmp_out_ctxt + 1;
2916 ps_enc_tmp_out_ctxt = ps_ctxt->ps_enc_out_ctxt;
2924 (ps_ctxt->ps_enc_out_ctxt - i - 1)->ps_cu_prms->i4_num_bytes_ecd_data;
2925 ps_ctxt->pu1_ecd_data -= i4_num_bytes_ecd_data;
2928 i4_num_bytes_ecd_data = ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->i4_num_bytes_ecd_data;
2932 ps_ctxt->pu1_ecd_data,
2933 &ps_ctxt->pu1_cu_recur_coeffs[0],
2936 ps_ctxt->pu1_ecd_data += i4_num_bytes_ecd_data;
2939 ps_enc_tmp_out_ctxt = ps_ctxt->ps_enc_out_ctxt - num_child_nodes;
2943 ps_ctxt->ps_enc_out_ctxt,
2949 i4_num_pus_in_cu = ps_ctxt->ps_enc_out_ctxt->ps_cu_prms->u2_num_pus_in_cu;
2960 ps_ctxt->ps_enc_out_ctxt = ps_enc_tmp_out_ctxt + 1;
2979 &ps_ctxt->au1_rdopt_recur_ctxt_models[i][0],
2980 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth + 1][0],
2984 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2)
2989 &ps_ctxt->au1_rdopt_recur_ctxt_models[i][0],
2990 &ps_ctxt->au1_rdopt_recur_ctxt_models[i4_tree_depth + 1][0],