D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC structure (d3d12video.h)
Describes a ID3D12VideoMotionEstimatorHeap. Pass this structure into ID3D12VideoDevice1::CreateVideoMotionVectorHeap to create an instance of ID3D12VideoMotionEstimatorHeap.
Syntax
typedef struct D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC {
UINT NodeMask;
DXGI_FORMAT InputFormat;
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE BlockSize;
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION Precision;
D3D12_VIDEO_SIZE_RANGE SizeRange;
} D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC;
Members
NodeMask
The node mask specifying the physical adapter on which the video processor will be used. For single GPU operation, set this to zero. If there are multiple GPU nodes, set a bit to identify the node, i.e. the device's physical adapter, to which the command queue applies. Each bit in the mask corresponds to a single node. Only 1 bit may be set.
InputFormat
A value from the DXGI_FORMAT enumeration specifying the format of the input and reference frames.
BlockSize
A value from the D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE enumeration specifying the search block size the video motion estimator will use.
Precision
A value from the D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION enumeration specifying the vector precision the video motion estimator will use.
SizeRange
A D3D12_VIDEO_SIZE_RANGE structure representing the minimum and maximum input and reference frame size, in pixels, that the motion estimator will accept.
Remarks
Call ID3D12VideoDevice::CheckFeatureSupport and specify D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR as the feature to determine supported values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
Header | d3d12video.h |