Bewerken

Delen via


PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060 callback function (d3d12umddi.h)

Creates the video motion estimator.

Syntax

PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060 Pfnd3d12ddiCreatevideomotionestimator0060;

HRESULT Pfnd3d12ddiCreatevideomotionestimator0060(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_VIDEO_MOTION_ESTIMATOR_0060 *pArgs,
  D3D12DDI_HVIDEOMOTIONESTIMATOR_0053 hDrvMotionEstimator
)
{...}

Parameters

hDrvDevice

A handle to the display device (graphics context) that the Direct3D runtime uses.

pArgs

Pointer to a D3D12DDIARG_CREATE_VIDEO_MOTION_ESTIMATOR_0060 structure.

hDrvMotionEstimator

A handle to a D3D12DDI_HVIDEOMOTIONESTIMATOR_0053 that represents the user mode driver motion estimator type.

Return value

Returns HRESULT.

Remarks

The motion estimation operation must support reading from and writing to hardware DRM protected resources when the driver supports Direct3D protected resource support. If the inputs are hardware DRM protected, the runtime will require that the output is a hardware DRM protected resource.

The motion estimation operation is assumed to write to both the D3D12DDI_HVIDEOMOTIONESTIMATOR_0053 context object and to the D3D12DDI_HVIDEOMOTIONVECTORHEAP_0053, so these must be created with a protected resource session when the input textures are protected.

Requirements

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