Home
last modified time | relevance | path

Searched refs:mv_penalty (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmotion_est_template.c37 const uint8_t *mv_penalty = c->current_mv_penalty; \
46 d += (mv_penalty[hx - pred_x] + mv_penalty[hy - pred_y])*penalty_factor;\
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()
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;\
241 dmin += (mv_penalty[4*mx - pred_x] + mv_penalty[4*my - pred_y])*penalty_factor; in qpel_motion_search()
[all …]
Dmotion_est.c390 d += (mv_penalty[pen_x + x] + mv_penalty[pen_y + y])*penalty_factor;\
583 const uint8_t *mv_penalty = c->current_mv_penalty; in h263_mv4_search() local
663 dmin_sum+= (mv_penalty[mx4-pred_x4] + mv_penalty[my4-pred_y4])*c->mb_penalty_factor; in h263_mv4_search()
748 const uint8_t * const mv_penalty = c->current_mv_penalty; in interlaced_search() local
820 … dmin+= (mv_penalty[mx_i-c->pred_x] + mv_penalty[my_i-c->pred_y] + 1)*c->mb_penalty_factor; in interlaced_search()
909 c->current_mv_penalty= c->mv_penalty[s->f_code] + MAX_DMV; in ff_estimate_p_frame_motion()
1076 c->current_mv_penalty= c->mv_penalty[s->f_code] + MAX_DMV; in ff_pre_estimate_p_frame_motion()
1125 const uint8_t * const mv_penalty = c->mv_penalty[f_code] + MAX_DMV; in estimate_motion_b() local
1131 c->current_mv_penalty= mv_penalty; in estimate_motion_b()
1189 …const uint8_t * const mv_penalty_f = c->mv_penalty[s->f_code] + MAX_DMV; // f_code of the prev fra… in check_bidir_mv()
[all …]
Dmotion_est.h93 const uint8_t (*mv_penalty)[MAX_DMV * 2 + 1]; ///< bit amount needed to encode a MV member
Dituh263enc.c52 static uint8_t mv_penalty[MAX_FCODE+1][MAX_DMV*2+1]; variable
747 mv_penalty[f_code][mv+MAX_DMV]= len; in init_mv_penalty_and_fcode()
820 s->me.mv_penalty= mv_penalty; // FIXME exact table for MSMPEG4 & H.263+ in ff_h263_encode_init()
Dmpeg12enc.c57 static uint8_t mv_penalty[MAX_FCODE + 1][MAX_DMV * 2 + 1]; variable
1122 mv_penalty[f_code][mv + MAX_DMV] = len; in mpeg12_encode_init_static()
1137 s->me.mv_penalty = mv_penalty; in ff_mpeg1_encode_init()
Dsnowenc.c297 c->current_mv_penalty= c->mv_penalty[s->m.f_code=1] + MAX_DMV; in encode_q_branch()
Dmpegvideo_enc.c284 s->me.mv_penalty = default_mv_penalty; in mpv_encode_defaults()