Lines Matching defs:POS
28 #define POS(x, y) src[(x) + stride * (y)]
166 left[-1] = POS(-1, -1);
173 EXTEND(top + size + top_right_size, POS(size + top_right_size - 1, -1),
178 left[i] = POS(-1, i);
181 left[i] = POS(-1, i);
182 EXTEND(left + size + bottom_left_size, POS(-1, size + bottom_left_size - 1),
371 POS(x, y) = ((size - 1 - x) * left[y] + (x + 1) * top[size] +
409 AV_WN4P(&POS(j, i), a);
412 POS(0, 0) = (left[0] + 2 * dc + top[0] + 2) >> 2;
414 POS(x, 0) = (top[x] + 3 * dc + 2) >> 2;
416 POS(0, y) = (left[y] + 3 * dc + 2) >> 2;
461 POS(x , y) = ((32 - fact) * ref[x + idx + 1] +
463 POS(x + 1, y) = ((32 - fact) * ref[x + 1 + idx + 1] +
465 POS(x + 2, y) = ((32 - fact) * ref[x + 2 + idx + 1] +
467 POS(x + 3, y) = ((32 - fact) * ref[x + 3 + idx + 1] +
472 AV_WN4P(&POS(x, y), AV_RN4P(&ref[x + idx + 1]));
477 POS(0, y) = av_clip_pixel(top[0] + ((left[y] - left[-1]) >> 1));
494 POS(x, y) = ((32 - fact) * ref[y + idx + 1] +
499 POS(x, y) = ref[y + idx + 1];
504 POS(x, 0) = av_clip_pixel(left[0] + ((top[x ] - top[-1]) >> 1));
505 POS(x + 1, 0) = av_clip_pixel(left[0] + ((top[x + 1] - top[-1]) >> 1));
506 POS(x + 2, 0) = av_clip_pixel(left[0] + ((top[x + 2] - top[-1]) >> 1));
507 POS(x + 3, 0) = av_clip_pixel(left[0] + ((top[x + 3] - top[-1]) >> 1));
551 #undef POS