Searched refs:rebase_swizzle (Results 1 – 3 of 3) sorted by relevance
72 uint8_t *rebase_swizzle, in compute_rebased_rgba_component_mapping() argument77 if (rebase_swizzle) { in compute_rebased_rgba_component_mapping()79 if (rebase_swizzle[i] > MESA_FORMAT_SWIZZLE_W) in compute_rebased_rgba_component_mapping()80 rebased_src2rgba[i] = rebase_swizzle[i]; in compute_rebased_rgba_component_mapping()82 rebased_src2rgba[i] = src2rgba[rebase_swizzle[i]]; in compute_rebased_rgba_component_mapping()102 uint8_t *rebase_swizzle, uint8_t *src2dst) in compute_src2dst_component_mapping() argument106 if (!rebase_swizzle) { 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()[all …]
442 uint8_t rebase_swizzle[4]; in read_rgba_pixels() local476 rebase_swizzle[0] = MESA_FORMAT_SWIZZLE_X; in read_rgba_pixels()477 rebase_swizzle[1] = MESA_FORMAT_SWIZZLE_ZERO; in read_rgba_pixels()478 rebase_swizzle[2] = MESA_FORMAT_SWIZZLE_ZERO; in read_rgba_pixels()479 rebase_swizzle[3] = MESA_FORMAT_SWIZZLE_ONE; in read_rgba_pixels()482 rebase_swizzle[0] = MESA_FORMAT_SWIZZLE_X; in read_rgba_pixels()483 rebase_swizzle[1] = MESA_FORMAT_SWIZZLE_ZERO; in read_rgba_pixels()484 rebase_swizzle[2] = MESA_FORMAT_SWIZZLE_ZERO; in read_rgba_pixels()485 rebase_swizzle[3] = MESA_FORMAT_SWIZZLE_W; in read_rgba_pixels()489 rebase_swizzle); in read_rgba_pixels()[all …]
238 size_t width, size_t height, uint8_t *rebase_swizzle);