Lines Matching defs:format

157     * expect the 1st one pointing to the dma_buf. For multi-planar format,
241 vn_android_ahb_format_from_vk_format(VkFormat format)
244 * - image format query
247 switch (format) {
264 vn_android_format_to_view_formats(VkFormat format, uint32_t *out_count)
274 * image format that venus supports.
282 switch (format) {
299 vn_android_drm_format_to_vk_format(uint32_t format)
301 switch (format) {
323 vn_android_drm_format_is_yuv(uint32_t format)
325 assert(vn_android_drm_format_to_vk_format(format) != VK_FORMAT_UNDEFINED);
327 switch (format) {
365 VkFormat format,
375 "format=%d, imageUsage=0x%x, swapchainImageUsage=0x%x", format,
398 VkFormat format,
418 vn_GetPhysicalDeviceFormatProperties2(physical_device, format,
423 format);
434 vn_GetPhysicalDeviceFormatProperties2(physical_device, format,
450 modifier, format);
492 dev, create_info->format, buf_props.modifier, alloc, &mod_props);
540 vn_android_format_to_view_formats(create_info->format, &vcount);
543 vformats = &out_builder->create.format;
898 VkFormat format;
913 if (desc.format == AHARDWAREBUFFER_FORMAT_BLOB) {
914 out_props->format = VK_FORMAT_UNDEFINED;
925 * format is VK_FORMAT_UNDEFINED.
927 format = vn_android_drm_format_to_vk_format(buf_props.drm_fourcc);
928 if (format == VK_FORMAT_UNDEFINED) {
929 vn_log(dev->instance, "Unknown drm_fourcc(%u) from AHB format(0x%X)",
930 buf_props.drm_fourcc, desc.format);
935 dev, format, buf_props.modifier, &dev->base.base.alloc, &mod_props);
966 if (desc.format == AHARDWAREBUFFER_FORMAT_IMPLEMENTATION_DEFINED || is_yuv)
967 format = VK_FORMAT_UNDEFINED;
972 .format = format,
1034 uint32_t format,
1045 desc.format = format;
1054 width, height, layers, format, usage, ret);
1067 * to allocate an ahb to retrieve the drm format modifier. For the image
1071 uint32_t format = 0;
1077 format = vn_android_ahb_format_from_vk_format(format_info->format);
1078 if (!format)
1082 ahb = vn_android_ahb_allocate(16, 16, 1, format, usage);
1117 assert(create_info->format == VK_FORMAT_UNDEFINED);
1124 local_info.format =
1276 uint32_t format = 0;
1287 format = vn_android_ahb_format_from_vk_format(image_info->format);
1296 format = AHARDWAREBUFFER_FORMAT_BLOB;
1305 ahb = vn_android_ahb_allocate(width, height, layers, format, usage);
1386 const uint32_t format = AHARDWAREBUFFER_FORMAT_BLOB;
1397 ahb = vn_android_ahb_allocate(4096, 1, 1, format, usage);