Lines Matching refs:lambda
156 s->qscale = (s->lambda * 139 + FF_LAMBDA_SCALE * 64) >>
160 s->lambda2 = (s->lambda * s->lambda + FF_LAMBDA_SCALE / 2) >>
202 COPY(lambda);
1230 if (score64 < ((s->avctx->frame_skip_factor * (int64_t)s->lambda) >> 8))
1743 s->lambda < s->avctx->lmax) {
1744 s->next_lambda = FFMAX(s->lambda + 1, s->lambda *
2029 s->lambda = s->lambda_table[mb_xy];
3400 s->lambda= s->lambda_table[0];
3403 s->lambda = s->current_picture.f->quality;
3444 // s->lambda= s->current_picture_ptr->quality; //FIXME qscale / ... stuff for ME rate distortion
3460 s->lambda= s->last_lambda_for[s->pict_type];
3462 s->lambda= s->last_lambda_for[s->last_non_b_pict_type];
3485 s->lambda = (s->lambda * s->avctx->me_penalty_compensation + 128)>>8;
3735 const int lambda= s->lambda2 >> (FF_LAMBDA_SHIFT - 6);
3863 int score= distortion + length[UNI_AC_ENC_INDEX(run, level)]*lambda;
3876 int score= distortion + last_length[UNI_AC_ENC_INDEX(run, level)]*lambda;
3887 distortion += esc_length*lambda;
3924 if(score_tab[ survivor[survivor_count-1] ] <= best_score + lambda)
3936 if(i) score += lambda*2; //FIXME exacter?
3976 if((level&(~127)) == 0) score= distortion + last_length[UNI_AC_ENC_INDEX(0, level)]*lambda;
3977 else score= distortion + esc_length*lambda;
4040 int lambda;
4111 lambda= sum*(uint64_t)s->lambda2 >> (FF_LAMBDA_SHIFT - 6 + 6 + 6 + 6);
4305 score *= lambda;
4308 av_assert2((score < 100*lambda && score > -100*lambda) || lambda==0);