Home
last modified time | relevance | path

Searched refs:supportedFormatCount (Results 1 - 1 of 1) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktVideoTestUtils.cpp648 deUint32 supportedFormatCount = 0; local
649 VkResult result = vkif.getPhysicalDeviceVideoFormatPropertiesKHR(devCtx.phys, &videoFormatInfo, &supportedFormatCount, nullptr);
651 DE_ASSERT(supportedFormatCount);
653 VkVideoFormatPropertiesKHR* pSupportedFormats = new VkVideoFormatPropertiesKHR[supportedFormatCount];
654 memset(pSupportedFormats, 0x00, supportedFormatCount * sizeof(VkVideoFormatPropertiesKHR));
655 for (deUint32 i = 0; i < supportedFormatCount; i++) {
659 result = vkif.getPhysicalDeviceVideoFormatPropertiesKHR(devCtx.phys, &videoFormatInfo, &supportedFormatCount, pSupportedFormats);
663 for (deUint32 fmt = 0; fmt < supportedFormatCount; fmt++) {
668 formatCount = std::min(supportedFormatCount, formatCount);

Completed in 2 milliseconds