Home
last modified time | relevance | path

Searched refs:plane_format (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/intel/vulkan/
Danv_formats.c423 struct anv_format_plane plane_format = format->planes[plane]; in anv_get_format_plane() local
424 if (plane_format.isl_format == ISL_FORMAT_UNSUPPORTED) in anv_get_format_plane()
430 return plane_format; in anv_get_format_plane()
436 isl_format_get_layout(plane_format.isl_format); in anv_get_format_plane()
445 enum isl_format rgbx = isl_format_rgb_to_rgbx(plane_format.isl_format); in anv_get_format_plane()
448 plane_format.isl_format = rgbx; in anv_get_format_plane()
450 plane_format.isl_format = in anv_get_format_plane()
451 isl_format_rgb_to_rgba(plane_format.isl_format); in anv_get_format_plane()
452 plane_format.swizzle = ISL_SWIZZLE(RED, GREEN, BLUE, ONE); in anv_get_format_plane()
460 plane_format.isl_format = ISL_FORMAT_B4G4R4A4_UNORM; in anv_get_format_plane()
[all …]
Danv_nir_lower_ycbcr_textures.c198 const struct anv_format_plane *plane_format) in implicit_downsampled_coords() argument
208 if (plane_format->denominator_scales[c] > 1 && in implicit_downsampled_coords()
213 plane_format->denominator_scales[c]); in implicit_downsampled_coords()
232 const struct anv_format_plane *plane_format = in create_plane_tex_instr_implicit() local
242 if (plane_format->has_chroma && conversion->chroma_reconstruction) { in create_plane_tex_instr_implicit()
247 plane_format)); in create_plane_tex_instr_implicit()
388 const struct anv_format_plane *plane_format = &format->planes[p]; in try_lower_tex_ycbcr() local
393 swizzle_channel(plane_format->ycbcr_swizzle, pc); in try_lower_tex_ycbcr()
402 isl_format_get_layout(plane_format->isl_format); in try_lower_tex_ycbcr()
Danv_image.c301 const struct anv_format_plane plane_format = in make_surface() local
319 assert(isl_format_is_compressed(plane_format.isl_format)); in make_surface()
326 .format = plane_format.isl_format, in make_surface()
327 .width = image->extent.width / plane_format.denominator_scales[0], in make_surface()
328 .height = image->extent.height / plane_format.denominator_scales[1], in make_surface()
355 .format = plane_format.isl_format, in make_surface()
434 plane_format.isl_format)) { in make_surface()