D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR structure (d3d12video.h)
Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR. Retrieves the motion estimation capabilities for a video encoder.
Syntax
typedef struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR {
UINT NodeIndex;
DXGI_FORMAT InputFormat;
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS BlockSizeFlags;
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS PrecisionFlags;
D3D12_VIDEO_SIZE_RANGE SizeRange;
} D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR;
Members
NodeIndex
In multi-adapter operation, identifies the physical adapter of the device this operation applies to.
InputFormat
A DXGI_FORMAT structure specifying the format of the input resources.
BlockSizeFlags
A bitwise OR combination of values from the D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS enumeration specifying the encoder's supported search block sizes for motion estimation.
PrecisionFlags
A bitwise OR combination of values from the D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS enumeration specifying the encoder's supported vector precision for motion estimation.
SizeRange
A D3D12_VIDEO_SIZE_RANGE structure representing the minimum and maximum input size supported by the driver. The driver sets the fields of this structure to zero if motion estimation is unsupported.
Remarks
When the format is not supported with motion estimation, BlockSizeFlags will be set to D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_NONE, PrecisionFlags will be set to D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_NONE, and the SizeRange will be set to all zeros.
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 |