Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c85 const struct anv_format_plane *plane_format) in implicit_downsampled_coords() argument
94 if (plane_format->denominator_scales[c] > 1 && in implicit_downsampled_coords()
99 plane_format->denominator_scales[c]); in implicit_downsampled_coords()
118 const struct anv_format_plane *plane_format = in create_plane_tex_instr_implicit() local
128 if (plane_format->has_chroma && conversion->chroma_reconstruction) { in create_plane_tex_instr_implicit()
133 plane_format)); in create_plane_tex_instr_implicit()
274 const struct anv_format_plane *plane_format = &format->planes[p]; in try_lower_tex_ycbcr() local
279 swizzle_channel(plane_format->ycbcr_swizzle, pc); in try_lower_tex_ycbcr()
288 isl_format_get_layout(plane_format->isl_format); in try_lower_tex_ycbcr()
Danv_formats.c462 struct anv_format_plane plane_format = format->planes[plane]; in anv_get_format_plane() local
463 if (plane_format.isl_format == ISL_FORMAT_UNSUPPORTED) in anv_get_format_plane()
476 return plane_format; in anv_get_format_plane()
482 isl_format_get_layout(plane_format.isl_format); in anv_get_format_plane()
497 if (isl_format_is_compressed(plane_format.isl_format)) in anv_get_format_plane()
508 enum isl_format rgbx = isl_format_rgb_to_rgbx(plane_format.isl_format); in anv_get_format_plane()
511 plane_format.isl_format = rgbx; in anv_get_format_plane()
513 plane_format.isl_format = in anv_get_format_plane()
514 isl_format_rgb_to_rgba(plane_format.isl_format); in anv_get_format_plane()
515 plane_format.swizzle = ISL_SWIZZLE(RED, GREEN, BLUE, ONE); in anv_get_format_plane()
[all …]
Danv_image.c171 struct anv_format_plane plane_format, in anv_image_plane_needs_shadow_surface() argument
185 assert(isl_format_is_compressed(plane_format.isl_format)); in anv_image_plane_needs_shadow_surface()
195 plane_format.aspect == VK_IMAGE_ASPECT_STENCIL_BIT && in anv_image_plane_needs_shadow_surface()
359 struct anv_format_plane plane_format, in add_aux_surface_if_supported() argument
363 VkImageAspectFlags aspect = plane_format.aspect; in add_aux_surface_if_supported()
456 plane_format.isl_format)) { in add_aux_surface_if_supported()
562 const struct anv_format_plane plane_format = in make_surface() local
576 plane_format, in make_surface()
584 .format = plane_format.isl_format, in make_surface()
585 .width = image->extent.width / plane_format.denominator_scales[0], in make_surface()
[all …]
/external/igt-gpu-tools/tests/
Dkms_plane_lowres.c84 uint32_t plane_format; in setup_plane() local
99 plane_format = DRM_FORMAT_ARGB8888; in setup_plane()
102 plane_format = DRM_FORMAT_XRGB8888; in setup_plane()
106 if (!igt_plane_has_format_mod(plane, plane_format, plane_modifier)) in setup_plane()
109 igt_create_color_fb(data->drm_fd, size, size, plane_format, in setup_plane()
Dkms_plane_multiple.c230 uint32_t plane_format; in prepare_planes() local
245plane_format = data->plane[i]->type == DRM_PLANE_TYPE_CURSOR ? DRM_FORMAT_ARGB8888 : DRM_FORMAT_XR… in prepare_planes()
248 igt_skip_on(!igt_plane_has_format_mod(plane, plane_format, in prepare_planes()
253 plane_format, in prepare_planes()
/external/igt-gpu-tools/tests/i915/
Di915_pm_rpm.c1694 uint32_t plane_format, plane_w, plane_h; in test_one_plane() local
1706 plane_format = DRM_FORMAT_XRGB8888; in test_one_plane()
1712 plane_format = DRM_FORMAT_XRGB8888; in test_one_plane()
1718 plane_format = DRM_FORMAT_ARGB8888; in test_one_plane()
1728 igt_create_fb(drm_fd, plane_w, plane_h, plane_format, tiling, in test_one_plane()
1730 igt_create_fb(drm_fd, plane_w, plane_h, plane_format, tiling, in test_one_plane()
/external/v4l2_codec2/accel/
Dv4l2_device.cc1580 const v4l2_plane_pix_format& plane_format = pix_mp.plane_fmt[i]; in V4L2FormatToVideoFrameLayout() local
1581 planes.emplace_back(static_cast<int32_t>(plane_format.bytesperline), 0u, in V4L2FormatToVideoFrameLayout()
1582 plane_format.sizeimage); in V4L2FormatToVideoFrameLayout()