PFND3D12DDI_ESTIMATE_MOTION_0053 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_ESTIMATE_MOTION_0053 Pfnd3d12ddiEstimateMotion0053;

VOID Pfnd3d12ddiEstimateMotion0053(
  D3D12DDI_HCOMMANDLIST hDrvCommandList,
  D3D12DDI_HVIDEOMOTIONESTIMATOR_0053 hDrvMotionEstimator,
  const D3D12DDI_VIDEO_MOTION_ESTIMATOR_OUTPUT_0053 *pOutputArguments,
  const D3D12DDI_VIDEO_MOTION_ESTIMATOR_INPUT_0053 *pInputArguments
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_estimate_motion_0053)

PFND3D12DDI_ESTIMATE_MOTION_0053 callback function

Description

Performs the motion estimation operation.

Parameters

hDrvCommandList

Driver handle for a video encode command list.

hDrvMotionEstimator

Handle to the motion estimator context object.

pOutputArguments

Pointer to a D3D12DDI_VIDEO_MOTION_ESTIMATOR_OUTPUT_0053 structure that contains the output arguments for the motion estimation operation.

pInputArguments

Pointer to a D3D12DDI_VIDEO_MOTION_ESTIMATOR_INPUT_0053 structure that contains the input arguments for the motion estimation operation.

Prototype

//Declaration

PFND3D12DDI_ESTIMATE_MOTION_0053 Pfnd3d12ddiEstimateMotion0053;

// Definition

VOID Pfnd3d12ddiEstimateMotion0053
(
    D3D12DDI_HCOMMANDLIST hDrvCommandList
    D3D12DDI_HVIDEOMOTIONESTIMATOR_0053 hDrvMotionEstimator
    CONST D3D12DDI_VIDEO_MOTION_ESTIMATOR_OUTPUT_0053 *pOutputArguments
    CONST D3D12DDI_VIDEO_MOTION_ESTIMATOR_INPUT_0053 *pInputArguments
)
{...}

Remarks

The motion estimation operation has a context object to associate the lifetime of internal allocations needed to perform the operation. All allocations associated with his object should be allocated when the object is created and deallocated when the object is de-allocated. This should include any buffers used as temporary/scratch storage.

Operations against this object may be recorded to command lists in a different order than execution. No two API queue instances may be executing command lists containing this object at the same time and expect valid results. The application is responsible for synchronizing access across multiple queue instances.

This object must support PFND3D12DDI_MAKERESIDENT, PFND3D12DDI_EVICT, and PFND3D12DDI_GET_DEBUG_ALLOCATION_INFO.

See also