Lines Matching defs:stride
74 uint8_t *from, int offset, int height, int stride)
96 memcpy(&to[i*stride+width], &from[(from_y+i)*stride], overflow);
101 memcpy(&to[i*stride], &from[(from_y+i)*stride+from_x], width);
107 static inline void draw_n_color(uint8_t *out, int stride, int width,
117 out[x + y*stride] = cols[col & ((1 << bpp) - 1)];
133 int stride, ret, i, x, y, b, bt = 0;
143 stride = newpic->linesize[0];
156 out = newpic->data[0] + y * stride;
170 if ((ret = copy_block(avctx, out, copy_from, offset, 8, stride)) < 0)
187 if ((ret = copy_block(avctx, &out[j*stride+i],
188 copy_from, offset, 4, stride)) < 0)
197 draw_n_color(out + i*stride, stride, 8, 1, 1, cols,
210 draw_n_color(out + i + j*stride, stride, 4, 4,
214 draw_n_color(out + i + j*stride, stride, 4, 4,
218 draw_n_color(out + i + j*stride, stride, 4, 4,
230 bytestream2_get_buffer(&gb, out + j*stride, 8);