Lines Matching refs:ay
245 int ax, ay;
535 y = av_clip(ret.ay + ret.y, 0, ret.h - 1);
788 int w, int h, int ax, int ay,
798 bxy.ay = ay;
810 block[ax + x + (ay + y) * linesize] = val;
829 static int predict_intra(AVCodecContext *avctx, AVFrame *frame, int ax, int ay,
839 block_fill(frame->data[plane], size, frame->linesize[plane], w, h, ax, ay, pick_above);
842 block_fill(frame->data[plane], size, frame->linesize[plane], w, h, ax, ay, pick_left);
848 uint8_t *top = frame->data[plane] + FFMAX(ay - 1, 0) * frame->linesize[plane] + ax;
849 uint8_t *left = frame->data[plane] + ay * frame->linesize[plane] + FFMAX(ax - 1, 0);
850 int bottommost = frame->data[plane][(ay + size - 1) * frame->linesize[plane] + FFMAX(ax - 1, 0)];
851 int rightmost = frame->data[plane][FFMAX(ay - 1, 0) * frame->linesize[plane] + ax + size - 1];
868 block = frame->data[plane] + ay * frame->linesize[plane] + ax;
883 if (ax == 0 && ay == 0) {
885 } else if (ax >= 1 && ay >= 1) {
886 int left = block_sum(frame->data[plane] + ay * frame->linesize[plane] + ax - 1,
888 int top = block_sum(frame->data[plane] + (ay - 1) * frame->linesize[plane] + ax,
893 fill = (block_sum(frame->data[plane] + ay * frame->linesize[plane] + ax - 1,
895 } else if (ay >= 1) {
896 fill = (block_sum(frame->data[plane] + (ay - 1) * frame->linesize[plane] + ax,
902 block_fill_simple(frame->data[plane] + ay * frame->linesize[plane] + ax,
907 block_fill(frame->data[plane], size, frame->linesize[plane], w, h, ax, ay, pick_4);
910 block_fill(frame->data[plane], size, frame->linesize[plane], w, h, ax, ay, pick_5);
913 block_fill(frame->data[plane], size, frame->linesize[plane], w, h, ax, ay, pick_6);
916 block_fill(frame->data[plane], size, frame->linesize[plane], w, h, ax, ay, pick_7);
919 block_fill(frame->data[plane], size, frame->linesize[plane], w, h, ax, ay, pick_8);
924 ret = add_coefficients(avctx, frame, ax, ay, size, plane);