| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| anv_nir_lower_ycbcr_textures.c | 35 struct anv_ycbcr_conversion *conversion; member in struct:ycbcr_state 88 struct anv_ycbcr_conversion *conversion = state->conversion; local 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 119 &conversion->format->planes[plane]; 128 if (plane_format->has_chroma && conversion->chroma_reconstruction) { 245 if (sampler->conversion == NULL [all...] |
| anv_formats.c | 1623 struct anv_ycbcr_conversion *conversion; local 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->mapping[1] = pCreateInfo->components.g [all...] |
| genX_state.c | 740 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->format->planes[p].has_chroma [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| genX_state.c | 345 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->format->planes[p].has_chroma [all...] |
| anv_nir_lower_ycbcr_textures.c | 34 struct anv_ycbcr_conversion *conversion; member in struct:ycbcr_state 129 struct anv_ycbcr_conversion *conversion = state->conversion; local 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 237 struct anv_ycbcr_conversion *conversion = state->conversion; local [all...] |
| anv_formats.c | 1215 struct anv_ycbcr_conversion *conversion; local 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/ |
| radv_nir_lower_ycbcr_textures.c | 35 const struct radv_sampler_ycbcr_conversion *conversion; member in struct:ycbcr_state 130 const struct radv_sampler_ycbcr_conversion *conversion = state->conversion; local 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 [all...] |
| radv_descriptor_set.c | 164 struct radv_sampler_ycbcr_conversion *conversion = local 167 if (conversion) { 170 vk_format_get_plane_count(conversion->format)); 1307 struct radv_sampler_ycbcr_conversion *conversion = NULL; local 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->ycbcr_range = pCreateInfo->ycbcrRange [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| radv_nir_lower_ycbcr_textures.c | 36 const struct radv_sampler_ycbcr_conversion *conversion; member in struct:ycbcr_state 83 const struct radv_sampler_ycbcr_conversion *conversion = state->conversion; local 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->ycbcr_model [all...] |
| radv_descriptor_set.c | 129 /* Store block of offsets first, followed by the conversion descriptors (padded to the struct 195 struct radv_sampler_ycbcr_conversion *conversion = local 198 if (conversion) { 201 vk_format_get_plane_count(conversion->format)); 1515 struct radv_sampler_ycbcr_conversion *conversion = NULL; local 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->format = pCreateInfo->format [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_pbo.c | 47 /* Conversion to apply in the fragment shader. */ 396 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) 759 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); local 775 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/vdpau/ |
| surface.c | 207 enum getbits_conversion conversion = CONVERSION_NONE; local 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 371 conversion = CONVERSION_YV12_TO_NV12; 399 if (conversion == CONVERSION_YV12_TO_NV12 && i == 1) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/vdpau/ |
| surface.c | 207 enum getbits_conversion conversion = CONVERSION_NONE; local 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 371 conversion = CONVERSION_YV12_TO_NV12; 399 if (conversion == CONVERSION_YV12_TO_NV12 && i == 1) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_pbo.c | 47 /* Conversion to apply in the fragment shader. */ 420 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 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) 629 enum st_pbo_conversion conversion = get_pbo_conversion(src_format, dst_format); local [all...] |
| /xsrc/external/mit/libX11/dist/src/xlibi18n/ |
| lcGeneric.c | 571 SegConv conversion; local 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->range.start), &(conversion->range.end)) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| pan_blend.c | 642 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/dist/docs/_extra/specs/ |
| MESA_texture_signed_rgba.spec | 90 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
|
| MESA_ycbcr_texture.spec | 129 texture sampling using an implementation dependent conversion. 201 3 September 2003 - further clarify when YCbCr->RGB conversion takes place
|
| /xsrc/external/mit/MesaLib.old/dist/docs/specs/ |
| MESA_texture_signed_rgba.spec | 90 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
|
| MESA_ycbcr_texture.spec | 129 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/ |
| tu_descriptor_set.c | 1251 struct tu_sampler_ycbcr_conversion *conversion; local 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->chroma_offsets[1] = pCreateInfo->yChromaOffset [all...] |
| tu_image.c | 114 const struct tu_sampler_ycbcr_conversion *conversion, 141 * swizzle (0,0,1) in the rest (see "Conversion to RGBA"). 161 if (conversion) 162 compose_swizzle(swiz, &conversion->components); 213 const struct tu_sampler_ycbcr_conversion *conversion = ycbcr_conversion ? local 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 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_simple_shaders.c | 226 * Make simple fragment texture shader, with xrbias->float conversion: 534 const char *conversion) 560 output_semantic, conversion_decl, type, conversion, output_mask); 589 const char *conversion = ""; local 596 conversion = "UMIN TEMP[0], TEMP[0], IMM[0].xxxx\n"; 603 conversion = "IMAX TEMP[0], TEMP[0], IMM[0].xxxx\n"; 612 conversion);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_simple_shaders.c | 226 * Make simple fragment texture shader, with xrbias->float conversion: 645 const char *conversion) 671 output_semantic, conversion_decl, type, conversion, output_mask); 700 const char *conversion = ""; local 707 conversion = "UMIN TEMP[0], TEMP[0], IMM[0].xxxx\n"; 714 conversion = "IMAX TEMP[0], TEMP[0], IMM[0].xxxx\n"; 723 conversion);
|
| /xsrc/external/mit/xterm/dist/unicode/ |
| convmap.pl | 115 * The keysym -> UTF-8 conversion will hopefully one day be provided
|