Home
last modified time | relevance | path

Searched refs:f_qp (Results 1 – 1 of 1) 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()