Home
last modified time | relevance | path

Searched refs:mv_table (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_mestimate.c45 int (*mv_table[3])[2][2]; ///< motion vectors of current & prev 2 frames member
98 s->mv_table[i] = av_calloc(s->b_count, sizeof(*s->mv_table[0])); in config_input()
99 if (!s->mv_table[i]) in config_input()
161 s->mv_table[2] = memcpy(s->mv_table[2], s->mv_table[1], sizeof(*s->mv_table[1]) * s->b_count); in filter_frame()
162 s->mv_table[1] = memcpy(s->mv_table[1], s->mv_table[0], sizeof(*s->mv_table[0]) * s->b_count); in filter_frame()
218 … ADD_PRED(preds[0], s->mv_table[0][mb_i - 1][dir][0], s->mv_table[0][mb_i - 1][dir][1]); in filter_frame()
222 …ADD_PRED(preds[0], s->mv_table[0][mb_i - s->b_width][dir][0], s->mv_table[0][mb_i - s->b_width][di… in filter_frame()
226 …ADD_PRED(preds[0], s->mv_table[0][mb_i - s->b_width + 1][dir][0], s->mv_table[0][mb_i - s->b_width… in filter_frame()
229 …ADD_PRED(preds[0], s->mv_table[0][mb_i - s->b_width - 1][dir][0], s->mv_table[0][mb_i - s->b_width… in filter_frame()
249 s->mv_table[0][mb_i][dir][0] = mv[0] - x_mb; in filter_frame()
[all …]
Dvf_minterpolate.c183 int (*mv_table[3])[2][2]; member
383 mi_ctx->mv_table[i] = av_calloc(mi_ctx->b_count, sizeof(*mi_ctx->mv_table[0])); in config_input()
384 if (!mi_ctx->mv_table[i]) in config_input()
458 … ADD_PRED(preds[0], mi_ctx->mv_table[0][mb_i - 1][dir][0], mi_ctx->mv_table[0][mb_i - 1][dir][1]); in search_mv()
462 …ADD_PRED(preds[0], mi_ctx->mv_table[0][mb_i - mi_ctx->b_width][dir][0], mi_ctx->mv_table[0][mb_i -… in search_mv()
466 …ADD_PRED(preds[0], mi_ctx->mv_table[0][mb_i - mi_ctx->b_width + 1][dir][0], mi_ctx->mv_table[0][mb… in search_mv()
484 … ADD_PRED(preds[0], mi_ctx->mv_table[1][mb_i][dir][0], mi_ctx->mv_table[1][mb_i][dir][1]); in search_mv()
487 …ADD_PRED(preds[1], mi_ctx->mv_table[1][mb_i][dir][0] + (mi_ctx->mv_table[1][mb_i][dir][0] - mi_ctx… in search_mv()
488 …mi_ctx->mv_table[1][mb_i][dir][1] + (mi_ctx->mv_table[1][mb_i][dir][1] - mi_ctx->mv_table[2][mb_i]… in search_mv()
492 … ADD_PRED(preds[1], mi_ctx->mv_table[1][mb_i - 1][dir][0], mi_ctx->mv_table[1][mb_i - 1][dir][1]); in search_mv()
[all …]
/third_party/ffmpeg/libavcodec/
Dmotion_est.c768 int16_t (*mv_table)[2]= mv_tables[block][field_select]; in interlaced_search() local
777 P_LEFT[0] = mv_table[xy - 1][0]; in interlaced_search()
778 P_LEFT[1] = mv_table[xy - 1][1]; in interlaced_search()
785 P_TOP[0] = mv_table[xy - mot_stride][0]; in interlaced_search()
786 P_TOP[1] = mv_table[xy - mot_stride][1]; in interlaced_search()
787 P_TOPRIGHT[0] = mv_table[xy - mot_stride + 1][0]; in interlaced_search()
788 P_TOPRIGHT[1] = mv_table[xy - mot_stride + 1][1]; in interlaced_search()
800 …dmin = epzs_motion_search2(s, &mx_i, &my_i, P, block, field_select+ref_index, mv_table, (1<<16)>>1… in interlaced_search()
804 mv_table[xy][0]= mx_i; in interlaced_search()
805 mv_table[xy][1]= my_i; in interlaced_search()
[all …]
Dmotion_est.h128 const int16_t (*mv_table)[2], int type);
132 int field_select, int16_t (*mv_table)[2], int f_code,
Dvaapi_vc1.c343 … .mv_table = (v->fcm == PROGRESSIVE ? s->mv_table_index : v->imvtab), in vaapi_vc1_start_frame()