Lines Matching defs:linesize

249     int linesize;
429 uint8_t *dst = frame->data[plane] + by * frame->linesize[plane] + bx;
481 dst += frame->linesize[plane];
538 return ret.block[y * ret.linesize + x];
779 static void block_fill_simple(uint8_t *block, int size, int linesize, int fill)
783 block += linesize;
787 static void block_fill(uint8_t *block, int size, int linesize,
795 bxy.linesize = linesize;
810 block[ax + x + (ay + y) * linesize] = val;
815 static int block_sum(const uint8_t *block, int w, int h, int linesize)
823 block += linesize;
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);
1126 src_linesize = s->pic[sidx]->linesize[i];
1127 dst_linesize = s->pic[s->current_pic]->linesize[i];