Searched refs:conversion (Results 1 - 25 of 211) sorted by relevance

123456789

/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_nir_lower_ycbcr_textures.c35 struct anv_ycbcr_conversion *conversion; member in struct:ycbcr_state
88 struct anv_ycbcr_conversion *conversion = state->conversion; local in function:implicit_downsampled_coords
93 for (c = 0; c < ARRAY_SIZE(conversion->chroma_offsets); c++) {
95 conversion->chroma_offsets[c] == VK_CHROMA_LOCATION_COSITED_EVEN) {
117 struct anv_ycbcr_conversion *conversion = state->conversion; local in function:create_plane_tex_instr_implicit
119 &conversion->format->planes[plane];
128 if (plane_format->has_chroma && conversion->chroma_reconstruction) {
245 if (sampler->conversion
[all...]
H A Danv_formats.c1623 struct anv_ycbcr_conversion *conversion; local in function:anv_CreateSamplerYcbcrConversion
1638 conversion = vk_object_zalloc(&device->vk, pAllocator, sizeof(*conversion),
1640 if (!conversion)
1643 conversion->format = anv_get_format(pCreateInfo->format);
1644 conversion->ycbcr_model = pCreateInfo->ycbcrModel;
1645 conversion->ycbcr_range = pCreateInfo->ycbcrRange;
1647 /* The Vulkan 1.1.95 spec says "When creating an external format conversion,
1651 conversion->mapping[0] = pCreateInfo->components.r;
1652 conversion
[all...]
H A DgenX_state.c740 ANV_FROM_HANDLE(anv_ycbcr_conversion, conversion,
741 pSamplerConversion->conversion);
743 /* Ignore conversion for non-YUV formats. This fulfills a requirement
748 if (conversion == NULL || !conversion->format->can_ycbcr)
751 sampler->n_planes = conversion->format->n_planes;
752 sampler->conversion = conversion;
809 sampler->conversion && sampler->conversion
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A DgenX_state.c345 ANV_FROM_HANDLE(anv_ycbcr_conversion, conversion,
346 pSamplerConversion->conversion);
348 /* Ignore conversion for non-YUV formats. This fulfills a requirement
353 if (conversion == NULL || !conversion->format->can_ycbcr)
356 sampler->n_planes = conversion->format->n_planes;
357 sampler->conversion = conversion;
389 sampler->conversion && sampler->conversion
[all...]
H A Danv_nir_lower_ycbcr_textures.c34 struct anv_ycbcr_conversion *conversion; member in struct:ycbcr_state
129 struct anv_ycbcr_conversion *conversion = state->conversion; local in function:convert_ycbcr
134 bpcs[0], conversion->ycbcr_range),
136 bpcs[1], conversion->ycbcr_range),
138 bpcs[2], conversion->ycbcr_range),
141 if (conversion->ycbcr_model == VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY)
145 ycbcr_model_to_rgb_matrix(conversion->ycbcr_model);
208 struct anv_ycbcr_conversion *conversion = state->conversion; local in function:implicit_downsampled_coords
237 struct anv_ycbcr_conversion *conversion = state->conversion; local in function:create_plane_tex_instr_implicit
[all...]
H A Danv_formats.c1215 struct anv_ycbcr_conversion *conversion; local in function:anv_CreateSamplerYcbcrConversion
1230 conversion = vk_alloc2(&device->alloc, pAllocator, sizeof(*conversion), 8,
1232 if (!conversion)
1235 memset(conversion, 0, sizeof(*conversion));
1237 conversion->format = anv_get_format(pCreateInfo->format);
1238 conversion->ycbcr_model = pCreateInfo->ycbcrModel;
1239 conversion->ycbcr_range = pCreateInfo->ycbcrRange;
1241 /* The Vulkan 1.1.95 spec says "When creating an external format conversion,
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_nir_lower_ycbcr_textures.c35 const struct radv_sampler_ycbcr_conversion *conversion; member in struct:ycbcr_state
130 const struct radv_sampler_ycbcr_conversion *conversion = state->conversion; local in function:convert_ycbcr
135 bits, conversion->ycbcr_range),
137 bits, conversion->ycbcr_range),
139 bits, conversion->ycbcr_range),
142 if (conversion->ycbcr_model == VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY)
146 ycbcr_model_to_rgb_matrix(conversion->ycbcr_model);
202 const struct radv_sampler_ycbcr_conversion *conversion = state->conversion; local in function:implicit_downsampled_coords
[all...]
H A Dradv_descriptor_set.c164 struct radv_sampler_ycbcr_conversion *conversion = local in function:radv_CreateDescriptorSetLayout
167 if (conversion) {
170 vk_format_get_plane_count(conversion->format));
1307 struct radv_sampler_ycbcr_conversion *conversion = NULL; local in function:radv_CreateSamplerYcbcrConversion
1309 conversion = vk_zalloc2(&device->alloc, pAllocator, sizeof(*conversion), 8,
1312 if (conversion == NULL)
1315 conversion->format = pCreateInfo->format;
1316 conversion->ycbcr_model = pCreateInfo->ycbcrModel;
1317 conversion
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_nir_lower_ycbcr_textures.c36 const struct radv_sampler_ycbcr_conversion *conversion; member in struct:ycbcr_state
83 const struct radv_sampler_ycbcr_conversion *conversion = state->conversion; local in function:implicit_downsampled_coords
89 pipe_format_to_chroma_format(vk_format_to_pipe_format(state->conversion->format));
100 if (conversion->chroma_offsets[c] == VK_CHROMA_LOCATION_COSITED_EVEN) {
127 if (plane && true /*state->conversion->chroma_reconstruction*/) {
269 .conversion = ycbcr_sampler,
275 VkFormat format = state.conversion->format;
285 if (state.conversion->ycbcr_model != VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY) {
291 result = nir_convert_ycbcr_to_rgb(builder, state.conversion
[all...]
H A Dradv_descriptor_set.c129 /* Store block of offsets first, followed by the conversion descriptors (padded to the struct
195 struct radv_sampler_ycbcr_conversion *conversion = local in function:radv_CreateDescriptorSetLayout
198 if (conversion) {
201 vk_format_get_plane_count(conversion->format));
1515 struct radv_sampler_ycbcr_conversion *conversion = NULL; local in function:radv_CreateSamplerYcbcrConversion
1517 conversion = vk_zalloc2(&device->vk.alloc, pAllocator, sizeof(*conversion), 8,
1520 if (conversion == NULL)
1523 vk_object_base_init(&device->vk, &conversion->base, VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION);
1525 conversion
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_pbo.c396 enum st_pbo_conversion conversion)
398 switch (conversion) {
434 enum st_pbo_conversion conversion)
539 if (conversion == ST_PBO_CONVERT_SINT_TO_UINT)
541 else if (conversion == ST_PBO_CONVERT_UINT_TO_SINT)
579 enum st_pbo_conversion conversion)
697 build_conversion(ureg, &temp1, conversion);
710 build_conversion(ureg, &temp0, conversion);
725 enum st_pbo_conversion conversion)
733 return create_fs_nir(st, download, target, conversion);
395 build_conversion(struct ureg_program * ureg,const struct ureg_dst * temp,enum st_pbo_conversion conversion) argument
431 create_fs_nir(struct st_context * st,bool download,enum pipe_texture_target target,enum st_pbo_conversion conversion) argument
577 create_fs_tgsi(struct st_context * st,bool download,enum pipe_texture_target target,enum st_pbo_conversion conversion) argument
723 create_fs(struct st_context * st,bool download,enum pipe_texture_target target,enum st_pbo_conversion conversion) argument
759 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); local in function:st_pbo_get_upload_fs
775 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); local in function:st_pbo_get_download_fs
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/drivers/
H A Dopenswr.rst12 to vectorized llvm-IR conversion of the shader kernels.
/xsrc/external/mit/MesaLib/dist/docs/drivers/
H A Dopenswr.rst12 to vectorized llvm-IR conversion of the shader kernels.
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/vdpau/
H A Dsurface.c207 enum getbits_conversion conversion = CONVERSION_NONE; local in function:vlVdpVideoSurfaceGetBitsYCbCr
231 conversion = CONVERSION_NV12_TO_YV12;
233 conversion = CONVERSION_YV12_TO_NV12;
236 conversion = CONVERSION_SWAP_YUYV_UYVY;
270 if (conversion == CONVERSION_NV12_TO_YV12 && i == 1) {
274 } else if (conversion == CONVERSION_YV12_TO_NV12 && i > 0) {
278 } else if (conversion == CONVERSION_SWAP_YUYV_UYVY) {
307 enum getbits_conversion conversion = CONVERSION_NONE; local in function:vlVdpVideoSurfacePutBitsYCbCr
371 conversion = CONVERSION_YV12_TO_NV12;
399 if (conversion
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/vdpau/
H A Dsurface.c207 enum getbits_conversion conversion = CONVERSION_NONE; local in function:vlVdpVideoSurfaceGetBitsYCbCr
231 conversion = CONVERSION_NV12_TO_YV12;
233 conversion = CONVERSION_YV12_TO_NV12;
236 conversion = CONVERSION_SWAP_YUYV_UYVY;
270 if (conversion == CONVERSION_NV12_TO_YV12 && i == 1) {
274 } else if (conversion == CONVERSION_YV12_TO_NV12 && i > 0) {
278 } else if (conversion == CONVERSION_SWAP_YUYV_UYVY) {
307 enum getbits_conversion conversion = CONVERSION_NONE; local in function:vlVdpVideoSurfacePutBitsYCbCr
371 conversion = CONVERSION_YV12_TO_NV12;
399 if (conversion
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_pbo.c420 enum st_pbo_conversion conversion,
521 sampler_type_for_target(target, conversion),
546 if (conversion == ST_PBO_CONVERT_SINT_TO_UINT)
548 else if (conversion == ST_PBO_CONVERT_UINT_TO_SINT)
562 type[conversion]), "img");
612 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); local in function:st_pbo_get_upload_fs
614 if (!st->pbo.upload_fs[conversion][need_layer])
615 st->pbo.upload_fs[conversion][need_layer] = create_fs(st, false, 0, conversion, need_layer);
617 return st->pbo.upload_fs[conversion][need_laye
418 create_fs(struct st_context * st,bool download,enum pipe_texture_target target,enum st_pbo_conversion conversion,bool need_layer) argument
629 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); local in function:st_pbo_get_download_fs
[all...]
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DlcGeneric.c571 SegConv conversion; local in function:read_segmentconversion
573 conversion = 0;
580 if (conversion == NULL &&
581 (conversion = add_conversion(gen)) == NULL) {
591 conversion->length = atoi(value[0]);
602 conversion->source_encoding = tmp;
603 conversion->source = srch_charset_define(tmp,&new);
614 conversion->destination_encoding = tmp;
615 conversion->dest = srch_charset_define(tmp,&new);
623 &(conversion
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_blend.c642 cfg.fixed_function.conversion.register_format =
646 cfg.fixed_function.conversion.register_format =
651 cfg.fixed_function.conversion.register_format =
655 cfg.fixed_function.conversion.register_format =
660 cfg.fixed_function.conversion.register_format =
664 cfg.fixed_function.conversion.register_format =
671 cfg.fixed_function.conversion.memory_format =
/xsrc/external/mit/MesaLib.old/dist/docs/specs/
H A DMESA_texture_signed_rgba.spec90 This conversion means -1, 0, and +1 are all exactly representable,
95 This conversion is intentionally NOT the "byte" conversion listed
96 in Table 2.9 for component conversions. That conversion says:
100 The Table 2.9 conversion is incapable of exactly representing
H A DMESA_ycbcr_texture.spec129 texture sampling using an implementation dependent conversion.
201 3 September 2003 - further clarify when YCbCr->RGB conversion takes place
/xsrc/external/mit/MesaLib/dist/docs/_extra/specs/
H A DMESA_texture_signed_rgba.spec90 This conversion means -1, 0, and +1 are all exactly representable,
95 This conversion is intentionally NOT the "byte" conversion listed
96 in Table 2.9 for component conversions. That conversion says:
100 The Table 2.9 conversion is incapable of exactly representing
H A DMESA_ycbcr_texture.spec129 texture sampling using an implementation dependent conversion.
201 3 September 2003 - further clarify when YCbCr->RGB conversion takes place
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_descriptor_set.c1251 struct tu_sampler_ycbcr_conversion *conversion; local in function:tu_CreateSamplerYcbcrConversion
1253 conversion = vk_object_alloc(&device->vk, pAllocator, sizeof(*conversion),
1255 if (!conversion)
1258 conversion->format = pCreateInfo->format;
1259 conversion->ycbcr_model = pCreateInfo->ycbcrModel;
1260 conversion->ycbcr_range = pCreateInfo->ycbcrRange;
1261 conversion->components = pCreateInfo->components;
1262 conversion->chroma_offsets[0] = pCreateInfo->xChromaOffset;
1263 conversion
[all...]
H A Dtu_image.c114 const struct tu_sampler_ycbcr_conversion *conversion,
161 if (conversion)
162 compose_swizzle(swiz, &conversion->components);
213 const struct tu_sampler_ycbcr_conversion *conversion = ycbcr_conversion ? local in function:tu_image_view_init
214 tu_sampler_ycbcr_conversion_from_handle(ycbcr_conversion->conversion) : NULL;
281 tu6_texswiz(&pCreateInfo->components, conversion, format, aspect_mask, has_z24uint_s8uint) |
299 if (conversion) {
300 if (conversion->chroma_offsets[0] == VK_CHROMA_LOCATION_MIDPOINT)
302 if (conversion->chroma_offsets[1] == VK_CHROMA_LOCATION_MIDPOINT)
113 tu6_texswiz(const VkComponentMapping * comps,const struct tu_sampler_ycbcr_conversion * conversion,VkFormat format,VkImageAspectFlagBits aspect_mask,bool has_z24uint_s8uint) argument
/xsrc/external/mit/libXi/dist/
H A Dconfigure.ac35 # Check for xmlto and asciidoc for man page conversion

Completed in 90 milliseconds

123456789