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) >>
250 COPY(lambda);
1103 if (score64 < ((s->avctx->frame_skip_factor * (int64_t)s->lambda) >> 8))
1492 s->lambda < s->avctx->lmax) {
1493 s->next_lambda = FFMAX(s->lambda + 1, s->lambda *
1752 s->lambda = s->lambda_table[mb_xy];
3043 s->lambda= s->lambda_table[0];
3046 s->lambda = s->current_picture.f.quality;
3088 // s->lambda= s->current_picture_ptr->quality; //FIXME qscale / ... stuff for ME rate distortion
3104 s->lambda= s->last_lambda_for[s->pict_type];
3106 s->lambda= s->last_lambda_for[s->last_non_b_pict_type];
3120 s->lambda = (s->lambda * s->avctx->me_penalty_compensation + 128)>>8;
3334 const int lambda= s->lambda2 >> (FF_LAMBDA_SHIFT - 6);
3466 int score= distortion + length[UNI_AC_ENC_INDEX(run, level)]*lambda;
3479 int score= distortion + last_length[UNI_AC_ENC_INDEX(run, level)]*lambda;
3490 distortion += esc_length*lambda;
3527 if(score_tab[ survivor[survivor_count-1] ] <= best_score + lambda)
3539 if(i) score += lambda*2; //FIXME exacter?
3579 if((level&(~127)) == 0) score= distortion + last_length[UNI_AC_ENC_INDEX(0, level)]*lambda;
3580 else score= distortion + esc_length*lambda;
3643 int lambda;
3714 lambda= sum*(uint64_t)s->lambda2 >> (FF_LAMBDA_SHIFT - 6 + 6 + 6 + 6);
3907 score *= lambda;
3910 assert((score < 100*lambda && score > -100*lambda) || lambda==0);