Searched refs:FF_LAMBDA_SHIFT (Results 1 – 7 of 7) sorted by relevance
225 #define FF_LAMBDA_SHIFT 7 macro226 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
864 return lambda>>FF_LAMBDA_SHIFT; in get_penalty_factor()866 return (3*lambda)>>(FF_LAMBDA_SHIFT+1); in get_penalty_factor()868 return (4*lambda)>>(FF_LAMBDA_SHIFT); in get_penalty_factor()870 return (2*lambda)>>(FF_LAMBDA_SHIFT); in get_penalty_factor()873 return (2*lambda)>>FF_LAMBDA_SHIFT; in get_penalty_factor()878 return lambda2>>FF_LAMBDA_SHIFT; in get_penalty_factor()970 int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100); in ff_estimate_p_frame_motion()971 int i_score= varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*20; in ff_estimate_p_frame_motion()1052 int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100); in ff_estimate_p_frame_motion()1053 int i_score= varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*20; in ff_estimate_p_frame_motion()
140 const int lambda= s->lambda2 >> (FF_LAMBDA_SHIFT - 6); in get_p_cbp()
201 return lambda>>FF_LAMBDA_SHIFT; in get_penalty_factor()203 return (3*lambda)>>(FF_LAMBDA_SHIFT+1); in get_penalty_factor()205 return (4*lambda)>>(FF_LAMBDA_SHIFT); in get_penalty_factor()207 return (2*lambda)>>(FF_LAMBDA_SHIFT); in get_penalty_factor()210 return (2*lambda)>>FF_LAMBDA_SHIFT; in get_penalty_factor()215 return lambda2>>FF_LAMBDA_SHIFT; in get_penalty_factor()378 score += (s->lambda2*(get_rac_count(&pc)-base_bits))>>FF_LAMBDA_SHIFT; in encode_q_branch()409 iscore += (s->lambda2*(get_rac_count(&ic)-base_bits))>>FF_LAMBDA_SHIFT; in encode_q_branch()431 score2+= s->lambda2>>FF_LAMBDA_SHIFT; //FIXME exact split overhead in encode_q_branch()1700 s->m.qscale= (s->m.lambda*139 + FF_LAMBDA_SCALE*64) >> (FF_LAMBDA_SHIFT + 7); in encode_frame()[all …]
260 (2 * FF_LAMBDA_SHIFT); in svq1_encode_plane()294 FF_LAMBDA_SHIFT + 7; in svq1_encode_plane()297 FF_LAMBDA_SHIFT; in svq1_encode_plane()
184 … int diff = FFABS((ff_mpeg2_non_linear_qscale[i]<<(FF_LAMBDA_SHIFT + 6)) - (int)s->lambda * 139); in update_qscale()196 (FF_LAMBDA_SHIFT + 7); in update_qscale()201 FF_LAMBDA_SHIFT; in update_qscale()227 int qp = (lam * 139 + FF_LAMBDA_SCALE * 64) >> (FF_LAMBDA_SHIFT + 7); in ff_init_qscale_tab()1417 lambda2 = (b_lambda * b_lambda + (1 << FF_LAMBDA_SHIFT) / 2) >> in estimate_best_b_count()1418 FF_LAMBDA_SHIFT; in estimate_best_b_count()1507 rd += (out_size * lambda2) >> (FF_LAMBDA_SHIFT - 3); in estimate_best_b_count()1516 rd += (out_size * lambda2) >> (FF_LAMBDA_SHIFT - 3); in estimate_best_b_count()1940 int min_step = hq ? 1 : (1<<(FF_LAMBDA_SHIFT + 7))/139; in ff_mpv_encode_picture()2729 score += sse_mb(s) << FF_LAMBDA_SHIFT; in encode_mb_hq()[all …]
439 const int lambda = s->lambda2 >> (FF_LAMBDA_SHIFT - 6); in get_b_cbp()