UID | title | description | 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 | tech.root | ms.custom | f1_keywords | topic_type | api_type | api_location | api_name | dev_langs | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3d12umddi.PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0053 |
PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0053 (d3d12umddi.h) |
The PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0053 callback function creates a video motion estimator. |
10/19/2018 |
|
d3d12umddi.h |
Windows 10, version 1809 |
Windows |
display |
RS5 |
|
|
|
|
|
|
Creates the video motion estimator.
A handle to the display device (graphics context) that the Direct3D runtime uses.
Pointer to a D3D12DDIARG_CREATE_VIDEO_MOTION_ESTIMATOR_0053 structure.
A handle to the user mode driver motion estimator type.
Returns HRESULT.
//Declaration
PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0053 Pfnd3d12ddiCreatevideomotionestimator0053;
// Definition
HRESULT Pfnd3d12ddiCreatevideomotionestimator0053
(
D3D12DDI_HDEVICE hDrvDevice
CONST D3D12DDIARG_CREATE_VIDEO_MOTION_ESTIMATOR_0053 *pArgs
D3D12DDI_HVIDEOMOTIONESTIMATOR_0053 hDrvMotionEstimator
)
{...}
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.