Lines Matching refs:bw
64 static inline int block_cmp(uint8_t *src, int stride, uint8_t *src2, int stride2, int bw, int bh)
71 for(i = 0; i < bw; i++)
89 int dx, dy, tx, ty, tv, bv, bw, bh;
92 bw = FFMIN(ZMBV_BLOCK, c->avctx->width - x);
94 bv = block_cmp(src, sstride, prev, pstride, bw, bh);
97 for(tx = FFMAX(x - c->range, 0); tx < FFMIN(x + c->range, c->avctx->width - bw); tx++){
101 tv = block_cmp(src, sstride, prev + dx + dy*pstride, pstride, bw, bh);
125 int bw, bh;
182 bw = (avctx->width + ZMBV_BLOCK - 1) / ZMBV_BLOCK;
185 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3);
186 work_size += (bw * bh * 2 + 3) & ~3;