24 ptrdiff_t dst_stride,
const int16_t *
src0,
const int16_t *
src1,
25 const int16_t **gh,
const int16_t **gv, int16_t *vx, int16_t *vy);
28 const int16_t *_src0,
const int16_t *_src1,
29 int block_w,
int block_h) {
33 int16_t *gradient_h[2] = {&gradient_buf_h[0][1], &gradient_buf_h[1][1]};
34 int16_t *gradient_v[2] = {&gradient_buf_v[0][1], &gradient_buf_v[1][1]};
35 ptrdiff_t dst_stride = _dst_stride /
sizeof(
pixel);
51 const int16_t *gh[] = {gradient_h[0] + idx, gradient_h[1] + idx};
52 const int16_t *gv[] = {gradient_v[0] + idx, gradient_v[1] + idx};
54 int pad_mask = !x | ((!y) << 1) |