Home
last modified time | relevance | path

Searched refs:ps_rc_quant_ctxt (Results 1 – 23 of 23) sorted by relevance

/external/libhevc/encoder/
Dihevce_sub_pic_rc.c323 (ps_ctxt->ps_rc_quant_ctxt->pi4_qp_to_qscale in ihevce_sub_pic_rc_in_data()
324 [ps_ctxt->i4_frame_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]); in ihevce_sub_pic_rc_in_data()
420 (ps_ctxt->ps_rc_quant_ctxt in ihevce_sub_pic_rc_scale_query()
421 ->pi4_qp_to_qscale[ps_ctxt->i4_frame_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]); in ihevce_sub_pic_rc_scale_query()
426 (ps_ctxt->ps_rc_quant_ctxt in ihevce_sub_pic_rc_scale_query()
427 ->pi4_qp_to_qscale[i4_previous_chunk_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]); in ihevce_sub_pic_rc_scale_query()
431 ps_ctxt->ps_rc_quant_ctxt->i2_max_qscale * (1 << QP_LEVEL_MOD_ACT_FACTOR); in ihevce_sub_pic_rc_scale_query()
435 ps_ctxt->ps_rc_quant_ctxt->i2_min_qscale * (1 << QP_LEVEL_MOD_ACT_FACTOR); in ihevce_sub_pic_rc_scale_query()
468 if(i4_mod_cur_qp > ps_ctxt->ps_rc_quant_ctxt->i2_max_qscale) in ihevce_sub_pic_rc_scale_query()
470 i4_mod_cur_qp = ps_ctxt->ps_rc_quant_ctxt->i2_max_qscale; in ihevce_sub_pic_rc_scale_query()
[all …]
Dihevce_rc_interface.c220 WORD32 ihevce_rc_get_scaled_mpeg2_qp(WORD32 i4_frame_qp, rc_quant_t *ps_rc_quant_ctxt);
775 ps_rc_ctxt->ps_rc_quant_ctxt = ps_rc_quant; in ihevce_rc_init()
802 ps_rc_ctxt->ps_rc_quant_ctxt->i1_qp_offset) <= in ihevce_rc_init()
805 ps_rc_ctxt->ai4_init_qp[i] = (ps_rc_ctxt->ps_rc_quant_ctxt->pi4_qp_to_qscale in ihevce_rc_init()
807 ps_rc_ctxt->ps_rc_quant_ctxt->i1_qp_offset] + in ihevce_rc_init()
814 (ps_rc_ctxt->ps_rc_quant_ctxt->pi4_qp_to_qscale[i4_max_qp] + in ihevce_rc_init()
819 ps_rc_ctxt->ps_rc_quant_ctxt->i2_min_qscale; /*min qp for each picture type*/ in ihevce_rc_init()
820 ps_rc_ctxt->ai4_min_max_qp[i * 2 + 1] = ps_rc_ctxt->ps_rc_quant_ctxt->i2_max_qscale >> in ihevce_rc_init()
847 ps_rc_ctxt->ps_rc_quant_ctxt->i1_qp_offset) <= i4_max_qp) in ihevce_rc_init()
849 ps_rc_ctxt->ai4_init_qp[i] = (ps_rc_ctxt->ps_rc_quant_ctxt->pi4_qp_to_qscale in ihevce_rc_init()
[all …]
Dihevce_frame_process_utils.c160 rc_quant_t *ps_rc_quant_ctxt) in ihevce_get_cur_frame_qp() argument
166 ASSERT((min_qp >= ps_rc_quant_ctxt->i2_min_qp) && (min_qp <= ps_rc_quant_ctxt->i2_max_qp)); in ihevce_get_cur_frame_qp()
168 (static_params_frame_qp >= ps_rc_quant_ctxt->i2_min_qp) && in ihevce_get_cur_frame_qp()
169 (static_params_frame_qp <= ps_rc_quant_ctxt->i2_max_qp)); in ihevce_get_cur_frame_qp()
Dihevce_ipe_pass.c229 ps_ctxt->ps_rc_quant_ctxt); in ihevce_ipe_recompute_lambda_from_min_8x8_act_in_ctb()
370 rc_quant_t *ps_rc_quant_ctxt, in ihevce_ipe_init() argument
387 ps_ctxt->ps_rc_quant_ctxt = ps_rc_quant_ctxt; in ihevce_ipe_init()
1246 ps_ctxt->ps_rc_quant_ctxt->i2_min_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset; in ihevce_populate_ipe_ol_cu_lambda_prms()
1247 i4_curr_cu_qp <= ps_ctxt->ps_rc_quant_ctxt->i2_max_qp; in ihevce_populate_ipe_ol_cu_lambda_prms()
1439 rc_quant_t *ps_rc_quant_ctxt, in ihevce_populate_ipe_frame_init() argument
1452 ps_ctxt->ps_rc_quant_ctxt = ps_rc_quant_ctxt; in ihevce_populate_ipe_frame_init()
1454 ps_ctxt->ps_rc_quant_ctxt in ihevce_populate_ipe_frame_init()
1455 ->pi4_qp_to_qscale[i4_curr_frm_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]; in ihevce_populate_ipe_frame_init()
1457 ps_ctxt->i4_frm_qp = i4_curr_frm_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset; in ihevce_populate_ipe_frame_init()
Dihevce_ipe_pass.h117 rc_quant_t *ps_rc_quant_ctxt,
160 rc_quant_t *ps_rc_quant_ctxt,
Dihevce_cabac_rdo.c141 rc_quant_t *ps_rc_quant_ctxt) in ihevce_entropy_rdo_frame_init() argument
151 (void)ps_rc_quant_ctxt; in ihevce_entropy_rdo_frame_init()
154 ASSERT((slice_qp >= ps_rc_quant_ctxt->i2_min_qp) && (slice_qp <= ps_rc_quant_ctxt->i2_max_qp)); in ihevce_entropy_rdo_frame_init()
Dihevce_recur_bracketing.c1427 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
1481 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
1627 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
1959 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
1996 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
2167 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
2200 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
2726 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
2772 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
2781 ps_ctxt->ps_rc_quant_ctxt); in ihevce_bracketing_analysis()
[all …]
Dihevce_frame_process_utils.h77 rc_quant_t *ps_rc_quant_ctxt);
Dihevce_rc_interface.h130 WORD32 ihevce_rc_get_scaled_mpeg2_qp(WORD32 i4_frame_qp, rc_quant_t *ps_rc_quant_ctxt);
139 WORD32 ihevce_rc_get_scaled_hevc_qp_from_qs_q3(WORD32 i4_frame_qs_q3, rc_quant_t *ps_rc_quant_ctxt);
Dihevce_cabac_rdo.h70 rc_quant_t *ps_rc_quant_ctxt);
Dihevce_enc_loop_pass.h83 rc_quant_t *ps_rc_quant_ctxt,
Dihevce_enc_loop_utils.c425 for(i4_curr_cu_qp = ps_ctxt->ps_rc_quant_ctxt->i2_min_qp; in ihevce_populate_cl_cu_lambda_prms()
426 i4_curr_cu_qp <= ps_ctxt->ps_rc_quant_ctxt->i2_max_qp; in ihevce_populate_cl_cu_lambda_prms()
433 i4_curr_cu_qp_offset = i4_curr_cu_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset; in ihevce_populate_cl_cu_lambda_prms()
654 ps_ctxt->i8_cl_ssd_lambda_qf_array[i4_cur_cu_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]; in ihevce_get_cl_cu_lambda_prms()
657 ->i8_cl_ssd_lambda_chroma_qf_array[chroma_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]; in ihevce_get_cl_cu_lambda_prms()
660 [chroma_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]; in ihevce_get_cl_cu_lambda_prms()
665 ps_ctxt->i4_satd_lamda_array[i4_cur_cu_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]; in ihevce_get_cl_cu_lambda_prms()
667 ps_ctxt->i4_sad_type2_lamda_array[i4_cur_cu_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset]; in ihevce_get_cl_cu_lambda_prms()
743 WORD32 cu_qp = i4_input_QP + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset; in ihevce_compute_cu_level_QP()
753 i4_max_qp_allowed = (i4_pred_qp + (25 + (ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset / 2))); in ihevce_compute_cu_level_QP()
[all …]
Dihevce_me_pass.h134 rc_quant_t *ps_rc_quant_ctxt,
Dhme_utils.c3598 rc_quant_t *ps_rc_quant_ctxt; in hme_recompute_lambda_from_min_8x8_act_in_ctb() local
3604 ps_rc_quant_ctxt = ps_ctxt->ps_rc_quant_ctxt; in hme_recompute_lambda_from_min_8x8_act_in_ctb()
3607 i4_cu_qp = ps_rc_quant_ctxt->pi4_qp_to_qscale[i4_frame_qp + ps_rc_quant_ctxt->i1_qp_offset]; in hme_recompute_lambda_from_min_8x8_act_in_ctb()
3623 if(i4_cu_qp > ps_rc_quant_ctxt->i2_max_qscale) in hme_recompute_lambda_from_min_8x8_act_in_ctb()
3624 i4_cu_qp = ps_rc_quant_ctxt->i2_max_qscale; in hme_recompute_lambda_from_min_8x8_act_in_ctb()
3625 else if(i4_cu_qp < ps_rc_quant_ctxt->i2_min_qscale) in hme_recompute_lambda_from_min_8x8_act_in_ctb()
3626 i4_cu_qp = ps_rc_quant_ctxt->i2_min_qscale; in hme_recompute_lambda_from_min_8x8_act_in_ctb()
3628 i4_cu_qp = ps_rc_quant_ctxt->pi4_qscale_to_qp[i4_cu_qp]; in hme_recompute_lambda_from_min_8x8_act_in_ctb()
3631 if(i4_cu_qp > ps_rc_quant_ctxt->i2_max_qp) in hme_recompute_lambda_from_min_8x8_act_in_ctb()
3632 i4_cu_qp = ps_rc_quant_ctxt->i2_max_qp; in hme_recompute_lambda_from_min_8x8_act_in_ctb()
[all …]
Dihevce_ipe_structs.h439 rc_quant_t *ps_rc_quant_ctxt; member
Dihevce_rc_structs.h237 rc_quant_t *ps_rc_quant_ctxt; member
Dhme_interface.h712 rc_quant_t *ps_rc_quant_ctxt,
Dihevce_enc_cu_recursion.c154 i4_qscale = ((ps_ctxt->ps_rc_quant_ctxt->pi4_qp_to_qscale in ihevce_store_cu_final()
155 [ps_enc_out_ctxt->i1_cu_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset])); in ihevce_store_cu_final()
157 ps_ctxt->ps_rc_quant_ctxt in ihevce_store_cu_final()
158 … ->pi4_qp_to_qscale[ps_ctxt->i4_frame_mod_qp + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset])); in ihevce_store_cu_final()
Dihevce_me_pass.c419 rc_quant_t *ps_rc_quant_ctxt, in ihevce_me_init() argument
475 pv_me_ctxt, &as_memtabs[0], &s_hme_init_prms, ps_rc_quant_ctxt, i4_num_me_frm_pllel); in ihevce_me_init()
Dhme_interface.c2675 me_master_ctxt_t *ps_master_ctxt, hme_init_prms_t *ps_prms, rc_quant_t *ps_rc_quant_ctxt) in hme_enc_init_ctxt() argument
2704 ps_frm_ctxt->ps_rc_quant_ctxt = ps_rc_quant_ctxt; in hme_enc_init_ctxt()
2771 rc_quant_t *ps_rc_quant_ctxt, in hme_enc_init() argument
2793 hme_enc_init_ctxt(ps_ctxt, ps_prms, ps_rc_quant_ctxt); in hme_enc_init()
Dihevce_enc_loop_pass.c340 WORD32 i4_best_cu_qp = ps_ctxt->ps_rc_quant_ctxt->i2_min_qp - 1; in ihevce_cu_mode_decide()
1335 ASSERT(i4_best_cu_qp > (ps_ctxt->ps_rc_quant_ctxt->i2_min_qp - 1)); in ihevce_cu_mode_decide()
4289 rc_quant_t *ps_rc_quant_ctxt, in ihevce_enc_loop_init() argument
4321 ps_ctxt->ps_rc_quant_ctxt = ps_rc_quant_ctxt; in ihevce_enc_loop_init()
6190 ps_ctxt->ps_rc_quant_ctxt = &ps_enc_ctxt->s_rc_quant; in ihevce_enc_loop_frame_init()
Dihevce_enc_loop_structs.h2537 rc_quant_t *ps_rc_quant_ctxt; member
Dhme_defs.h3184 rc_quant_t *ps_rc_quant_ctxt; member