Lines Matching refs:lambda2
197 static inline int get_penalty_factor(int lambda, int lambda2, int type){ in get_penalty_factor() argument
215 return lambda2>>FF_LAMBDA_SHIFT; in get_penalty_factor()
303 c->penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_cmp); in encode_q_branch()
304 c->sub_penalty_factor= get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_sub_cmp); in encode_q_branch()
305 c->mb_penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->mb_cmp); in encode_q_branch()
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()
411 av_assert1(iscore < 255*255*256 + s->lambda2*10); in encode_q_branch()
431 score2+= s->lambda2>>FF_LAMBDA_SHIFT; //FIXME exact split overhead in encode_q_branch()
627 const int penalty_factor= get_penalty_factor(s->lambda, s->lambda2, s->avctx->me_cmp); in get_block_rd()
729 const int penalty_factor= get_penalty_factor(s->lambda, s->lambda2, s->avctx->me_cmp); in get_4block_rd()
1701 s->lambda2= s->m.lambda2= (s->m.lambda*s->m.lambda + FF_LAMBDA_SCALE/2) >> FF_LAMBDA_SHIFT; in encode_frame()