Enum
VkOpticalFlowGridSizeFlagBitsNV
Bits specifying grid sizes for optical flow operations
Optical flow vectors are generated block-wise, one vector for each block of NxN pixels (referred to as grid).
Bits which can be set in
VkOpticalFlowSessionCreateInfoNV::outputGridSize
and
VkOpticalFlowSessionCreateInfoNV::hintGridSize
, or which are
returned in
VkPhysicalDeviceOpticalFlowPropertiesNV::supportedOutputGridSizes
and
VkPhysicalDeviceOpticalFlowPropertiesNV::supportedHintGridSizes
controlling optical flow grid sizes, are:
typedef enum VkOpticalFlowGridSizeFlagBitsNV {
VK_OPTICAL_FLOW_GRID_SIZE_UNKNOWN_NV = 0,
VK_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_NV = 0x00000001,
VK_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_NV = 0x00000002,
VK_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_NV = 0x00000004,
VK_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_NV = 0x00000008,
} VkOpticalFlowGridSizeFlagBitsNV;
VK_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_NV
specifies that grid is 1x1 pixel.VK_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_NV
specifies that grid is 2x2 pixel.VK_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_NV
specifies that grid is 4x4 pixel.VK_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_NV
specifies that grid is 8x8 pixel.