Lines Matching defs:plane

422                             int bx, int by, int size, int plane)
429 uint8_t *dst = frame->data[plane] + by * frame->linesize[plane] + bx;
481 dst += frame->linesize[plane];
488 int bx, int by, int size, int plane)
495 return add_coefficients(avctx, frame, bx, by, size, plane);
502 ret = add_coefficients(avctx, frame, x, y, 4, plane);
830 int pmode, int add_coeffs, int size, int plane)
834 int w = avctx->width >> !!plane, h = avctx->height >> !!plane;
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];
864 int val = left[y * frame->linesize[plane]];
868 block = frame->data[plane] + ay * frame->linesize[plane] + ax;
874 block += frame->linesize[plane];
875 left += frame->linesize[plane];
886 int left = block_sum(frame->data[plane] + ay * frame->linesize[plane] + ax - 1,
887 1, size, frame->linesize[plane]);
888 int top = block_sum(frame->data[plane] + (ay - 1) * frame->linesize[plane] + ax,
889 size, 1, frame->linesize[plane]);
893 fill = (block_sum(frame->data[plane] + ay * frame->linesize[plane] + ax - 1,
894 1, size, frame->linesize[plane]) * 2 / size + 1) / 2;
896 fill = (block_sum(frame->data[plane] + (ay - 1) * frame->linesize[plane] + ax,
897 size, 1, frame->linesize[plane]) * 2 / size + 1) / 2;
902 block_fill_simple(frame->data[plane] + ay * frame->linesize[plane] + ax,
903 size, frame->linesize[plane], fill);
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);
952 int x, int y, int pmode, int has_coeffs, int plane)
961 return predict_intra(avctx, frame, x, y, pmode, 0, 8, plane);
971 ret = predict_intra(avctx, frame, x, y, pmode, 1, 8, plane);
981 ret = predict_intra(avctx, frame, bx, by, new_pmode, flags & 1, 4, plane);