Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the output of the resolve operation.
Syntax
typedef struct D3D12DDI_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT_0053 {
D3D12DDI_HRESOURCE hDrvMotionVectorTexture2D;
D3D12DDI_RESOURCE_COORDINATE_0053 MotionVectorCoordinate;
D3D12DDI_HRESOURCE hDrvDifferencesMetricTexture2D;
D3D12DDI_RESOURCE_COORDINATE_0053 DifferencesMetricCoordinate;
} D3D12DDI_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT_0053;
Members
hDrvMotionVectorTexture2D
The output resource for resolved motion vectors. Motion vectors are resolved to a DXGI_FORMAT_R16G16_SINT 2d texture. The resolved data is expected to be a signed 16-byte integer with quarter pel unit,s with the X vector component stored in the R component and the Y vector component stored in the G component. Motion vectors are stored in a 2D layout that corresponds to the pixel layout of the original input textures.
MotionVectorCoordinate
Specifies the output origin of the motion vectors. The remaining sub-region must be large enough to store all motion vectors per block specified by the input PixelWidth/PixelHeight and the D3D12DDI_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_0053.
hDrvDifferencesMetricTexture2D
When the D3D12DDI_VIDEO_MOTION_ESTIMATOR_DIFFERENCES_METRIC_0053 is D3D12DDI_VIDEO_MOTION_ESTIMATOR_DIFFERENCES_METRIC_0053_NONE, this parameter must be nullptr.
When the D3D12DDI_VIDEO_MOTION_ESTIMATOR_DIFFERENCES_METRIC_0053 is D3D12DDI_VIDEO_MOTION_ESTIMATOR_DIFFERENCES_METRIC_0053_SUM_OF_ABSOLUTE_TRANSFORMED_DIFFERENCES, this is a DXGI_FORMAT_R32_UNORM or DXGI_FORMAT_R32_UINT texture 2D. The values are stored in a 2D layout that corresponds to the pixel layout of the original input textures.
DifferencesMetricCoordinate
Specifies the output origin of the differences metric. The remaining sub-region must be large enough to store a difference metric per block specified by the input PixelWidth/PixelHeight of the D3D12DDI_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_0053.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1809 |
| Header | d3d12umddi.h |