Home
last modified time | relevance | path

Searched refs:i4_qp (Results 1 – 10 of 10) sorted by relevance

/external/libhevc/encoder/
Dinit_qp.c127 WORD32 i4_qp; in get_init_qp_using_pels_bits_per_frame() local
151 X_PROD_Y_DIV_Z(i4_qp_for_one_bpp, i4_rem_pels_in_frame, i4_bits_remaining_in_frame, i4_qp); in get_init_qp_using_pels_bits_per_frame()
155 i4_qp = ((i4_qp * I_TO_P_RATIO) >> K_Q); in get_init_qp_using_pels_bits_per_frame()
161 i4_qp = ((i4_qp * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q)); in get_init_qp_using_pels_bits_per_frame()
165 i4_qp = ((i4_qp * P_TO_B_RATIO_HBR * I_TO_P_RATIO) >> (K_Q + K_Q)); in get_init_qp_using_pels_bits_per_frame()
169 if(i4_qp > ps_init_qp->i4_max_qp) in get_init_qp_using_pels_bits_per_frame()
170 i4_qp = ps_init_qp->i4_max_qp; in get_init_qp_using_pels_bits_per_frame()
171 else if(i4_qp == 0) in get_init_qp_using_pels_bits_per_frame()
172 i4_qp = 1; in get_init_qp_using_pels_bits_per_frame()
174 return i4_qp; in get_init_qp_using_pels_bits_per_frame()
Dmb_model_based.c137 WORD32 i4_qp; in get_mb_qp() local
139 i4_qp = ps_mb_rate_control->u1_frm_qp; in get_mb_qp()
142 pi4_mb_qp[0] = i4_qp; in get_mb_qp()
145 if((ps_mb_rate_control->i4_avg_activity) && (i4_qp < 100)) in get_mb_qp()
147 i4_qp = ((((2 * i4_cur_mb_activity)) + ps_mb_rate_control->i4_avg_activity) * i4_qp + in get_mb_qp()
151 if(i4_qp > ((3 * ps_mb_rate_control->u1_frm_qp) >> 1)) in get_mb_qp()
152 i4_qp = ((3 * ps_mb_rate_control->u1_frm_qp) >> 1); in get_mb_qp()
156 pi4_mb_qp[1] = i4_qp; in get_mb_qp()
Drate_control_api.c3461 i4_qp, in rc_get_qp_for_scd_frame()
3554 WORD32 i4_cur_est_texture_bits, i4_cur_est_header_bits, i4_qp, i4_tot_bits, in rc_get_bpp_based_scene_cut_qp() local
3599 i4_qp = get_init_qp_using_pels_bits_per_frame( in rc_get_bpp_based_scene_cut_qp()
3602 if(i4_qp < ps_rate_control_api->ai4_min_qp[e_pic_type]) in rc_get_bpp_based_scene_cut_qp()
3604 i4_qp = ps_rate_control_api->ai4_min_qp[e_pic_type]; in rc_get_bpp_based_scene_cut_qp()
3606 else if(i4_qp > ps_rate_control_api->ai4_max_qp[e_pic_type]) in rc_get_bpp_based_scene_cut_qp()
3608 i4_qp = ps_rate_control_api->ai4_max_qp[e_pic_type]; in rc_get_bpp_based_scene_cut_qp()
3611 return (i4_qp); in rc_get_bpp_based_scene_cut_qp()
Drc_rd_model_fix.c800 WORD32 i4_qp = ps_rd_model->ai4_avg_qp_q6[u1_curr_frame_index]; in is_qp_available() local
809 if(ps_rd_model->ai4_avg_qp_q6[u1_curr_frame_index] == i4_qp) in is_qp_available()
Dihevce_enc_structs.h2004 WORD32 i4_qp; member
Dihevce_frame_process.c4205 ->i4_qp = in ihevce_enc_frm_proc_slave_thrd()
4238 ->i4_qp = in ihevce_enc_frm_proc_slave_thrd()
/external/libavc/encoder/
Dirc_mb_model_based.c114 WORD32 i4_qp; in irc_get_mb_qp() local
116 i4_qp = ps_mb_rate_control->u1_frm_qp; in irc_get_mb_qp()
121 pi4_mb_qp[0] = i4_qp; in irc_get_mb_qp()
124 if((ps_mb_rate_control->i4_avg_activity) && (i4_qp < 100)) in irc_get_mb_qp()
126 i4_qp =((((2 * i4_cur_mb_activity)) in irc_get_mb_qp()
127 + ps_mb_rate_control->i4_avg_activity)* i4_qp in irc_get_mb_qp()
131 if(i4_qp > ((3 * ps_mb_rate_control->u1_frm_qp) >> 1)) in irc_get_mb_qp()
133 i4_qp = ((3 * ps_mb_rate_control->u1_frm_qp) >> 1); in irc_get_mb_qp()
138 pi4_mb_qp[1] = i4_qp; in irc_get_mb_qp()
Dirc_rate_control_api.c1121 WORD32 i4_qp; in irc_get_mb_level_qp() local
1122 i4_qp = irc_get_frm_level_qp(ps_rate_control_api->ps_mb_rate_control); in irc_get_mb_level_qp()
1124 pi4_mb_qp[0] = i4_qp; /* Used as feedback for the rate control */ in irc_get_mb_level_qp()
1125 pi4_mb_qp[1] = i4_qp; /* Used for quantising the MB*/ in irc_get_mb_level_qp()
/external/libhevc/decoder/
Dihevcd_structs.h768 WORD32 i4_qp; member
Dihevcd_parse_slice.c1922 ps_codec->s_parse.s_cu.i4_qp = qp; in ihevcd_parse_coding_quadtree()