// d3d12umddi.h
PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060 Pfnd3d12ddiCreatevideomotionestimator0060;
HRESULT Pfnd3d12ddiCreatevideomotionestimator0060(
D3D12DDI_HDEVICE hDrvDevice,
const D3D12DDIARG_CREATE_VIDEO_MOTION_ESTIMATOR_0060 *pArgs,
D3D12DDI_HVIDEOMOTIONESTIMATOR_0053 hDrvMotionEstimator
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Creates the video motion estimator.
hDrvDeviceA handle to the display device (graphics context) that the Direct3D runtime uses.
pArgsPointer to a D3D12DDIARG_CREATE_VIDEO_MOTION_ESTIMATOR_0060 structure.
hDrvMotionEstimatorA handle to a D3D12DDI_HVIDEOMOTIONESTIMATOR_0053 that represents the user mode driver motion estimator type.
Returns HRESULT.
//Declaration
PFND3D12DDI_CREATEVIDEOMOTIONESTIMATOR_0060 Pfnd3d12ddiCreatevideomotionestimator0060;
// Definition
HRESULT Pfnd3d12ddiCreatevideomotionestimator0060
(
D3D12DDI_HDEVICE hDrvDevice
const D3D12DDIARG_CREATE_VIDEO_MOTION_ESTIMATOR_0060 *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.