Lines Matching refs:lambda
853 static inline int get_penalty_factor(int lambda, int lambda2, int type){
857 return lambda>>FF_LAMBDA_SHIFT;
859 return (3*lambda)>>(FF_LAMBDA_SHIFT+1);
861 return (4*lambda)>>(FF_LAMBDA_SHIFT);
863 return (2*lambda)>>(FF_LAMBDA_SHIFT);
866 return (2*lambda)>>FF_LAMBDA_SHIFT;
896 c->penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_cmp);
897 c->sub_penalty_factor= get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_sub_cmp);
898 c->mb_penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->mb_cmp);
1094 c->pre_penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_pre_cmp);
1147 c->penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_cmp);
1148 c->sub_penalty_factor= get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_sub_cmp);
1149 c->mb_penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->mb_cmp);