Lines Matching defs:POS
28 #define POS(x, y) src[(x) + stride * (y)]
167 left[-1] = POS(-1, -1);
174 EXTEND(top + size + top_right_size, POS(size + top_right_size - 1, -1),
179 left[i] = POS(-1, i);
182 left[i] = POS(-1, i);
183 EXTEND(left + size + bottom_left_size, POS(-1, size + bottom_left_size - 1),
372 POS(x, y) = ((size - 1 - x) * left[y] + (x + 1) * top[size] +
410 AV_WN4P(&POS(j, i), a);
413 POS(0, 0) = (left[0] + 2 * dc + top[0] + 2) >> 2;
415 POS(x, 0) = (top[x] + 3 * dc + 2) >> 2;
417 POS(0, y) = (left[y] + 3 * dc + 2) >> 2;
462 POS(x , y) = ((32 - fact) * ref[x + idx + 1] +
464 POS(x + 1, y) = ((32 - fact) * ref[x + 1 + idx + 1] +
466 POS(x + 2, y) = ((32 - fact) * ref[x + 2 + idx + 1] +
468 POS(x + 3, y) = ((32 - fact) * ref[x + 3 + idx + 1] +
473 AV_WN4P(&POS(x, y), AV_RN4P(&ref[x + idx + 1]));
478 POS(0, y) = av_clip_pixel(top[0] + ((left[y] - left[-1]) >> 1));
495 POS(x, y) = ((32 - fact) * ref[y + idx + 1] +
500 POS(x, y) = ref[y + idx + 1];
505 POS(x, 0) = av_clip_pixel(left[0] + ((top[x ] - top[-1]) >> 1));
506 POS(x + 1, 0) = av_clip_pixel(left[0] + ((top[x + 1] - top[-1]) >> 1));
507 POS(x + 2, 0) = av_clip_pixel(left[0] + ((top[x + 2] - top[-1]) >> 1));
508 POS(x + 3, 0) = av_clip_pixel(left[0] + ((top[x + 3] - top[-1]) >> 1));
552 #undef POS