ID3D12VideoDevice::CreateVideoDecoderHeap method (d3d12video.h)
Allocates a video decoder heap that contains the resolution-dependent driver resources and state.
Syntax
HRESULT CreateVideoDecoderHeap(
const D3D12_VIDEO_DECODER_HEAP_DESC *pVideoDecoderHeapDesc,
REFIID riid,
void **ppVideoDecoderHeap
);
Parameters
pVideoDecoderHeapDesc
A pointer to a D3D12_VIDEO_DECODER_HEAP_DESC describing the decoding configuration.
riid
The globally unique identifier (GUID) for the decode video state interface.
ppVideoDecoderHeap
A pointer to a memory block that receives a pointer to the ID3D12VideoDecoderHeap interface.
Return value
This method returns an HRESULT.
Requirements
Requirement | Value |
---|---|
Header | d3d12video.h |
DLL | d3d12.dll |