ID3D12VideoDevice1::CreateVideoMotionVectorHeap method (d3d12video.h)
Allocates heap that contains motion vectors for video motion estimation.
Syntax
HRESULT CreateVideoMotionVectorHeap(
const D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC *pDesc,
ID3D12ProtectedResourceSession *pProtectedResourceSession,
REFIID riid,
void **ppVideoMotionVectorHeap
);
Parameters
pDesc
A pointer to a D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC describing the format of the heap. This structure contains both input and output fields.
pProtectedResourceSession
A ID3D12ProtectedResourceSession for managing access to protected resources.
riid
The globally unique identifier (GUID) for the ID3D12VideoMotionVectorHeap interface.
ppVideoMotionVectorHeap
A pointer to a memory block that receives a pointer to the ID3D12VideoMotionVectorHeap interface.
Return value
This method returns HRESULT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | d3d12video.h |
DLL | d3d12.dll |