D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT structure (d3d12video.h)

Specifies the output parameters for calls to ID3D12VideoEncodeCommandList::EstimateMotion.

Syntax

typedef struct D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT {
  ID3D12VideoMotionVectorHeap *pMotionVectorHeap;
} D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT;

Members

pMotionVectorHeap

An ID3D12VideoMotionVectorHeap containing the resolved motion estimation vectors. Motion vectors are resolved to a DXGI_FORMAT_R16G16_SINT 2D texture. 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.

Remarks

Call ID3D12VideoEncodeCommandList::ResolveMotionVectorHeap to translate the motion vector output of the EstimateMotion method from hardware-dependent formats into a consistent format defined by the video motion estimation APIs.

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

See also

ID3D12VideoEncodeCommandList::EstimateMotion ID3D12VideoEncodeCommandList::ResolveMotionVectorHeap