Searched refs:me_ctx (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | motion_estimation.c | 33 cost = me_ctx->get_cost(me_ctx, x_mb, y_mb, x, y);\ 45 void ff_me_init_context(AVMotionEstContext *me_ctx, int mb_size, int search_param, in ff_me_init_context() argument 48 me_ctx->width = width; in ff_me_init_context() 49 me_ctx->height = height; in ff_me_init_context() 50 me_ctx->mb_size = mb_size; in ff_me_init_context() 51 me_ctx->search_param = search_param; in ff_me_init_context() 52 me_ctx->get_cost = &ff_me_cmp_sad; in ff_me_init_context() 53 me_ctx->x_min = x_min; in ff_me_init_context() 54 me_ctx->x_max = x_max; in ff_me_init_context() 55 me_ctx->y_min = y_min; in ff_me_init_context() [all …]
|
D | vf_minterpolate.c | 168 AVMotionEstContext me_ctx; member 259 static uint64_t get_sbad(AVMotionEstContext *me_ctx, int x, int y, int x_mv, int y_mv) in get_sbad() argument 261 uint8_t *data_cur = me_ctx->data_cur; in get_sbad() 262 uint8_t *data_next = me_ctx->data_ref; in get_sbad() 263 int linesize = me_ctx->linesize; in get_sbad() 269 x = av_clip(x, me_ctx->x_min, me_ctx->x_max); in get_sbad() 270 y = av_clip(y, me_ctx->y_min, me_ctx->y_max); in get_sbad() 271 …mv_x = av_clip(x_mv - x, -FFMIN(x - me_ctx->x_min, me_ctx->x_max - x), FFMIN(x - me_ctx->x_min, me… in get_sbad() 272 …mv_y = av_clip(y_mv - y, -FFMIN(y - me_ctx->y_min, me_ctx->y_max - y), FFMIN(y - me_ctx->y_min, me… in get_sbad() 277 for (j = 0; j < me_ctx->mb_size; j++) in get_sbad() [all …]
|
D | motion_estimation.h | 60 uint64_t (*get_cost)(struct AVMotionEstContext *me_ctx, int x_mb, int y_mb, 64 void ff_me_init_context(AVMotionEstContext *me_ctx, int mb_size, int search_param, 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); [all …]
|
D | vf_mestimate.c | 36 AVMotionEstContext me_ctx; member 112 …ff_me_init_context(&s->me_ctx, s->mb_size, s->search_param, inlink->w, inlink->h, 0, (s->b_width -… in config_input() 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],… 153 AVMotionEstContext *me_ctx = &s->me_ctx; in filter_frame() local 192 me_ctx->data_cur = s->cur->data[0]; in filter_frame() 193 me_ctx->linesize = s->cur->linesize[0]; in filter_frame() 196 me_ctx->data_ref = (dir ? s->next : s->prev)->data[0]; in filter_frame() 220 AVMotionEstPredictor *preds = me_ctx->preds; in filter_frame() 243 … me_ctx->pred_x = mid_pred(preds[0].mvs[1][0], preds[0].mvs[2][0], preds[0].mvs[3][0]); in filter_frame() [all …]
|