Home
last modified time | relevance | path

Searched refs:f_qp (Results 1 – 3 of 3) sorted by relevance

/external/libavc/encoder/
Dirc_rd_model.c368 float x_value = 1.0, f_qp; in irc_find_qp_for_target_bits() local
378 f_qp = u4_estimated_sad / x_value; in irc_find_qp_for_target_bits()
380 f_qp = 255; in irc_find_qp_for_target_bits()
382 if(f_qp > 255) in irc_find_qp_for_target_bits()
383 f_qp = 255; in irc_find_qp_for_target_bits()
386 if(f_qp < u1_min_qp) in irc_find_qp_for_target_bits()
387 f_qp = u1_min_qp; in irc_find_qp_for_target_bits()
388 if(f_qp > u1_max_qp) in irc_find_qp_for_target_bits()
389 f_qp = u1_max_qp; in irc_find_qp_for_target_bits()
391 u1_qp = (UWORD8)(f_qp + 0.5); in irc_find_qp_for_target_bits()
/external/libhevc/encoder/
Drc_rd_model.c691 float x_value, f_qp; in find_qp_for_target_bits() local
727 f_qp = u4_estimated_sad / x_value; in find_qp_for_target_bits()
729 f_qp = 255; in find_qp_for_target_bits()
731 if(f_qp > 255) in find_qp_for_target_bits()
732 f_qp = 255; in find_qp_for_target_bits()
735 if(f_qp < u1_min_qp) in find_qp_for_target_bits()
736 f_qp = u1_min_qp; in find_qp_for_target_bits()
737 if(f_qp > u1_max_qp) in find_qp_for_target_bits()
738 f_qp = u1_max_qp; in find_qp_for_target_bits()
740 u1_qp = (UWORD8)(f_qp + 0.5); in find_qp_for_target_bits()
Dihevce_rc_interface.c3699 float f_qp; in ihevce_rc_get_scaled_mpeg2_qp_q6() local
3704 f_qp = (float)pow((float)2, ((float)(i4_frame_qp - 4) / 6)); in ihevce_rc_get_scaled_mpeg2_qp_q6()
3705 convert_float_to_fix(f_qp, &s_frame_qp); in ihevce_rc_get_scaled_mpeg2_qp_q6()