Lines Matching refs:distortion
3088 // s->lambda= s->current_picture_ptr->quality; //FIXME qscale / ... stuff for ME rate distortion
3110 s->mb_intra=0; //for the rate distortion & bit compare functions
3440 int distortion;
3461 distortion= (unquant_coeff - dct_coeff) * (unquant_coeff - dct_coeff) - zero_distortion;
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;
3493 int score= distortion + score_tab[i-run];
3505 int score= distortion + score_tab[i-run];
3566 int unquant_coeff, score, distortion;
3577 distortion= (unquant_coeff - dc) * (unquant_coeff - dc);
3579 if((level&(~127)) == 0) score= distortion + last_length[UNI_AC_ENC_INDEX(0, level)]*lambda;
3580 else score= distortion + esc_length*lambda;