Lines Matching defs:stride
958 static int get_sae(uint8_t *src, int ref, int stride)
965 acc += FFABS(src[x + y * stride] - ref);
973 uint8_t *ref, int stride)
983 int offset = x + y * stride;
985 stride, 16);
986 int mean = (s->mpvencdsp.pix_sum(src + offset, stride) + 128) >> 8;
987 int sae = get_sae(src + offset, mean, stride);
1161 const int stride = p->f->linesize[plane];
1166 uint8_t *dptr = p->f->data[plane] + 8 * (x + y * stride) + off;
1167 uint8_t *rptr = ref->f->data[plane] + 8 * (x + y * stride);
1168 int v = s->mecc.frame_skip_cmp[1](s, dptr, rptr, stride, 8);
1995 static void get_visual_weight(int16_t *weight, uint8_t *ptr, int stride)
2008 int v = ptr[x2 + y2 * stride];
2539 static int sse(MpegEncContext *s, uint8_t *src1, uint8_t *src2, int w, int h, int stride){
2545 return s->mecc.sse[0](NULL, src1, src2, stride, 16);
2547 return s->mecc.sse[1](NULL, src1, src2, stride, 8);
2551 acc+= sq[src1[x + y*stride] - src2[x + y*stride]];