Searched refs:score2 (Results 1 - 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/x86/ |
H A D | me_cmp_init.c | 94 int score1, score2; in nsse16_mmx() local 100 score2 = ff_hf_noise16_mmx(pix1, stride, h) + ff_hf_noise8_mmx(pix1+8, 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() 113 int score2 = ff_hf_noise8_mmx(pix1, 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 D | cinepakenc.c | 268 int64_t score1, score2, score3; in calculate_mode_score() local 306 score2 = s->lambda * 33 + FF_LAMBDA_SCALE * mb->v4_error; in calculate_mode_score() 308 if (score1 <= score2) { in calculate_mode_score() 312 ret += score2; in calculate_mode_score() 331 if ((score2 = s->lambda * 10 + FF_LAMBDA_SCALE * mb->v1_error) >= score1) { in calculate_mode_score() 336 ret += score2; in calculate_mode_score() 354 score2 = s->lambda * 10 + FF_LAMBDA_SCALE * mb->v1_error; in calculate_mode_score() 357 if (score1 <= score2 && score1 <= score3) { in calculate_mode_score() 360 } else if (score2 <= score3) { in calculate_mode_score() 361 ret += score2; in calculate_mode_score() [all...] |
H A D | me_cmp.c | 423 int score1 = 0, score2 = 0, x, y; in nsse16_c() local 430 score2 += FFABS(s1[x] - s1[x + stride] - 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 455 score2 += FFABS(s1[x] - s1[x + stride] - in nsse8_c() 465 return score1 + FFABS(score2) * c->avctx->nsse_weight; in nsse8_c() 467 return score1 + FFABS(score2) * 8; in nsse8_c()
|
H A D | snowenc.c | 228 int score, score2, iscore, i_len, p_len, block_s, sum, base_bits; in encode_q_branch() local 424 score2 = encode_q_branch(s, level+1, 2*x+0, 2*y+0); in encode_q_branch() 425 score2+= encode_q_branch(s, level+1, 2*x+1, 2*y+0); in encode_q_branch() 426 score2+= encode_q_branch(s, level+1, 2*x+0, 2*y+1); in encode_q_branch() 427 score2+= encode_q_branch(s, level+1, 2*x+1, 2*y+1); in encode_q_branch() 428 score2+= s->lambda2>>FF_LAMBDA_SHIFT; //FIXME exact split overhead in encode_q_branch() 430 if(score2 < score && score2 < iscore) in encode_q_branch() 431 return score2; in encode_q_branch()
|
/third_party/ffmpeg/libavutil/ |
H A D | pixdesc.c | 2960 int score1, score2; in av_find_best_pix_fmt_of_2() local 2972 score2 = get_pix_fmt_score(dst_pix_fmt2, src_pix_fmt, &loss2, 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 D | avfiltergraph.c | 593 int score1, score2; in find_best_sample_fmt_of_2() local 596 score2 = get_fmt_score(dst_fmt2, 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 13 milliseconds