VkDataGraphOpticalFlowCreateFlagBitsARM(3)

# VkDataGraphOpticalFlowCreateFlagBitsARM(3) Manual Page

## Name

VkDataGraphOpticalFlowCreateFlagBitsARM - Bits specifying flags for newly created optical flow data graph node

## C Specification

Bits which can be set in VkDataGraphPipelineOpticalFlowCreateInfoARM::`flags`, controlling optical flow pipeline operations, are:

    // Provided by VK_ARM_data_graph_optical_flow
    typedef enum VkDataGraphOpticalFlowCreateFlagBitsARM {
        VK_DATA_GRAPH_OPTICAL_FLOW_CREATE_ENABLE_HINT_BIT_ARM = 0x00000001,
        VK_DATA_GRAPH_OPTICAL_FLOW_CREATE_ENABLE_COST_BIT_ARM = 0x00000002,
        VK_DATA_GRAPH_OPTICAL_FLOW_CREATE_RESERVED_30_BIT_ARM = 0x40000000,
    } VkDataGraphOpticalFlowCreateFlagBitsARM;

## Description

- VK_DATA_GRAPH_OPTICAL_FLOW_CREATE_ENABLE_HINT_BIT_ARM specifies that a VkImageView with external flow vector map will be used as hints in performing the motion search and must be connected to VK_DATA_GRAPH_PIPELINE_NODE_CONNECTION_TYPE_OPTICAL_FLOW_HINT_ARM.

- VK_DATA_GRAPH_OPTICAL_FLOW_CREATE_ENABLE_COST_BIT_ARM specifies that the cost for the forward flow is generated in a VkImageView which must be connected to VK_DATA_GRAPH_PIPELINE_NODE_CONNECTION_TYPE_OPTICAL_FLOW_COST_ARM. The cost is the confidence level of the flow vector for each grid in the image. The cost implies how (in)accurate the flow vector is. Higher cost value implies the flow vector to be less accurate and vice-versa.

## See Also

VK_ARM_data_graph_optical_flow, VkDataGraphOpticalFlowCreateFlagsARM

## 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.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0