Home
last modified time | relevance | path

Searched refs:swizzle (Results 1 – 25 of 36) sorted by relevance

12

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_entry.cpp302 astcenc_swz swizzle in validate_compression_swz() argument
305 switch (static_cast<int>(swizzle)) in validate_compression_swz()
327 const astcenc_swizzle& swizzle in validate_compression_swizzle() argument
329 if (validate_compression_swz(swizzle.r) || in validate_compression_swizzle()
330 validate_compression_swz(swizzle.g) || in validate_compression_swizzle()
331 validate_compression_swz(swizzle.b) || in validate_compression_swizzle()
332 validate_compression_swz(swizzle.a)) in validate_compression_swizzle()
349 astcenc_swz swizzle in validate_decompression_swz() argument
353 switch (static_cast<int>(swizzle)) in validate_decompression_swz()
376 const astcenc_swizzle& swizzle in validate_decompression_swizzle() argument
[all …]
Dastcenc.h740 const astcenc_swizzle* swizzle,
778 const astcenc_swizzle* swizzle,
Dastcenccli_toplevel.cpp140 astcenc_swizzle swizzle; member
155 astcenc_swizzle swizzle; member
202 work->context, work->image, &work->swizzle, in compression_workload_runner()
230 work->image_out, &work->swizzle, thread_id); in decompression_workload_runner()
2097 work.swizzle = cli_config.swz_encode; in main()
2115 work.context, work.image, &work.swizzle, in main()
2162 work.swizzle = cli_config.swz_decode; in main()
2179 work.image_out, &work.swizzle, 0); in main()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format.c123 desc->swizzle[3] != PIPE_SWIZZLE_1; in util_format_has_alpha()
136 desc->swizzle[3] == PIPE_SWIZZLE_1; in util_format_has_alpha1()
147 desc->swizzle[0] == PIPE_SWIZZLE_X && in util_format_is_luminance()
148 desc->swizzle[1] == PIPE_SWIZZLE_X && in util_format_is_luminance()
149 desc->swizzle[2] == PIPE_SWIZZLE_X && in util_format_is_luminance()
150 desc->swizzle[3] == PIPE_SWIZZLE_1) { in util_format_is_luminance()
164 desc->swizzle[0] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
165 desc->swizzle[1] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
166 desc->swizzle[2] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
167 desc->swizzle[3] == PIPE_SWIZZLE_X) { in util_format_is_alpha()
[all …]
Du_format_pack.py48 swizzle = swizzles[i]
49 if swizzle < 4 and inv_swizzle[swizzle] == None:
50 inv_swizzle[swizzle] = i
475 swizzle = swizzles[i]
476 if swizzle < 4:
477 src_channel = channels[swizzle]
487 elif swizzle == SWIZZLE_0:
489 elif swizzle == SWIZZLE_1:
491 elif swizzle == SWIZZLE_NONE:
502 swizzle = swizzles[i]
[all …]
Du_format_parse.py358 swizzle = swizzles[i]
359 if swizzle < 4:
360 names[swizzle] += 'rgba'[i]
363 swizzle = swizzles[i]
364 if swizzle < 4:
365 names[swizzle] += 'zs'[i]
427 le_swizzles = [_swizzle_parse_map[swizzle] for swizzle in fields[9]]
433 be_swizzles = [_swizzle_parse_map[swizzle]
435 for swizzle in fields[15]]
Du_format.h234 unsigned char swizzle[4]; member
564 desc->swizzle[0] != PIPE_SWIZZLE_NONE; in util_format_has_depth()
571 desc->swizzle[1] != PIPE_SWIZZLE_NONE; in util_format_has_stencil()
642 unsigned depth_channel = desc->swizzle[0]; in util_get_depth_format_type()
708 if (desc->swizzle[chan] < 4) { in util_format_colormask()
828 (desc->swizzle[0] == PIPE_SWIZZLE_X || desc->swizzle[0] == PIPE_SWIZZLE_Z) && in util_format_is_rgbx_or_bgrx()
829 desc->swizzle[1] == PIPE_SWIZZLE_Y && in util_format_is_rgbx_or_bgrx()
830 (desc->swizzle[2] == PIPE_SWIZZLE_Z || desc->swizzle[2] == PIPE_SWIZZLE_X) && in util_format_is_rgbx_or_bgrx()
831 desc->swizzle[3] == PIPE_SWIZZLE_1; in util_format_is_rgbx_or_bgrx()
984 switch (desc->swizzle[component]) { in util_format_get_component_bits()
Du_format_table.py182 swizzle = swizzles[i]
191 print(" %s%s\t/* %s */" % (swizzle_map[swizzle], sep, comment))
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_viewport_swizzle.adoc20 This extension provides a new per-viewport swizzle that can modify the
22 New viewport swizzle state is added for each viewport, and a new position
26 This new viewport swizzle is useful for a number of algorithms, including
29 The per-viewport component remapping and negation provided by the swizzle
48 viewport swizzle could potentially be performed before or after transform
51 This specification applies the viewport mask and swizzle after transform
148 Each face also has a separate swizzle, programmed via the
150 The viewport swizzle feature performs the coordinate transformation handled
159 The viewport swizzle would transform the position to be face-relative, but
172 viewport swizzle does not support arbitrary math.
[all …]
DVK_EXT_border_color_swizzle.adoc30 work-around for implementations that must pre-swizzle the sampler border
34 black border color and image views with a non-identity component swizzle,
DVK_KHR_sampler_ycbcr_conversion.adoc65 ** Higher bit depth formats, renaming, swizzle
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dsimd_vec4.hpp138 fvec4SIMD& swizzle();
140 fvec4SIMD swizzle() const;
142 fvec4SIMD swizzle() const;
144 fvec4SIMD swizzle() const;
146 fvec4SIMD swizzle() const;
Dsimd_vec4.inl159 GLM_FUNC_QUALIFIER fvec4SIMD fvec4SIMD::swizzle() const function in glm::detail::fvec4SIMD
168 GLM_FUNC_QUALIFIER fvec4SIMD& fvec4SIMD::swizzle() function in glm::detail::fvec4SIMD
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dtype_precision.inl2 /// @file glm/gtc/swizzle.inl
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_format.c412 VkComponentSwizzle swizzle[4] = { mapping.r, mapping.g, mapping.b, mapping.a }; in vk_component_mapping_to_pipe_swizzle() local
414 switch (swizzle[i]) { in vk_component_mapping_to_pipe_swizzle()
630 VkComponentSwizzle swizzle, in swizzled_color_component() argument
633 switch (swizzle) { in swizzled_color_component()
647 VkComponentMapping swizzle, bool is_int) in vk_swizzle_color_value() argument
650 swizzled_color_component(&color, swizzle.r, 0, is_int), in vk_swizzle_color_value()
651 swizzled_color_component(&color, swizzle.g, 1, is_int), in vk_swizzle_color_value()
652 swizzled_color_component(&color, swizzle.b, 2, is_int), in vk_swizzle_color_value()
653 swizzled_color_component(&color, swizzle.a, 3, is_int), in vk_swizzle_color_value()
Dvk_format.h243 VkComponentMapping swizzle, bool is_int);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dfragmentdensitymapops.adoc19 ** <<fragmentdensitymap-component-swizzle,Component swizzle>>
98 [[fragmentdensitymap-component-swizzle]]
102 fetched texel as defined in <<textures-component-swizzle,Image component
103 swizzle>>.
Dvertexpostproc.adoc17 * Viewport swizzle (see <<vertexpostproc-viewport-swizzle,Viewport
439 [[vertexpostproc-viewport-swizzle]]
442 [open,refpage='VkPipelineViewportSwizzleStateCreateInfoNV',desc='Structure specifying swizzle appli…
444 Each primitive sent to a given viewport has a swizzle and optional: negation
446 The swizzle that is applied depends on the viewport index, and is controlled
485 [open,refpage='vkCmdSetViewportSwizzleNV',desc='Specify the viewport swizzle state dynamically for …
487 To <<pipelines-dynamic-state, dynamically set>> the viewport swizzle state,
501 This command sets the viewport swizzle state for subsequent drawing commands
530 swizzle state set to the corresponding pname:x, pname:y, pname:z and pname:w
533 determines the type of swizzle for that component.
[all …]
Dtextures.adoc407 * <<textures-component-swizzle,Component swizzle>>
431 <<textures-component-swizzle,Component swizzle>>.
466 swizzle>>.
474 swizzle>>, and
480 if specified, has a component swizzle that does not match the component
481 swizzle of the image view, and either component swizzle is not a form of
482 identity swizzle.
499 swizzle>>.
507 swizzle>>, and
978 [[textures-component-swizzle]]
[all …]
Dsamplers.adoc942 <<resources-image-views-identity-mappings,identity swizzle>>
946 <<resources-image-views-identity-mappings,identity swizzle>>,
951 <<resources-image-views-identity-mappings,identity swizzle>> or
956 <<resources-image-views-identity-mappings,identity swizzle>> or
961 <<resources-image-views-identity-mappings,identity swizzle>>, both
962 values must: be the identity swizzle
974 R, G and B components obtained by applying the pname:component swizzle
1061 These rules reflect the mapping of components after the component swizzle
1256 <<resources-image-views-identity-mappings,identity swizzle>>, and
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/
Dmathtest.adoc333 C_{rgba}[R] & \text{for RED swizzle} \\
334 C_{rgba}[G] & \text{for GREEN swizzle} \\
335 C_{rgba}[B] & \text{for BLUE swizzle} \\
336 C_{rgba}[A] & \text{for ALPHA swizzle} \\
337 0 & \text{for ZERO swizzle} \\
338 one & \text{for ONE swizzle} \\
339 C_{rgba}[R] & \text{for IDENTITY swizzle}
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_image.c355 remap_swizzle(VkComponentSwizzle swizzle, VkComponentSwizzle component) in remap_swizzle() argument
357 return swizzle == VK_COMPONENT_SWIZZLE_IDENTITY ? component : swizzle; in remap_swizzle()
478 image_view->swizzle = (VkComponentMapping) { in vk_image_view_init()
Dvk_nir_convert_ycbcr.c281 swizzle_to_component(VkComponentSwizzle swizzle) in swizzle_to_component() argument
283 switch (swizzle) { in swizzle_to_component()
Dvk_image.h268 VkComponentMapping swizzle; member
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_QNX_external_memory_screen_buffer/
Ddevice_memory.adoc105 * pname:samplerYcbcrConversionComponents is the component swizzle that

12