Lines Matching defs:score
1157 int score = 0;
1171 case 0: score = FFMAX(score, v); break;
1172 case 1: score += FFABS(v); break;
1182 if (score)
1183 score64 = score;
1918 int score = 0;
1941 score += tab[run];
1949 if (score >= threshold)
2492 int score;
2514 score= put_bits_count(&s->pb);
2516 score+= put_bits_count(&s->pb2);
2517 score+= put_bits_count(&s->tex_pb);
2523 score *= s->lambda2;
2524 score += sse_mb(s) << FF_LAMBDA_SHIFT;
2531 if(score<*dmin){
2532 *dmin= score;
3958 int score= distortion + length[UNI_AC_ENC_INDEX(run, level)]*lambda;
3959 score += score_tab[i-run];
3961 if(score < best_score){
3962 best_score= score;
3971 int score= distortion + last_length[UNI_AC_ENC_INDEX(run, level)]*lambda;
3972 score += score_tab[i-run];
3973 if(score < last_score){
3974 last_score= score;
3985 int score= distortion + score_tab[i-run];
3987 if(score < best_score){
3988 best_score= score;
3997 int score= distortion + score_tab[i-run];
3998 if(score < last_score){
3999 last_score= score;
4030 int score= score_tab[i];
4032 score += lambda * 2; // FIXME more exact?
4034 if(score < last_score){
4035 last_score= score;
4059 int unquant_coeff, score, distortion;
4072 if((level&(~127)) == 0) score= distortion + last_length[UNI_AC_ENC_INDEX(0, level)]*lambda;
4073 else score= distortion + esc_length*lambda;
4075 if(score < best_score){
4076 best_score= score;
4248 int score, new_coeff;
4254 score = s->mpvencdsp.try_8x8basis(rem, weight, basis[0],
4256 if(score<best_score){
4257 best_score= score;
4291 int score, new_coeff, unquant_change;
4293 score=0;
4307 score += length[UNI_AC_ENC_INDEX(run, new_level+64)]
4310 score += last_length[UNI_AC_ENC_INDEX(run, new_level+64)]
4330 score += length[UNI_AC_ENC_INDEX(run, 65)]
4334 score += length[UNI_AC_ENC_INDEX(run, 65)]
4338 score += last_length[UNI_AC_ENC_INDEX(run, 65)];
4340 score += length[UNI_AC_ENC_INDEX(prev_run, prev_level)]
4357 score += length[UNI_AC_ENC_INDEX(run + run2 + 1, next_level)]
4361 score += last_length[UNI_AC_ENC_INDEX(run + run2 + 1, next_level)]
4365 score += -last_length[UNI_AC_ENC_INDEX(run, 65)];
4367 score += last_length[UNI_AC_ENC_INDEX(prev_run, prev_level)]
4373 score *= lambda;
4376 av_assert2((score < 100*lambda && score > -100*lambda) || lambda==0);
4378 score += s->mpvencdsp.try_8x8basis(rem, weight, basis[j],
4380 if(score<best_score){
4381 best_score= score;