D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT structure (d3d12video.h)
Receives output data from calls to ID3D12VideoEncodeCommandList::ResolveMotionVectorHeap.
Syntax
typedef struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT {
ID3D12Resource *pMotionVectorTexture2D;
D3D12_RESOURCE_COORDINATE MotionVectorCoordinate;
} D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT;
Members
pMotionVectorTexture2D
An ID3D12Resource representing the output resource for resolved motion vectors. Motion vectors are resolved to DXGI_FORMAT_R16G16_SINT 2D textures. The resolved data is a signed 16-byte integer with quarter PEL units 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
A D3D12_RESOURCE_COORDINATE structure specifying 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 pixel with and pixel height and the specified D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE.
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 |