Lines Matching refs:rgba2dst
101 compute_src2dst_component_mapping(uint8_t *src2rgba, uint8_t *rgba2dst, in compute_src2dst_component_mapping() argument
108 if (rgba2dst[i] > MESA_FORMAT_SWIZZLE_W) { in compute_src2dst_component_mapping()
109 src2dst[i] = rgba2dst[i]; in compute_src2dst_component_mapping()
111 src2dst[i] = src2rgba[rgba2dst[i]]; in compute_src2dst_component_mapping()
116 if (rgba2dst[i] > MESA_FORMAT_SWIZZLE_W) { in compute_src2dst_component_mapping()
117 src2dst[i] = rgba2dst[i]; in compute_src2dst_component_mapping()
118 } else if (rebase_swizzle[rgba2dst[i]] > MESA_FORMAT_SWIZZLE_W) { in compute_src2dst_component_mapping()
119 src2dst[i] = rebase_swizzle[rgba2dst[i]]; in compute_src2dst_component_mapping()
121 src2dst[i] = src2rgba[rebase_swizzle[rgba2dst[i]]]; in compute_src2dst_component_mapping()
275 uint8_t src2dst[4], src2rgba[4], rgba2dst[4], dst2rgba[4]; in _mesa_format_convert() local
405 invert_swizzle(rgba2dst, dst2rgba); in _mesa_format_convert()
414 compute_src2dst_component_mapping(src2rgba, rgba2dst, rebase_swizzle, in _mesa_format_convert()
532 rgba2dst, normalized, width); in _mesa_format_convert()
576 rgba2dst, normalized, width); in _mesa_format_convert()
620 rgba2dst, normalized, width); in _mesa_format_convert()