Lines Matching defs:bx
429 Y = (ctx->cur?ctx->Y2:ctx->Y1) + by * 4 * Ystride + bx * 4;\
430 V = (ctx->cur?ctx->V2:ctx->V1) + by * 2 * Vstride + bx * 2;\
431 U = (ctx->cur?ctx->U2:ctx->U1) + by * 2 * Ustride + bx * 2;\
432 last = ctx->last + bx * 4;\
433 clast = ctx->clast + bx * 4;
443 Yo = (ctx->cur?ctx->Y1:ctx->Y2) + by * 4 * oYstride + bx * 4;\
444 Vo = (ctx->cur?ctx->V1:ctx->V2) + by * 2 * oVstride + bx * 2;\
445 Uo = (ctx->cur?ctx->U1:ctx->U2) + by * 2 * oUstride + bx * 2;
486 static inline void tm2_low_chroma(int *data, int stride, int *clast, unsigned *CD, int *deltas, int bx)
492 if (bx > 0)
505 static inline void tm2_hi_res_block(TM2Context *ctx, AVFrame *pic, int bx, int by)
526 static inline void tm2_med_res_block(TM2Context *ctx, AVFrame *pic, int bx, int by)
535 tm2_low_chroma(U, Ustride, clast, ctx->CD, deltas, bx);
539 tm2_low_chroma(V, Vstride, clast + 2, ctx->CD + 2, deltas, bx);
548 static inline void tm2_low_res_block(TM2Context *ctx, AVFrame *pic, int bx, int by)
558 tm2_low_chroma(U, Ustride, clast, ctx->CD, deltas, bx);
562 tm2_low_chroma(V, Vstride, clast + 2, ctx->CD + 2, deltas, bx);
573 if (bx > 0)
589 static inline void tm2_null_res_block(TM2Context *ctx, AVFrame *pic, int bx, int by)
600 tm2_low_chroma(U, Ustride, clast, ctx->CD, deltas, bx);
603 tm2_low_chroma(V, Vstride, clast + 2, ctx->CD + 2, deltas, bx);
611 if (bx > 0)
636 static inline void tm2_still_block(TM2Context *ctx, AVFrame *pic, int bx, int by)
671 static inline void tm2_update_block(TM2Context *ctx, AVFrame *pic, int bx, int by)
711 static inline void tm2_motion_block(TM2Context *ctx, AVFrame *pic, int bx, int by)
719 mx = av_clip(mx, -(bx * 4 + 4), ctx->avctx->width - bx * 4);
722 if (4*bx+mx<0 || 4*by+my<0 || 4*bx+mx+4 > ctx->avctx->width || 4*by+my+4 > ctx->avctx->height) {