Lines Matching refs:bh
64 static inline int block_cmp(uint8_t *src, int stride, uint8_t *src2, int stride2, int bw, int bh)
70 for(j = 0; j < bh; j++){
89 int dx, dy, tx, ty, tv, bv, bw, bh;
93 bh = FFMIN(ZMBV_BLOCK, c->avctx->height - y);
94 bv = block_cmp(src, sstride, prev, pstride, bw, bh);
96 for(ty = FFMAX(y - c->range, 0); ty < FFMIN(y + c->range, c->avctx->height - bh); ty++){
101 tv = block_cmp(src, sstride, prev + dx + dy*pstride, pstride, bw, bh);
125 int bw, bh;
183 bh = (avctx->height + 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;