Lines Matching defs:dst
115 static void read4x4block(PAFVideoDecContext *c, uint8_t *dst, int width)
120 bytestream2_get_buffer(&c->gb, dst, 4);
121 dst += width;
125 static void copy_color_mask(uint8_t *dst, int width, uint8_t mask, uint8_t color)
131 dst[i] = color;
133 dst[width + i] = color;
137 static void copy_src_mask(uint8_t *dst, int width, uint8_t mask, const uint8_t *src)
143 dst[i] = src[i];
145 dst[width + i] = src[width + i];
165 uint8_t *dst, *dend, mask = 0, color = 0;
184 dst = c->frame[page] + x + y * c->width;
193 if (dst + 3 * c->width + 4 > dend)
195 read4x4block(c, dst, c->width);
197 dst += c->width * 3;
198 dst += 4;
203 dst = c->frame[c->current_frame];
208 (dst + 3 * c->width + 4 > dend) ||
211 copy_block4(dst, src, c->width, c->width, 4);
214 dst += c->width * 3;
215 dst += 4;
227 dst = c->frame[c->current_frame];
229 for (i = 0; i < c->height; i += 4, dst += c->width * 3)
230 for (j = 0; j < c->width; j += 4, dst += 4) {
252 copy_color_mask(dst + offset, c->width, mask, color);
262 copy_src_mask(dst + offset, c->width, mask, src + offset);
275 uint8_t code, *dst, *end;
351 dst = c->frame[c->current_frame];
356 bytestream2_get_bufferu(&c->gb, dst, c->video_size);
370 dst = c->frame[c->current_frame];
371 end = dst + c->video_size;
375 while (dst < end) {
385 if (dst + count > end)
388 memset(dst, bytestream2_get_byteu(&c->gb), count);
390 bytestream2_get_buffer(&c->gb, dst, count);
391 dst += count;