Lines Matching defs:src2rgba
82 compute_rebased_rgba_component_mapping(uint8_t *src2rgba,
93 rebased_src2rgba[i] = src2rgba[rebase_swizzle[i]];
96 /* No rebase needed, so src2rgba is all that we need */
97 memcpy(rebased_src2rgba, src2rgba, 4 * sizeof(uint8_t));
105 * between array formats where we have a src2rgba swizzle, a rgba2dst swizzle
112 compute_src2dst_component_mapping(uint8_t *src2rgba, uint8_t *rgba2dst,
122 src2dst[i] = src2rgba[rgba2dst[i]];
132 src2dst[i] = src2rgba[rebase_swizzle[rgba2dst[i]]];
286 uint8_t src2dst[4], src2rgba[4], rgba2dst[4], dst2rgba[4];
423 _mesa_array_format_get_swizzle(src_array_format, src2rgba);
443 compute_src2dst_component_mapping(src2rgba, rgba2dst, rebase_swizzle,
533 compute_rebased_rgba_component_mapping(src2rgba, rebase_swizzle,
577 compute_rebased_rgba_component_mapping(src2rgba, rebase_swizzle,
621 compute_rebased_rgba_component_mapping(src2rgba, rebase_swizzle,