Searched refs:formatCount (Results 1 – 4 of 4) sorted by relevance
/hardware/google/gfxstream/host/vulkan/ |
D | SwapChainStateVk.cpp | 169 uint32_t formatCount = 0; in createSwapChainCi() local 171 vk.vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &formatCount, nullptr)); in createSwapChainCi() 172 std::vector<VkSurfaceFormatKHR> formats(formatCount); in createSwapChainCi() 173 VkResult res = vk.vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &formatCount, in createSwapChainCi() 179 formatCount = (formatCount + 1) * 2; in createSwapChainCi() 183 formatCount); in createSwapChainCi() 184 formats.resize(formatCount); in createSwapChainCi() 185 res = vk.vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &formatCount, in createSwapChainCi() 187 formats.resize(formatCount); in createSwapChainCi()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/ |
D | VK_KHR_video_decode_queue.adoc | 403 vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &formatInfo, &formatCount, NULL); 404 formatProps = calloc(formatCount, sizeof(VkVideoFormatPropertiesKHR)); 405 for (uint32_t i = 0; i < formatCount; ++i) { 408 vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &formatInfo, &formatCount, formatProps); 410 for (uint32_t i = 0; i < formatCount; ++i) { 425 vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &formatInfo, &formatCount, NULL); 426 formatProps = calloc(formatCount, sizeof(VkVideoFormatPropertiesKHR)); 427 for (uint32_t i = 0; i < formatCount; ++i) { 430 vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &formatInfo, &formatCount, formatProps); 432 for (uint32_t i = 0; i < formatCount; ++i) {
|
D | VK_KHR_video_queue.adoc | 675 uint32_t formatCount; 695 vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &formatInfo, &formatCount, NULL); 697 VkVideoFormatPropertiesKHR* formatProps = calloc(formatCount, sizeof(VkVideoFormatPropertiesKHR)); 699 for (uint32_t i = 0; i < formatCount; ++i) { 703 vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &formatInfo, &formatCount, formatProps); 705 for (uint32_t i = 0; i < formatCount; ++i) {
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkan_raii.hpp | 19539 uint32_t formatCount; in getOpticalFlowImageFormatsNV() local 19543 …st<const VkOpticalFlowImageFormatInfoNV *>( &opticalFlowImageFormatInfo ), &formatCount, nullptr ); in getOpticalFlowImageFormatsNV() 19544 if ( ( result == VK_SUCCESS ) && formatCount ) in getOpticalFlowImageFormatsNV() 19546 imageFormatProperties.resize( formatCount ); in getOpticalFlowImageFormatsNV() 19547 …nst VkOpticalFlowImageFormatInfoNV *>( &opticalFlowImageFormatInfo ), &formatCount, reinterpret_ca… in getOpticalFlowImageFormatsNV() 19551 VULKAN_HPP_ASSERT( formatCount <= imageFormatProperties.size() ); in getOpticalFlowImageFormatsNV() 19552 if ( formatCount < imageFormatProperties.size() ) in getOpticalFlowImageFormatsNV() 19554 imageFormatProperties.resize( formatCount ); in getOpticalFlowImageFormatsNV()
|