VkDataGraphOpticalFlowGridSizeFlagBitsARM(3)

# VkDataGraphOpticalFlowGridSizeFlagBitsARM(3) Manual Page

## Name

VkDataGraphOpticalFlowGridSizeFlagBitsARM - Bits specifying grid sizes for optical flow operations

## C Specification

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 VkDataGraphPipelineOpticalFlowCreateInfoARM::`outputGridSize` and VkDataGraphPipelineOpticalFlowCreateInfoARM::`hintGridSize`, or which are returned in VkQueueFamilyDataGraphOpticalFlowPropertiesARM::`supportedOutputGridSizes` and VkQueueFamilyDataGraphOpticalFlowPropertiesARM::`supportedHintGridSizes` controlling optical flow grid sizes, are:

    // Provided by VK_ARM_data_graph_optical_flow
    typedef enum VkDataGraphOpticalFlowGridSizeFlagBitsARM {
        VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_UNKNOWN_ARM = 0,
        VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_ARM = 0x00000001,
        VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_ARM = 0x00000002,
        VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_ARM = 0x00000004,
        VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_ARM = 0x00000008,
    } VkDataGraphOpticalFlowGridSizeFlagBitsARM;

## Description

- VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_ARM specifies that grid is 1x1 pixel.

- VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_ARM specifies that grid is 2x2 pixel.

- VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_ARM specifies that grid is 4x4 pixel.

- VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_ARM specifies that grid is 8x8 pixel.

## See Also

VK_ARM_data_graph_optical_flow, VkDataGraphOpticalFlowGridSizeFlagsARM

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