D3D12DDICAPS_VIDEO_ENCODER_HEAP_SIZE_DATA_0080_2 structure (d3d12umddi.h)
The D3D12DDICAPS_VIDEO_ENCODER_HEAP_SIZE_DATA_0080_2 structure is used to retrieve the memory requirements of a video encoder heap.
Syntax
typedef struct D3D12DDICAPS_VIDEO_ENCODER_HEAP_SIZE_DATA_0080_2 {
D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 HeapDesc;
BOOL IsSupported;
UINT64 MemoryPoolL0Size;
UINT64 MemoryPoolL1Size;
} D3D12DDICAPS_VIDEO_ENCODER_HEAP_SIZE_DATA_0080_2;
Members
HeapDesc
[in] A D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 structure that specifies the creation properties for a video encoder heap. The driver should map these creation properties to size and assume the maximum resolution allowed for such a heap.
IsSupported
[out] Indicates whether the given feature values are supported.
MemoryPoolL0Size
[out] The L0 size of the heap object, in bytes. Memory pool L0 is the memory pool "closest" to the GPU. For UMA adapters, this is the amount of system memory used. For discrete adapters, this is the amount of discrete memory used.
MemoryPoolL1Size
[out] The L1 size of the heap object, in bytes. Memory pool L0 is the memory pool "second closest" to the GPU. For UMA adapters, this value is zero. For discrete adapters, this is the amount of system memory used.
Remarks
The D3D runtime calls PFND3D12DDI_VIDEO_GETCAPS with D3D12DDICAPS_TYPE_VIDEO_0080_ENCODER_HEAP_SIZE specified as the capability type.
See D3D12 video encoding for general information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (WDDM 3.0) |
Header | d3d12umddi.h |
See also
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