Lines Matching refs:dst
236 uint8_t *src, *dst;
240 dst = plane->pixels[ctx->buf_sel] + offset_dst;
264 for (; w >= 4; src += 16, dst += 16, w -= 4)
265 ctx->hdsp.put_pixels_tab[0][0](dst, src, plane->pitch, h);
270 ctx->hdsp.put_pixels_tab[1][0](dst, src, plane->pitch, h);
273 dst += 8;
275 ctx->hdsp.put_pixels_tab[2][0](dst, src, plane->pitch, h);
278 dst += 4;
287 #define AVG_32(dst, src, ref) \
288 AV_WN32A(dst, ((AV_RN32(src) + AV_RN32(ref)) >> 1) & 0x7F7F7F7FUL)
290 #define AVG_64(dst, src, ref) \
291 AV_WN64A(dst, ((AV_RN64(src) + AV_RN64(ref)) >> 1) & 0x7F7F7F7F7F7F7F7FULL)
322 static inline void fill_64(uint8_t *dst, const uint64_t pix, int32_t n,
325 for (; n > 0; dst += row_offset, n--)
326 AV_WN64A(dst, pix);
347 copy_block4(dst, ref, row_offset, row_offset, 4 << v_zoom)
353 fill_64(dst + row_offset, pix64, 7, row_offset);\
354 AVG_64(dst, ref, dst + row_offset);\
356 fill_64(dst, pix64, 8, row_offset)
359 copy_block4(dst, ref, row_offset, row_offset, num_lines << v_zoom)
365 fill_64(dst + row_offset, pix64, (num_lines << 1) - 1, row_offset);\
366 AVG_64(dst, ref, dst + row_offset);\
368 fill_64(dst, pix64, num_lines << 1, row_offset)
371 AV_WN16A(dst + line_offset ,\
373 AV_WN16A(dst + line_offset + 2,\
377 AV_COPY32U(dst, dst + row_offset);\
379 AVG_32(dst, ref, dst + row_offset);\
386 AV_WN32A(dst + row_offset , \
388 AV_WN32A(dst + row_offset + 4, \
391 AV_WN32A(dst + row_offset , \
393 AV_WN32A(dst + row_offset + 4, \
400 AV_COPY64U(dst, dst + row_offset);\
402 AVG_64(dst, ref, dst + row_offset);
407 AV_WN32A(dst , \
408 (AV_RN32(dst ) + delta_tab->deltas_m10[dyad1]) & 0x7F7F7F7F);\
409 AV_WN32A(dst + 4 , \
410 (AV_RN32(dst + 4 ) + delta_tab->deltas_m10[dyad2]) & 0x7F7F7F7F);\
411 AV_WN32A(dst + row_offset , \
412 (AV_RN32(dst + row_offset ) + delta_tab->deltas_m10[dyad1]) & 0x7F7F7F7F);\
413 AV_WN32A(dst + row_offset + 4, \
414 (AV_RN32(dst + row_offset + 4) + delta_tab->deltas_m10[dyad2]) & 0x7F7F7F7F);\
416 AV_WN16A(dst , \
417 (AV_RN16(dst ) + delta_tab->deltas[dyad1]) & 0x7F7F);\
418 AV_WN16A(dst + 2 , \
419 (AV_RN16(dst + 2 ) + delta_tab->deltas[dyad2]) & 0x7F7F);\
420 AV_WN16A(dst + row_offset , \
421 (AV_RN16(dst + row_offset ) + delta_tab->deltas[dyad1]) & 0x7F7F);\
422 AV_WN16A(dst + row_offset + 2, \
423 (AV_RN16(dst + row_offset + 2) + delta_tab->deltas[dyad2]) & 0x7F7F);\
435 uint8_t code, *dst, *ref;
451 dst = block;
553 dst += row_offset * (num_lines << v_zoom);
1023 * @param[out] dst pointer to the buffer receiving converted pixels
1027 static void output_plane(const Plane *plane, int buf_sel, uint8_t *dst,
1038 AV_WN32A(dst, (AV_RN32A(src) & 0x7F7F7F7F) << 1);
1040 dst += 4;
1044 *dst++ = *src++ << 1;
1047 dst += dst_pitch - plane->width;