Searched refs:QSCALE_Q_FAC (Results 1 – 5 of 5) sorted by relevance
/external/libhevc/encoder/ |
D | rc_rd_model_fix.c | 260 SET_VARQ_FRM_FIXQ(pi4_avg_mpeg2_qp_q6[u1_frm_indx], s_avg_mpeg2_qp, QSCALE_Q_FAC); in find_model_coeffs() 448 ps_rd_model->ai4_avg_qp_q6[u1_curr_frame_index], s_avgqp_prvfrm, QSCALE_Q_FAC); in find_model_coeffs() 551 SET_VARQ_FRM_FIXQ(pi4_avg_mpeg2_qp_q6[u1_frm_indx], s_avg_mpeg2_qp, QSCALE_Q_FAC); in refine_set_of_points() 620 SET_VARQ_FRM_FIXQ(pi4_avg_mpeg2_qp_q6[u1_frm_indx], s_avg_mpeg2_qp, QSCALE_Q_FAC); in refine_set_of_points() 754 SET_VARQ_FRM_FIXQ(pi4_avg_mpeg2_qp_q6[u1_frm_indx], s_avg_mpeg2_qp, QSCALE_Q_FAC); in calc_avg_sqr_dev_for_model() 913 i4_min_mpeg2_qp_q6 = (MAX_MPEG2_QP << QSCALE_Q_FAC); in update_frame_rd_model() 1241 SET_VARQ_FRM_FIXQ(i4_avg_qp_q6, s_avg_qp, QSCALE_Q_FAC); in estimate_bits_for_qp() 1393 convert_varq_to_fixq(s_qp, &i4_qp_q6, (WORD32)QSCALE_Q_FAC); in find_qp_for_target_bits() 1445 ps_rd_model->ai4_avg_qp[u1_curr_frame_index] = (i4_avg_mp2qp_q6 >> QSCALE_Q_FAC); in add_frame_to_rd_model()
|
D | rc_cntrl_param.h | 42 #define QSCALE_Q_FAC 6 macro
|
D | ihevce_rc_interface.c | 3706 convert_varq_to_fixq(s_frame_qp, &i4_frame_qp_q6, QSCALE_Q_FAC); in ihevce_rc_get_scaled_mpeg2_qp_q6() 3708 if(i4_frame_qp_q6 < (1 << QSCALE_Q_FAC)) in ihevce_rc_get_scaled_mpeg2_qp_q6() 3709 i4_frame_qp_q6 = 1 << QSCALE_Q_FAC; in ihevce_rc_get_scaled_mpeg2_qp_q6() 3729 f_mpeg2_qp = (float)i4_frame_qp_q6 / (1 << QSCALE_Q_FAC); in ihevce_rc_get_scaled_hevce_qp_q6() 4471 (((LWORD64)1) << (SAD_BY_QSCALE_Q + QSCALE_Q_FAC - 1))) >> in ihevce_rc_update_pic_info() 4472 (SAD_BY_QSCALE_Q + QSCALE_Q_FAC)); //u4_frame_sad; in ihevce_rc_update_pic_info() 4476 (((LWORD64)1) << (SAD_BY_QSCALE_Q + QSCALE_Q_FAC - 1))) >> in ihevce_rc_update_pic_info() 4477 (SAD_BY_QSCALE_Q + QSCALE_Q_FAC)); in ihevce_rc_update_pic_info() 4489 (((LWORD64)1) << (SAD_BY_QSCALE_Q + QSCALE_Q_FAC - 1))) >> in ihevce_rc_update_pic_info() 4490 (SAD_BY_QSCALE_Q + QSCALE_Q_FAC)); in ihevce_rc_update_pic_info() [all …]
|
D | rate_control_api.c | 521 ps_rate_control_api->ai4_max_qp_q6[i] = (u4_bit_depth_based_max_qp << QSCALE_Q_FAC); in initialise_rate_control() 843 if(prev_qp_q6 == lo_dev_qp_q6 && lo_dev_qp_q6 > (1 << QSCALE_Q_FAC)) in get_min_max_qp() 1149 WORD32 i4_max_frame_qp_q6 = (MAX_MPEG2_QP << QSCALE_Q_FAC), in get_frame_level_qp() 1185 (ps_rate_control_api->ai4_prev_frm_qp[i4_scene_num][e_pic_type] >> QSCALE_Q_FAC); in get_frame_level_qp() 1432 i4_frame_qp_q6 = i4_frame_qp << QSCALE_Q_FAC; in get_frame_level_qp() 1517 i4_frame_qp = ((i4_frame_qp_q6 + (1 << (QSCALE_Q_FAC - 1))) >> QSCALE_Q_FAC); in get_frame_level_qp()
|
D | bit_allocation.c | 474 i4_offset = (ps_gop->ai4_q6_frame_offsets[i4_frame_num] * 1000) >> QSCALE_Q_FAC; in get_bits_based_on_complexity()
|