Home
last modified time | relevance | path

Searched refs:rebase_swizzle (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/mesa/main/
H A Dformat_utils.c83 uint8_t *rebase_swizzle, in compute_rebased_rgba_component_mapping()
88 if (rebase_swizzle) { in compute_rebased_rgba_component_mapping()
90 if (rebase_swizzle[i] > MESA_FORMAT_SWIZZLE_W) in compute_rebased_rgba_component_mapping()
91 rebased_src2rgba[i] = rebase_swizzle[i]; in compute_rebased_rgba_component_mapping()
93 rebased_src2rgba[i] = src2rgba[rebase_swizzle[i]]; in compute_rebased_rgba_component_mapping()
113 uint8_t *rebase_swizzle, uint8_t *src2dst) in compute_src2dst_component_mapping()
117 if (!rebase_swizzle) { in compute_src2dst_component_mapping()
129 } else if (rebase_swizzle[rgba2dst[i]] > MESA_FORMAT_SWIZZLE_W) { in compute_src2dst_component_mapping()
130 src2dst[i] = rebase_swizzle[rgba2dst[i]]; in compute_src2dst_component_mapping()
132 src2dst[i] = src2rgba[rebase_swizzle[rgba2ds in compute_src2dst_component_mapping()
82 compute_rebased_rgba_component_mapping(uint8_t *src2rgba, uint8_t *rebase_swizzle, uint8_t *rebased_src2rgba) compute_rebased_rgba_component_mapping() argument
112 compute_src2dst_component_mapping(uint8_t *src2rgba, uint8_t *rgba2dst, uint8_t *rebase_swizzle, uint8_t *src2dst) compute_src2dst_component_mapping() argument
278 _mesa_format_convert(void *void_dst, uint32_t dst_format, size_t dst_stride, void *void_src, uint32_t src_format, size_t src_stride, size_t width, size_t height, uint8_t *rebase_swizzle) _mesa_format_convert() argument
[all...]
H A Dreadpix.c455 uint8_t rebase_swizzle[4]; in read_rgba_pixels() local
489 rebase_swizzle[0] = MESA_FORMAT_SWIZZLE_X; in read_rgba_pixels()
490 rebase_swizzle[1] = MESA_FORMAT_SWIZZLE_ZERO; in read_rgba_pixels()
491 rebase_swizzle[2] = MESA_FORMAT_SWIZZLE_ZERO; in read_rgba_pixels()
492 rebase_swizzle[3] = MESA_FORMAT_SWIZZLE_ONE; in read_rgba_pixels()
495 rebase_swizzle[0] = MESA_FORMAT_SWIZZLE_X; in read_rgba_pixels()
496 rebase_swizzle[1] = MESA_FORMAT_SWIZZLE_ZERO; in read_rgba_pixels()
497 rebase_swizzle[2] = MESA_FORMAT_SWIZZLE_ZERO; in read_rgba_pixels()
498 rebase_swizzle[3] = MESA_FORMAT_SWIZZLE_W; in read_rgba_pixels()
502 rebase_swizzle); in read_rgba_pixels()
[all...]
H A Dformat_utils.h65 size_t width, size_t height, uint8_t *rebase_swizzle);

Completed in 2 milliseconds