C Specification
The VkPhysicalDeviceOpticalFlowPropertiesNV structure is defined as:
// Provided by VK_NV_optical_flow
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;Members
- 
sTypeis a VkStructureType value identifying this structure.
- 
pNextisNULLor a pointer to a structure extending this structure.
- 
supportedOutputGridSizesare the supported VkOpticalFlowGridSizeFlagsNV which can be specified inVkOpticalFlowSessionCreateInfoNV::outputGridSize.
- 
supportedHintGridSizesare the supported VkOpticalFlowGridSizeFlagsNV which can be specified inVkOpticalFlowSessionCreateInfoNV::hintGridSize.
- 
hintSupportedis a boolean describing whether using hint flow vector map is supported in an optical flow session.
- 
costSupportedis a boolean describing whether cost map generation is supported in an optical flow session.
- 
bidirectionalFlowSupportedis a boolean describing whether bi-directional flow generation is supported in an optical flow session.
- 
globalFlowSupportedis a boolean describing whether global flow vector map generation is supported in an optical flow session.
- 
minWidthis the minimum width in pixels for images used in an optical flow session.
- 
minHeightis the minimum height in pixels for images used in an optical flow session.
- 
maxWidthis the maximum width in pixels for images used in an optical flow session.
- 
maxHeightis the maximum height in pixels for images used in an optical flow session.
- 
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.
Description
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.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.