Home
last modified time | relevance | path

Searched refs:format_props (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c182 VkFormatProperties3 format_props; in lvp_GetPhysicalDeviceFormatProperties2() local
185 &format_props); in lvp_GetPhysicalDeviceFormatProperties2()
186 …pFormatProperties->formatProperties.linearTilingFeatures = format_props.linearTilingFeatures & VK_… in lvp_GetPhysicalDeviceFormatProperties2()
187 …pFormatProperties->formatProperties.optimalTilingFeatures = format_props.optimalTilingFeatures & V… in lvp_GetPhysicalDeviceFormatProperties2()
188 …pFormatProperties->formatProperties.bufferFeatures = format_props.bufferFeatures & VK_ALL_FORMAT_F… in lvp_GetPhysicalDeviceFormatProperties2()
191 prop3->linearTilingFeatures = format_props.linearTilingFeatures; in lvp_GetPhysicalDeviceFormatProperties2()
192 prop3->optimalTilingFeatures = format_props.optimalTilingFeatures; in lvp_GetPhysicalDeviceFormatProperties2()
193 prop3->bufferFeatures = format_props.bufferFeatures; in lvp_GetPhysicalDeviceFormatProperties2()
203 VkFormatProperties3 format_props; in lvp_get_image_format_properties() local
211 &format_props); in lvp_get_image_format_properties()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_formats.c145 VkFormatProperties format_props; in get_image_format_properties() local
153 get_format_properties(physical_device, info->format, &format_props); in get_image_format_properties()
157 format_feature_flags = format_props.linearTilingFeatures; in get_image_format_properties()
172 assert(format_props.optimalTilingFeatures == format_props.linearTilingFeatures); in get_image_format_properties()
175 format_feature_flags = format_props.optimalTilingFeatures; in get_image_format_properties()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_formats.c350 VkFormatProperties3 format_props; in tu_get_image_format_properties() local
358 &format_props); in tu_get_image_format_properties()
362 format_feature_flags = format_props.linearTilingFeatures; in tu_get_image_format_properties()
374 if (!format_props.optimalTilingFeatures || in tu_get_image_format_properties()
386 format_feature_flags = format_props.optimalTilingFeatures; in tu_get_image_format_properties()
389 format_feature_flags = format_props.linearTilingFeatures; in tu_get_image_format_properties()
396 format_feature_flags = format_props.optimalTilingFeatures; in tu_get_image_format_properties()
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c1241 const VkFormatProperties3 *format_props, in radv_list_drm_format_modifiers() argument
1272 radv_get_modifier_flags(dev, format, mods[i], format_props); in radv_list_drm_format_modifiers()
1298 const VkFormatProperties3 *format_props, in radv_list_drm_format_modifiers_2() argument
1329 radv_get_modifier_flags(dev, format, mods[i], format_props); in radv_list_drm_format_modifiers_2()
1439 VkFormatProperties3 format_props; in radv_GetPhysicalDeviceFormatProperties2() local
1441 radv_physical_device_get_format_properties(physical_device, format, &format_props); in radv_GetPhysicalDeviceFormatProperties2()
1444 features2_to_features(format_props.linearTilingFeatures); in radv_GetPhysicalDeviceFormatProperties2()
1446 features2_to_features(format_props.optimalTilingFeatures); in radv_GetPhysicalDeviceFormatProperties2()
1448 features2_to_features(format_props.bufferFeatures); in radv_GetPhysicalDeviceFormatProperties2()
1453 format_props_extended->linearTilingFeatures = format_props.linearTilingFeatures; in radv_GetPhysicalDeviceFormatProperties2()
[all …]
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c346 VkFormatProperties2 format_props = { in wsi_configure_native_image() local
352 &format_props); in wsi_configure_native_image()
365 &format_props); in wsi_configure_native_image()
395 VkImageFormatProperties2 format_props = { in wsi_configure_native_image() local
402 &format_props); in wsi_configure_native_image()
404 pCreateInfo->imageExtent.width <= format_props.imageFormatProperties.maxExtent.width && in wsi_configure_native_image()
405 pCreateInfo->imageExtent.height <= format_props.imageFormatProperties.maxExtent.height) in wsi_configure_native_image()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph263pay.c55 static const guint format_props[8][2] = { {254, 254}, variable
515 for (i = 0; i < format_props[ind][0]; i++) { in gst_rtp_h263_pay_context_destroy()
1414 if ((format_props[context->piclayer->ptype_srcformat][0] - 1 == gob->gobn) in gst_rtp_h263_pay_B_fragment_push()
1452 format_props[context->piclayer->ptype_srcformat][1]); in gst_rtp_h263_pay_mode_B_fragment()
1532 for (mb = 0; mb < format_props[context->piclayer->ptype_srcformat][1]; mb++) { in gst_rtp_h263_pay_mode_B_fragment()
1724 (GstRtpH263PayGob **) g_malloc0 (format_props[context->piclayer-> in gst_rtp_h263_pay_flush()
1728 for (i = 0; i < format_props[context->piclayer->ptype_srcformat][0]; i++) { in gst_rtp_h263_pay_flush()
1753 context->no_gobs, format_props[context->piclayer->ptype_srcformat][0]); in gst_rtp_h263_pay_flush()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_screen.h201 VkFormatProperties format_props[PIPE_FORMAT_COUNT]; member
Dzink_surface.c146 screen->format_props[templ->format].optimalTilingFeatures : in create_surface()
147 screen->format_props[templ->format].linearTilingFeatures; in create_surface()
Dzink_screen.c1188 VkFormatProperties props = screen->format_props[format]; in zink_is_format_supported()
1196 … if (!(screen->format_props[new_format].bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT)) in zink_is_format_supported()
1742 screen->format_props[i] = props.formatProperties; in populate_format_props()
1744 screen->format_props[i].linearTilingFeatures |= VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT; in populate_format_props()
1754 VKSCR(GetPhysicalDeviceFormatProperties)(screen->pdev, format, &screen->format_props[i]); in populate_format_props()
Dzink_state.c79 … if (screen->format_props[elem->src_format].bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) in zink_create_vertex_elements_state()
85 … assert(screen->format_props[new_format].bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT); in zink_create_vertex_elements_state()
Dzink_blit.c118 VkFormatProperties props = screen->format_props[res->base.b.format]; in get_resource_features()
Dzink_resource.c389 VkFormatProperties props = screen->format_props[templ->format]; in get_image_usage()
764 feats = screen->format_props[templ->format].linearTilingFeatures; in resource_object_create()
767 feats = screen->format_props[templ->format].optimalTilingFeatures; in resource_object_create()
Dzink_context.c788 if (screen->format_props[format].bufferFeatures & VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT) in create_bvci()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.c1004 VkAndroidHardwareBufferFormatPropertiesANDROID *format_props = in vn_GetAndroidHardwareBufferPropertiesANDROID() local
1007 if (format_props) { in vn_GetAndroidHardwareBufferPropertiesANDROID()
1009 vn_android_get_ahb_format_properties(dev, buffer, format_props); in vn_GetAndroidHardwareBufferPropertiesANDROID()