Home
last modified time | relevance | path

Searched refs:penalty_factor (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmotion_est_template.c46 d += (mv_penalty[hx - pred_x] + mv_penalty[hy - pred_y])*penalty_factor;\
58 const int penalty_factor= c->sub_penalty_factor; in hpel_motion_search() local
79 dmin += (mv_penalty[2*mx - pred_x] + mv_penalty[2*my - pred_y])*penalty_factor; in hpel_motion_search()
87 + (mv_penalty[bx - pred_x] + mv_penalty[by-2 - pred_y])*c->penalty_factor; in hpel_motion_search()
89 + (mv_penalty[bx-2 - pred_x] + mv_penalty[by - pred_y])*c->penalty_factor; in hpel_motion_search()
91 + (mv_penalty[bx+2 - pred_x] + mv_penalty[by - pred_y])*c->penalty_factor; in hpel_motion_search()
93 + (mv_penalty[bx - pred_x] + mv_penalty[by+2 - pred_y])*c->penalty_factor; in hpel_motion_search()
170 const int penalty_factor= c->mb_penalty_factor; in get_mb_score() local
187 d += (mv_penalty[mx - pred_x] + mv_penalty[my - pred_y])*penalty_factor; in get_mb_score()
203 d += (mv_penalty[hx - pred_x] + mv_penalty[hy - pred_y])*penalty_factor;\
[all …]
Dmotion_est.h62 int penalty_factor; /**< an estimate of the bits required to member
Dmotion_est.c388 d += (mv_penalty[pen_x + x] + mv_penalty[pen_y + y])*penalty_factor;\
398 const int penalty_factor= c->sub_penalty_factor; in sad_hpel_motion_search() local
904 c->penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_cmp); in ff_estimate_p_frame_motion()
1126 c->penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_cmp); in estimate_motion_b()
1494 const int penalty_factor= c->mb_penalty_factor; in ff_estimate_b_frame_motion() local
1523 3 * penalty_factor; in ff_estimate_b_frame_motion()
1527 2 * penalty_factor; in ff_estimate_b_frame_motion()
1531 fbmin= bidir_refine(s, mb_x, mb_y) + penalty_factor; in ff_estimate_b_frame_motion()
Dsnowenc.c303 c->penalty_factor = get_penalty_factor(s->lambda, s->lambda2, c->avctx->me_cmp); in encode_q_branch()
347 ref_score+= 2*av_log2(2*ref)*c->penalty_factor; in encode_q_branch()
627 const int penalty_factor= get_penalty_factor(s->lambda, s->lambda2, s->avctx->me_cmp); in get_block_rd() local
707 return distortion + rate*penalty_factor; in get_block_rd()
729 const int penalty_factor= get_penalty_factor(s->lambda, s->lambda2, s->avctx->me_cmp); in get_4block_rd() local
776 return distortion + rate*penalty_factor; in get_4block_rd()