Home
last modified time | relevance | path

Searched refs:score1 (Results 1 - 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/x86/
H A Dme_cmp_init.c94 int score1, score2; in nsse16_mmx() local
97 score1 = c->mecc.sse[0](c, pix1, pix2, stride, h); in nsse16_mmx()
99 score1 = ff_sse16_mmx(c, pix1, pix2, stride, h); in nsse16_mmx()
104 return score1 + FFABS(score2) * c->avctx->nsse_weight; in nsse16_mmx()
106 return score1 + FFABS(score2) * 8; in nsse16_mmx()
112 int score1 = ff_sse8_mmx(c, pix1, pix2, stride, h); in nsse8_mmx() local
117 return score1 + FFABS(score2) * c->avctx->nsse_weight; in nsse8_mmx()
119 return score1 + FFABS(score2) * 8; in nsse8_mmx()
/third_party/ffmpeg/libavcodec/
H A Dcinepakenc.c268 int64_t score1, score2, score3; in calculate_mode_score() local
297 score1 = s->lambda * 9 + FF_LAMBDA_SCALE * (mberr = mb->v1_error); in calculate_mode_score()
299 score1 = s->lambda * 33 + FF_LAMBDA_SCALE * (mberr = mb->v4_error); in calculate_mode_score()
300 ret += score1; in calculate_mode_score()
305 score1 = s->lambda * 9 + FF_LAMBDA_SCALE * mb->v1_error; in calculate_mode_score()
308 if (score1 <= score2) { in calculate_mode_score()
309 ret += score1; in calculate_mode_score()
327 score1 = s->lambda * 1 + FF_LAMBDA_SCALE * mb->skip_error; in calculate_mode_score()
329 ret += score1; in calculate_mode_score()
331 if ((score2 = s->lambda * 10 + FF_LAMBDA_SCALE * mb->v1_error) >= score1) { in calculate_mode_score()
[all...]
H A Dme_cmp.c423 int score1 = 0, score2 = 0, x, y; in nsse16_c() local
427 score1 += (s1[x] - s2[x]) * (s1[x] - s2[x]); in nsse16_c()
440 return score1 + FFABS(score2) * c->avctx->nsse_weight; in nsse16_c()
442 return score1 + FFABS(score2) * 8; in nsse16_c()
448 int score1 = 0, score2 = 0, x, y; in nsse8_c() local
452 score1 += (s1[x] - s2[x]) * (s1[x] - s2[x]); in nsse8_c()
465 return score1 + FFABS(score2) * c->avctx->nsse_weight; in nsse8_c()
467 return score1 + FFABS(score2) * 8; in nsse8_c()
/third_party/ffmpeg/libavutil/
H A Dpixdesc.c2960 int score1, score2; in av_find_best_pix_fmt_of_2() local
2971 score1 = get_pix_fmt_score(dst_pix_fmt1, src_pix_fmt, &loss1, loss_mask); in av_find_best_pix_fmt_of_2()
2974 if (score1 == score2) { in av_find_best_pix_fmt_of_2()
2981 dst_pix_fmt = score1 < score2 ? dst_pix_fmt2 : dst_pix_fmt1; in av_find_best_pix_fmt_of_2()
/third_party/ffmpeg/libavfilter/
H A Davfiltergraph.c593 int score1, score2; in find_best_sample_fmt_of_2() local
595 score1 = get_fmt_score(dst_fmt1, src_fmt); in find_best_sample_fmt_of_2()
598 return score1 < score2 ? dst_fmt1 : dst_fmt2; in find_best_sample_fmt_of_2()

Completed in 9 milliseconds