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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for