Lines Matching defs:src
130 int color_type, const uint8_t *src)
145 b = (src[src_x >> 3] >> (7 - (src_x & 7))) & 1;
159 b = (src[src_x >> 2] >> (6 - 2*(src_x & 3))) & 3;
173 b = (src[src_x >> 1] >> (4 - 4*(src_x & 1))) & 15;
184 s = src;
198 void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top,
222 dst[i] = p + src[i];
236 dst[i + 0] = r = op(r, src[i + 0], last[i + 0]); \
239 dst[i + 1] = g = op(g, src[i + 1], last[i + 1]); \
242 dst[i + 2] = b = op(b, src[i + 2], last[i + 2]); \
245 dst[i + 3] = a = op(a, src[i + 3], last[i + 3]); \
260 dst[i] = op(dst[i - bpp], src[i], last[i]); \
265 uint8_t *src, uint8_t *last, int size, int bpp)
271 memcpy(dst, src, size);
275 dst[i] = src[i];
279 unsigned s = *(int *)(src + i);
289 dsp->add_bytes_l2(dst, src, last, size);
294 dst[i] = p + src[i];
302 dst[i] = p + src[i];
310 dsp->add_paeth_prediction(dst + i, src + i, last + i, size - i, bpp);
314 ff_add_png_paeth_prediction(dst + i, src + i, last + i, size - i, bpp);
1085 const uint8_t *src = s->last_picture.f->data[0];
1103 memcpy(dst + y * dst_stride, src + y * src_stride, p->width * bpp);
1105 memcpy(dst + y * dst_stride, src + y * src_stride, s->x_offset * bpp);
1107 src + y * src_stride + (s->x_offset + s->cur_w) * bpp,
1111 memcpy(dst + y * dst_stride, src + y * src_stride, p->width * bpp);
1117 const uint8_t *background = src + src_stride * y + bpp * s->x_offset;
1641 static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
1643 PNGDecContext *psrc = src->priv_data;
1648 if (dst == src)