Home
last modified time | relevance | path

Searched refs:aspects (Results 1 – 25 of 66) sorted by relevance

123

/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_format.h53 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_is_depth_or_stencil() local
54 return aspects & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT); in vk_format_is_depth_or_stencil()
60 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_has_depth() local
61 return aspects & VK_IMAGE_ASPECT_DEPTH_BIT; in vk_format_has_depth()
67 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_has_stencil() local
68 return aspects & VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_has_stencil()
/hardware/google/gfxstream/host/vulkan/
Dvk_format_info.h132 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_is_depth_or_stencil() local
133 return aspects & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT); in vk_format_is_depth_or_stencil()
137 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_has_depth() local
138 return aspects & VK_IMAGE_ASPECT_DEPTH_BIT; in vk_format_has_depth()
DVkDecoderSnapshotUtils.cpp201 VkImageAspectFlags aspects = in saveImageContent() local
216 .subresourceRange = VkImageSubresourceRange{.aspectMask = aspects, in saveImageContent()
229 .imageSubresource = VkImageSubresourceLayers{.aspectMask = aspects, in saveImageContent()
304 VkImageAspectFlags aspects = in loadImageContent() local
318 .subresourceRange = VkImageSubresourceRange{.aspectMask = aspects, in loadImageContent()
402 VkImageAspectFlags aspects = in loadImageContent() local
416 .subresourceRange = VkImageSubresourceRange{.aspectMask = aspects, in loadImageContent()
430 .imageSubresource = VkImageSubresourceLayers{.aspectMask = aspects, in loadImageContent()
/hardware/google/gfxstream/guest/vulkan_enc/
Dvk_format_info.h197 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_is_depth_or_stencil() local
198 return aspects & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT); in vk_format_is_depth_or_stencil()
202 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_has_depth() local
203 return aspects & VK_IMAGE_ASPECT_DEPTH_BIT; in vk_format_has_depth()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_render_pass.c339 .aspects = vk_format_aspects(desc->format), in vk_render_pass_attachment_init()
374 .aspects = vk_format_aspects(pass_att->format), in vk_subpass_attachment_init()
390 assert(!(ref->aspectMask & ~att->aspects)); in vk_subpass_attachment_init()
391 att->aspects = ref->aspectMask; in vk_subpass_attachment_init()
396 assert(att->aspects == VK_IMAGE_ASPECT_COLOR_BIT); in vk_subpass_attachment_init()
400 assert(!(att->aspects & ~(VK_IMAGE_ASPECT_DEPTH_BIT | in vk_subpass_attachment_init()
632 VkImageAspectFlags aspects = in vk_common_CreateRenderPass2() local
633 subpass->input_attachments[a].aspects; in vk_common_CreateRenderPass2()
634 if (aspects & VK_IMAGE_ASPECT_DEPTH_BIT) { in vk_common_CreateRenderPass2()
642 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in vk_common_CreateRenderPass2()
[all …]
Dvk_image.c72 if (image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in vk_image_init()
187 image->aspects = vk_format_aspects(format); in vk_image_set_format()
251 assert(image->aspects & VK_IMAGE_ASPECT_ANY_COLOR_MASK_MESA); in vk_image_expand_aspect_mask()
252 return image->aspects; in vk_image_expand_aspect_mask()
254 assert(aspect_mask && !(aspect_mask & ~image->aspects)); in vk_image_expand_aspect_mask()
409 image_view->aspects = range->aspectMask; in vk_image_view_init()
412 image_view->aspects = in vk_image_view_init()
415 assert(!(image_view->aspects & ~image->aspects)); in vk_image_view_init()
434 if ((image->aspects & VK_IMAGE_ASPECT_PLANE_1_BIT) && in vk_image_view_init()
442 if (image_view->aspects & (VK_IMAGE_ASPECT_DEPTH_BIT | in vk_image_view_init()
[all …]
Dvk_meta_blit_resolve.c41 VkImageAspectFlags aspects; member
256 u_foreach_bit(a, key->aspects) { in build_blit_shader()
316 assert(key->aspects == VK_IMAGE_ASPECT_STENCIL_BIT); in build_blit_shader()
413 if (key->aspects & VK_IMAGE_ASPECT_COLOR_BIT) { in get_blit_pipeline()
417 if (key->aspects & VK_IMAGE_ASPECT_DEPTH_BIT) { in get_blit_pipeline()
423 if (key->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in get_blit_pipeline()
592 key->aspects = aspects_left; in do_blit()
598 if ((key->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) && in do_blit()
599 key->aspects != VK_IMAGE_ASPECT_STENCIL_BIT && in do_blit()
601 key->aspects &= ~VK_IMAGE_ASPECT_STENCIL_BIT; in do_blit()
[all …]
Dvk_render_pass.h72 VkImageAspectFlags aspects; member
187 VkImageAspectFlags aspects; member
Dvk_image.h54 VkImageAspectFlags aspects; member
294 VkImageAspectFlags aspects; member
351 .aspectMask = view->aspects, in vk_image_view_subresource_range()
Dvk_meta_clear.c432 VkImageAspectFlags aspects, in clear_image_level_layers() argument
448 .aspectMask = aspects, in clear_image_level_layers()
484 if (image->aspects == VK_IMAGE_ASPECT_COLOR_BIT) { in clear_image_level_layers()
491 if (image->aspects & VK_IMAGE_ASPECT_DEPTH_BIT) { in clear_image_level_layers()
496 if (image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in clear_image_level_layers()
502 .aspectMask = aspects, in clear_image_level_layers()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp7562 OMX_U32 transfer, OMX_U32 matrix, ColorAspects *aspects) in convert_color_space_info() argument
7566 aspects->mPrimaries = ColorAspects::PrimariesBT709_5; in convert_color_space_info()
7569 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M; in convert_color_space_info()
7572 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625; in convert_color_space_info()
7575 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525; in convert_color_space_info()
7578 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm; in convert_color_space_info()
7581 aspects->mPrimaries = ColorAspects::PrimariesBT2020; in convert_color_space_info()
7587 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries; in convert_color_space_info()
7596 aspects->mTransfer = ColorAspects::TransferSMPTE170M; in convert_color_space_info()
7599 aspects->mTransfer = ColorAspects::TransferGamma22; in convert_color_space_info()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_separate_depth_stencil_layouts.adoc26 stencil aspects, the depth/stencil attachment interface has been updated to
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp10796 OMX_U32 transfer, OMX_U32 matrix, ColorAspects *aspects) in convert_color_space_info() argument
10800 aspects->mPrimaries = ColorAspects::PrimariesBT709_5; in convert_color_space_info()
10803 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M; in convert_color_space_info()
10806 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625; in convert_color_space_info()
10809 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525; in convert_color_space_info()
10812 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm; in convert_color_space_info()
10815 aspects->mPrimaries = ColorAspects::PrimariesBT2020; in convert_color_space_info()
10821 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries; in convert_color_space_info()
10825 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited; in convert_color_space_info()
10832 aspects->mTransfer = ColorAspects::TransferSMPTE170M; in convert_color_space_info()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp10201 OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects) in convert_color_space_info() argument
10206 aspects->mPrimaries = ColorAspects::PrimariesBT709_5; in convert_color_space_info()
10209 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M; in convert_color_space_info()
10212 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625; in convert_color_space_info()
10216 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525; in convert_color_space_info()
10219 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm; in convert_color_space_info()
10222 aspects->mPrimaries = ColorAspects::PrimariesBT2020; in convert_color_space_info()
10228 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries; in convert_color_space_info()
10232 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited; in convert_color_space_info()
10237 aspects->mTransfer = ColorAspects::TransferSMPTE170M; in convert_color_space_info()
[all …]
/hardware/interfaces/media/omx/1.0/
DIGraphicBufferSource.hal48 setColorAspects(ColorAspects aspects) generates (Status status);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp11002 OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects) in convert_color_space_info() argument
11007 aspects->mPrimaries = ColorAspects::PrimariesBT709_5; in convert_color_space_info()
11010 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M; in convert_color_space_info()
11013 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625; in convert_color_space_info()
11017 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525; in convert_color_space_info()
11020 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm; in convert_color_space_info()
11023 aspects->mPrimaries = ColorAspects::PrimariesBT2020; in convert_color_space_info()
11029 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries; in convert_color_space_info()
11033 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited; in convert_color_space_info()
11038 aspects->mTransfer = ColorAspects::TransferSMPTE170M; in convert_color_space_info()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/
DREADME.md12 This folder includes test fixtures that tests aspects common to all omx compatible components. For …
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/
Dcopy_memoryimage_to_imagememory_common.adoc38 If non-stencil aspects of pname:{imageparam} are accessed,
Dblit_image_common.adoc150 must: specify aspects present in pname:srcImage
153 must: specify aspects present in pname:dstImage
Dcopy_bufferimage_to_imagebuffer_common.adoc62 must: specify aspects present in pname:{imageparam}
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_rasterization_order_attachment_access.adoc47 for color, depth, or stencil aspects, by setting the appropriate combination of the following flags…
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1292 ::android::hardware::media::omx::V1_0::ColorAspects aspects; in TEST_P()
1293 aspects.range = in TEST_P()
1295 aspects.primaries = ::android::hardware::media::omx::V1_0::ColorAspects:: in TEST_P()
1297 aspects.transfer = ::android::hardware::media::omx::V1_0::ColorAspects:: in TEST_P()
1299 aspects.matrixCoeffs = ::android::hardware::media::omx::V1_0::ColorAspects:: in TEST_P()
1301 status = source->setColorAspects(aspects); in TEST_P()
/hardware/interfaces/drm/1.1/
Dtypes.hal107 // for capturing different aspects of the same metric. E.g. capture
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/reflow-tests/
Dsrc-new-vuid-attribute.adoc35 …* For each element of pname:pRegions, pname:{imagesubresource}.aspectMask must: specify aspects pr…
Dexpect-new-vuid-attribute-novuid.adoc52 must: specify aspects present in pname:{imageparam}

123