/external/libhevc/encoder/ |
D | ihevce_sub_pic_rc.c | 323 (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 …]
|
D | ihevce_rc_interface.c | 220 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 …]
|
D | ihevce_frame_process_utils.c | 160 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()
|
D | ihevce_ipe_pass.c | 229 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()
|
D | ihevce_ipe_pass.h | 117 rc_quant_t *ps_rc_quant_ctxt, 160 rc_quant_t *ps_rc_quant_ctxt,
|
D | ihevce_cabac_rdo.c | 141 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()
|
D | ihevce_recur_bracketing.c | 1427 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 …]
|
D | ihevce_frame_process_utils.h | 77 rc_quant_t *ps_rc_quant_ctxt);
|
D | ihevce_rc_interface.h | 130 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);
|
D | ihevce_cabac_rdo.h | 70 rc_quant_t *ps_rc_quant_ctxt);
|
D | ihevce_enc_loop_pass.h | 83 rc_quant_t *ps_rc_quant_ctxt,
|
D | ihevce_enc_loop_utils.c | 425 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 …]
|
D | ihevce_me_pass.h | 134 rc_quant_t *ps_rc_quant_ctxt,
|
D | hme_utils.c | 3598 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 …]
|
D | ihevce_ipe_structs.h | 439 rc_quant_t *ps_rc_quant_ctxt; member
|
D | ihevce_rc_structs.h | 237 rc_quant_t *ps_rc_quant_ctxt; member
|
D | hme_interface.h | 712 rc_quant_t *ps_rc_quant_ctxt,
|
D | ihevce_enc_cu_recursion.c | 154 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()
|
D | ihevce_me_pass.c | 419 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()
|
D | hme_interface.c | 2675 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()
|
D | ihevce_enc_loop_pass.c | 340 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()
|
D | ihevce_enc_loop_structs.h | 2537 rc_quant_t *ps_rc_quant_ctxt; member
|
D | hme_defs.h | 3184 rc_quant_t *ps_rc_quant_ctxt; member
|