Skip to content

Latest commit

 

History

History
93 lines (69 loc) · 2.56 KB

nc-d3d12umddi-pfnd3d12ddi_createvideomotionestimator_0060.md

File metadata and controls

93 lines (69 loc) · 2.56 KB
UID title description tech.root ms.date keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos ms.custom f1_keywords topic_type api_type api_location api_name dev_langs
NC:d3d12umddi.PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060
PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060
The PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060 callback function creates a video motion estimator.
display
04/04/2019
PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060 callback function
d3d12umddi.h
Windows 10, version 1903
Windows
UMD DDI Min Version D3D12DDI_SUPPORTED_0043, 19H1
PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060
d3d12umddi/PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060
apiref
UserDefined
d3d12umddi.h
PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060
c++

PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060 callback function

-description

Creates the video motion estimator.

-parameters

-param hDrvDevice

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

-param pArgs

Pointer to a D3D12DDIARG_CREATE_VIDEO_MOTION_ESTIMATOR_0060 structure.

-param hDrvMotionEstimator

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

-returns

Returns HRESULT.

-prototype

//Declaration

PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060 Pfnd3d12ddiCreatevideomotionestimator0060; 

// Definition

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

-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.

-see-also