Lines Matching defs:distortion
3502 // s->lambda= s->current_picture_ptr->quality; //FIXME qscale / ... stuff for ME rate distortion
3531 s->mb_intra=0; //for the rate distortion & bit compare functions
3929 int distortion;
3953 distortion= (unquant_coeff - dct_coeff) * (unquant_coeff - dct_coeff) - zero_distortion;
3958 int score= distortion + length[UNI_AC_ENC_INDEX(run, level)]*lambda;
3971 int score= distortion + last_length[UNI_AC_ENC_INDEX(run, level)]*lambda;
3982 distortion += esc_length*lambda;
3985 int score= distortion + score_tab[i-run];
3997 int score= distortion + score_tab[i-run];
4059 int unquant_coeff, score, distortion;
4070 distortion= (unquant_coeff - dc) * (unquant_coeff - dc);
4072 if((level&(~127)) == 0) score= distortion + last_length[UNI_AC_ENC_INDEX(0, level)]*lambda;
4073 else score= distortion + esc_length*lambda;