Lines Matching defs:dst
54 invert_swizzle(uint8_t dst[4], const uint8_t src[4])
58 dst[0] = MESA_FORMAT_SWIZZLE_NONE;
59 dst[1] = MESA_FORMAT_SWIZZLE_NONE;
60 dst[2] = MESA_FORMAT_SWIZZLE_NONE;
61 dst[3] = MESA_FORMAT_SWIZZLE_NONE;
65 if (src[j] == i && dst[i] == MESA_FORMAT_SWIZZLE_NONE)
66 dst[i] = j;
101 /* Computes the final swizzle transform to apply from src to dst in a
109 * involved is: src -> rgba -> base -> rgba -> dst
201 uint8_t *dst, size_t dst_stride)
209 (GLsizeiptr) dst % 8 == 0) {
211 * alignment for src/dst addresses and strides.
215 GLuint64 *d = (GLuint64 *) dst;
225 GLuint *d = (GLuint *) dst + width - 1;
231 dst += dst_stride;
236 GLuint *d = (GLuint *) dst;
244 dst += dst_stride;
274 * the dst or the src -depending on whether we are doing
282 uint8_t *dst = (uint8_t *)void_dst;
320 * to the dst format from the src format may not match the requirements
333 memcpy(dst, src, width * format_size);
335 dst += dst_stride;
345 src, (float (*)[4])dst);
347 dst += dst_stride;
354 src, (uint8_t (*)[4])dst);
356 dst += dst_stride;
362 dst, dst_stride);
369 src, (uint32_t (*)[4])dst);
371 dst += dst_stride;
382 (const float (*)[4])src, dst);
384 dst += dst_stride;
392 dst, dst_stride);
396 _mesa_pack_ubyte_rgba_row(dst_format, width, src, dst);
398 dst += dst_stride;
407 (const uint32_t (*)[4])src, dst);
409 dst += dst_stride;
447 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels,
451 dst += dst_stride;
559 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels,
562 dst += dst_stride;
567 (const uint32_t (*)[4])tmp_uint + row * width, dst);
568 dst += dst_stride;
602 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels,
606 dst += dst_stride;
611 (const float (*)[4])tmp_float + row * width, dst);
612 dst += dst_stride;
646 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels,
650 dst += dst_stride;
655 (const uint8_t *)(tmp_ubyte + row * width), dst);
656 dst += dst_stride;
798 swizzle_convert_try_memcpy(void *dst,
817 memcpy(dst, src, count * num_src_channels *
1495 * means that dst[i] = CONVERT(src[swizzle[i]]). If swizzle[i] is
1497 * dst[i] will be filled with the appropreate representation of zero or one
1505 * \param[out] dst pointer to where the converted data should