PFND3D12DDI_CREATEVIDEOMOTIONVECTORHEAP_0060 - NtDoc

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

PFND3D12DDI_CREATEVIDEOMOTIONVECTORHEAP_0060 Pfnd3d12ddiCreatevideomotionvectorheap0060;

HRESULT Pfnd3d12ddiCreatevideomotionvectorheap0060(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_VIDEO_MOTION_VECTOR_HEAP_0060 *pArgs,
  D3D12DDI_HVIDEOMOTIONVECTORHEAP_0053 hDrvMotionEstimator
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFND3D12DDI_CREATEVIDEOMOTIONVECTORHEAP_0060 callback function

Description

Creates a video motion vector heap.

Parameters

hDrvDevice

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

pArgs

Pointer to a D3D12DDIARG_CREATE_VIDEO_MOTION_VECTOR_HEAP_0053 structure.

hDrvMotionEstimator

A handle to the user mode driver motion vector heap type.

Return value

Returns HRESULT.

Prototype

//Declaration

PFND3D12DDI_CREATEVIDEOMOTIONVECTORHEAP_0060 Pfnd3d12ddiCreatevideomotionvectorheap0060;

// Definition

HRESULT Pfnd3d12ddiCreatevideomotionvectorheap0060
(
    D3D12DDI_HDEVICE hDrvDevice
     const D3D12DDIARG_CREATE_VIDEO_MOTION_VECTOR_HEAP_0060 *pArgs
    D3D12DDI_HVIDEOMOTIONVECTORHEAP_0053 hDrvMotionEstimator
)
{...}

Remarks

At the API, the Motion Vector Heap object is created to store motion vector output. Motion vector output is opaque at the API.

At the DDI, the runtime will create a standard Resource Buffer. This buffer contains hardware dependent layout. A resolve operation on a compute/3D queue will take this buffer as input and resolve it to the API specified format. The size of this buffer is driver controlled and determined by D3D12DDICAPS_TYPE_VIDEO_0053_MOTION_ESTIMATOR_SIZE capability check of the D3D12DDICAPS_TYPE_VIDEO_0020 enumeration. The buffer may later be used to serialize and deserialize the object for tooling scenarios.

See also