Lines Matching refs:distortion
3444 // s->lambda= s->current_picture_ptr->quality; //FIXME qscale / ... stuff for ME rate distortion
3473 s->mb_intra=0; //for the rate distortion & bit compare functions
3837 int distortion;
3858 distortion= (unquant_coeff - dct_coeff) * (unquant_coeff - dct_coeff) - zero_distortion;
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;
3890 int score= distortion + score_tab[i-run];
3902 int score= distortion + score_tab[i-run];
3963 int unquant_coeff, score, distortion;
3974 distortion= (unquant_coeff - dc) * (unquant_coeff - dc);
3976 if((level&(~127)) == 0) score= distortion + last_length[UNI_AC_ENC_INDEX(0, level)]*lambda;
3977 else score= distortion + esc_length*lambda;