D3D12_VIDEO_MOTION_ESTIMATOR_INPUT structure (d3d12video.h)

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

Syntax

typedef struct D3D12_VIDEO_MOTION_ESTIMATOR_INPUT {
  ID3D12Resource              *pInputTexture2D;
  UINT                        InputSubresourceIndex;
  ID3D12Resource              *pReferenceTexture2D;
  UINT                        ReferenceSubresourceIndex;
  ID3D12VideoMotionVectorHeap *pHintMotionVectorHeap;
} D3D12_VIDEO_MOTION_ESTIMATOR_INPUT;

Members

pInputTexture2D

An ID3D12Resource representing the current frame. The motion estimation operation applies to the entire frame.

InputSubresourceIndex

The base plane of the MIP and array slice to use for the input.

pReferenceTexture2D

An ID3D12Resource representing the reference frame, or past frame, used for motion estimation.

ReferenceSubresourceIndex

The base plane of the MIP and array slice to use for the reference.

pHintMotionVectorHeap

An ID3D12VideoMotionVectorHeap representing the buffer containing the hardware-dependent output of the previous motion estimator operation which may be used for hinting the current operation. This parameter may be NULL, indicating that previous motion estimator output should not be considered for the current operation.

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