Structures
VkPhysicalDeviceOpticalFlowPropertiesNV
Structure describing properties supported by VK_NV_optical_flow
The VkPhysicalDeviceOpticalFlowPropertiesNV structure is defined as:
typedef struct VkPhysicalDeviceOpticalFlowPropertiesNV {
VkStructureType sType;
void* pNext;
VkOpticalFlowGridSizeFlagsNV supportedOutputGridSizes;
VkOpticalFlowGridSizeFlagsNV supportedHintGridSizes;
VkBool32 hintSupported;
VkBool32 costSupported;
VkBool32 bidirectionalFlowSupported;
VkBool32 globalFlowSupported;
uint32_t minWidth;
uint32_t minHeight;
uint32_t maxWidth;
uint32_t maxHeight;
uint32_t maxNumRegionsOfInterest;
} VkPhysicalDeviceOpticalFlowPropertiesNV;
pub struct PhysicalDeviceOpticalFlowPropertiesNV {
s_type: vk::StructureType,
p_next: *mut c_void,
supported_output_grid_sizes: vk::OpticalFlowGridSizeFlagsNV,
supported_hint_grid_sizes: vk::OpticalFlowGridSizeFlagsNV,
hint_supported: vk::Bool32,
cost_supported: vk::Bool32,
bidirectional_flow_supported: vk::Bool32,
global_flow_supported: vk::Bool32,
min_width: u32,
min_height: u32,
max_width: u32,
max_height: u32,
max_num_regions_of_interest: u32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.- LIMITS SUPPORTEDOUTPUTGRIDSIZES
supportedOutputGridSizesare the supported VkOpticalFlowGridSizeFlagsNV which can be specified inVkOpticalFlowSessionCreateInfoNV::outputGridSize. - LIMITS SUPPORTEDHINTGRIDSIZES
supportedHintGridSizesare the supported VkOpticalFlowGridSizeFlagsNV which can be specified inVkOpticalFlowSessionCreateInfoNV::hintGridSize. - LIMITS HINTSUPPORTED
hintSupportedis a boolean describing whether using hint flow vector map is supported in an optical flow session. - LIMITS COSTSUPPORTED
costSupportedis a boolean describing whether cost map generation is supported in an optical flow session. - LIMITS BIDIRECTIONALFLOWSUPPORTED
bidirectionalFlowSupportedis a boolean describing whether bi-directional flow generation is supported in an optical flow session. - LIMITS GLOBALFLOWSUPPORTED
globalFlowSupportedis a boolean describing whether global flow vector map generation is supported in an optical flow session. - LIMITS MINWIDTH
minWidthis the minimum width in pixels for images used in an optical flow session. - LIMITS MINHEIGHT
minHeightis the minimum height in pixels for images used in an optical flow session. - LIMITS MAXWIDTH
maxWidthis the maximum width in pixels for images used in an optical flow session. - LIMITS MAXHEIGHT
maxHeightis the maximum height in pixels for images used in an optical flow session. - LIMITS MAXNUMREGIONSOFINTEREST
maxNumRegionsOfInterestis the maximum number of regions of interest which can be used in an optical flow session. If thismaxNumRegionsOfInterestis 0, regions of interest are not supported in an optical flow session.
If the VkPhysicalDeviceOpticalFlowPropertiesNV structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceOpticalFlowPropertiesNV-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV