/third_party/ffmpeg/libavfilter/ |
D | motion_estimation.c | 33 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 68 data_cur += y_mb * 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 81 int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param); in ff_me_search_esa() 83 int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_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 100 int y_min = FFMAX(me_ctx->y_min, y_mb - me_ctx->search_param); in ff_me_search_tss() 102 int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max); in ff_me_search_tss() [all …]
|
D | motion_estimation.h | 60 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 …]
|
D | vf_mestimate.c | 135 const int y_mb = mb_y << s->log2_mb_size;\ 136 int mv[2] = {x_mb, y_mb};\ 137 ff_me_search_##method(me_ctx, x_mb, y_mb, mv);\ 138 …add_mv_data(((AVMotionVector *) sd->data) + mv_count++, me_ctx->mb_size, x_mb, y_mb, mv[0], mv[1],… 217 const int y_mb = mb_y << s->log2_mb_size; in filter_frame() local 218 int mv[2] = {x_mb, y_mb}; in filter_frame() 256 ff_me_search_umh(me_ctx, x_mb, y_mb, mv); in filter_frame() 259 s->mv_table[0][mb_i][dir][1] = mv[1] - y_mb; in filter_frame() 260 …v_data(((AVMotionVector *) sd->data) + mv_count++, me_ctx->mb_size, x_mb, y_mb, mv[0], mv[1], dir); in filter_frame() 269 const int y_mb = mb_y << s->log2_mb_size; in filter_frame() local [all …]
|
D | vf_minterpolate.c | 432 const int y_mb = mb_y << mi_ctx->log2_mb_size; in search_mv() local 434 int mv[2] = {x_mb, y_mb}; in search_mv() 438 ff_me_search_esa(me_ctx, x_mb, y_mb, mv); in search_mv() 441 ff_me_search_tss(me_ctx, x_mb, y_mb, mv); in search_mv() 444 ff_me_search_tdls(me_ctx, x_mb, y_mb, mv); in search_mv() 447 ff_me_search_ntss(me_ctx, x_mb, y_mb, mv); in search_mv() 450 ff_me_search_fss(me_ctx, x_mb, y_mb, mv); in search_mv() 453 ff_me_search_ds(me_ctx, x_mb, y_mb, mv); in search_mv() 456 ff_me_search_hexbs(me_ctx, x_mb, y_mb, mv); in search_mv() 515 ff_me_search_epzs(me_ctx, x_mb, y_mb, mv); in search_mv() [all …]
|