ID3D12VideoDevice1::CreateVideoMotionEstimator method (d3d12video.h)

Creates an ID3D12VideoMotionEstimator, which maintains context for video motion estimation operations.

Syntax

HRESULT CreateVideoMotionEstimator(
  const D3D12_VIDEO_MOTION_ESTIMATOR_DESC *pDesc,
  ID3D12ProtectedResourceSession          *pProtectedResourceSession,
  REFIID                                  riid,
  void                                    **ppVideoMotionEstimator
);

Parameters

pDesc

A D3D12_VIDEO_MOTION_ESTIMATOR_DESC describing the parameters used for motion estimation. This structure contains both input and output fields.

pProtectedResourceSession

A ID3D12ProtectedResourceSession for managing access to protected resources.

riid

The globally unique identifier (GUID) for the ID3D12VideoMotionEstimator interface.

ppVideoMotionEstimator

A pointer to a memory block that receives a pointer to the ID3D12VideoMotionEstimator interface.

Return value

This method returns HRESULT.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12video.h
DLL d3d12.dll