D3D12DDI_VIDEO_MOTION_ESTIMATOR_SIZE_DATA_0053 structure (d3d12umddi.h)

This capability determines the residency size for the motion estimator and the hardware dependent output buffer when called with the same creation parameters.

Syntax

typedef struct D3D12DDI_VIDEO_MOTION_ESTIMATOR_SIZE_DATA_0053 {
  UINT                                                    NodeMask;
  DXGI_FORMAT                                             InputFormat;
  D3D12DDI_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_0053  BlockSize;
  D3D12DDI_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_0053   Precision;
  D3D12DDI_VIDEO_MOTION_ESTIMATOR_DIFFERENCES_METRIC_0053 DifferencesMetric;
  D3D12DDI_VIDEO_SIZE_RANGE_0032                          SizeRange;
  BOOL                                                    Protected;
  UINT64                                                  MotionEstimatorMemoryPoolL0Size;
  UINT64                                                  MotionEstimatorMemoryPoolL1Size;
  UINT64                                                  MotionVectorHeapMemoryPoolL0Size;
  UINT64                                                  MotionVectorHeapMemoryPoolL1Size;
} D3D12DDI_VIDEO_MOTION_ESTIMATOR_SIZE_DATA_0053;

Members

NodeMask

In multi-adapter operation, this indicates which physical adapter of the device this operation applies to.

InputFormat

The DXGI_FORMAT of the input frame and reference frame. Currently, only DXGI_FORMAT_NV12 is allowed.

BlockSize

The block size to use with the motion estimator. See D3D12DDI_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_0053.

Precision

The precision to use with the motion estimator. See D3D12DDI_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_0053.

DifferencesMetric

Indicates the differences metric to capture during motion estimation. See D3D12DDI_VIDEO_MOTION_ESTIMATOR_DIFFERENCES_METRIC_0053.

SizeRange

The size range allowed with the Motion Estimator. This may be a subset of the size range supported by the driver to optimize memory usage. See D3D12DDI_VIDEO_SIZE_RANGE_0032.

Protected

TRUE if the motion estimator operates on protected resource input and produces protected output. The driver must also support protected resources for D3D12 to set TRUE. FALSE otherwise.

MotionEstimatorMemoryPoolL0Size

Output memory pool size.

MotionEstimatorMemoryPoolL1Size

Output memory pool size.

MotionVectorHeapMemoryPoolL0Size

Output memory pool size.

MotionVectorHeapMemoryPoolL1Size

Output memory pool size.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h