Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dmotion_estimation.c33 cost = me_ctx->get_cost(me_ctx, x_mb, y_mb, x, y);\
59 uint64_t ff_me_cmp_sad(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int x_mv, int y_mv) in ff_me_cmp_sad() argument
72 sad += FFABS(data_ref[x_mv + i + j * linesize] - data_cur[x_mb + i + j * linesize]); in ff_me_cmp_sad()
77 uint64_t ff_me_search_esa(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) in ff_me_search_esa() argument
80 int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param); in ff_me_search_esa()
82 int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max); in ff_me_search_esa()
86 if (!(cost_min = me_ctx->get_cost(me_ctx, x_mb, y_mb, x_mb, y_mb))) in ff_me_search_esa()
96 uint64_t ff_me_search_tss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) in ff_me_search_tss() argument
99 int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param); in ff_me_search_tss()
101 int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max); in ff_me_search_tss()
[all …]
Dmotion_estimation.h60 uint64_t (*get_cost)(struct AVMotionEstContext *me_ctx, int x_mb, int y_mb,
67 uint64_t ff_me_cmp_sad(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int x_mv, int y_mv);
69 uint64_t ff_me_search_esa(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
71 uint64_t ff_me_search_tss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
73 uint64_t ff_me_search_tdls(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
75 uint64_t ff_me_search_ntss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
77 uint64_t ff_me_search_fss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
79 uint64_t ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
81 uint64_t ff_me_search_hexbs(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
83 uint64_t ff_me_search_epzs(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
[all …]
Dvf_mestimate.c131 const int x_mb = mb_x << s->log2_mb_size;\
133 int mv[2] = {x_mb, y_mb};\
134 ff_me_search_##method(me_ctx, x_mb, y_mb, mv);\
135 …add_mv_data(((AVMotionVector *) sd->data) + mv_count++, me_ctx->mb_size, x_mb, y_mb, mv[0], mv[1],…
213 const int x_mb = mb_x << s->log2_mb_size; in filter_frame() local
215 int mv[2] = {x_mb, y_mb}; in filter_frame()
253 ff_me_search_umh(me_ctx, x_mb, y_mb, mv); in filter_frame()
255 s->mv_table[0][mb_i][dir][0] = mv[0] - x_mb; in filter_frame()
257 …add_mv_data(((AVMotionVector *) sd->data) + mv_count++, me_ctx->mb_size, x_mb, y_mb, mv[0], mv[1],… in filter_frame()
265 const int x_mb = mb_x << s->log2_mb_size; in filter_frame() local
[all …]
Dvf_minterpolate.c433 const int x_mb = mb_x << mi_ctx->log2_mb_size; in search_mv() local
436 int mv[2] = {x_mb, y_mb}; in search_mv()
440 ff_me_search_esa(me_ctx, x_mb, y_mb, mv); in search_mv()
443 ff_me_search_tss(me_ctx, x_mb, y_mb, mv); in search_mv()
446 ff_me_search_tdls(me_ctx, x_mb, y_mb, mv); in search_mv()
449 ff_me_search_ntss(me_ctx, x_mb, y_mb, mv); in search_mv()
452 ff_me_search_fss(me_ctx, x_mb, y_mb, mv); in search_mv()
455 ff_me_search_ds(me_ctx, x_mb, y_mb, mv); in search_mv()
458 ff_me_search_hexbs(me_ctx, x_mb, y_mb, mv); in search_mv()
517 ff_me_search_epzs(me_ctx, x_mb, y_mb, mv); in search_mv()
[all …]