// d3d12umddi.h
typedef struct D3D12DDI_VIDEO_PROCESSOR_SIZE_DATA_0072 {
[in] UINT NodeMask;
[in] D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM_DESC_0032 OutputStream;
[in] D3D12DDI_VIDEO_PROCESSOR_INPUT_STREAM_DESC_0043 *pInputStreams;
[in] UINT NumInputStreams;
[in] BOOL Protected;
[out] UINT64 MemoryPoolL0Size;
[out] UINT64 MemoryPoolL1Size;
} D3D12DDI_VIDEO_PROCESSOR_SIZE_DATA_0072;
View the official Windows Driver Kit DDI referenceNo description available.
D3D12DDI_VIDEO_PROCESSOR_SIZE_DATA_0072 is the structure for the D3D12DDICAPS_TYPE_VIDEO_0032_PROCESSOR_SIZE capability check when the video feature version is D3D12DDI_FEATURE_VERSION_VIDEO_0072_0. It is used to retrieve the memory allocation size of a video processor created with the given properties.
NodeMask [in]The set of GPU nodes. For a single GPU operation, set this to zero. If there are multiple GPU nodes, set a bit to identify the node (the device's physical adapter) to which the command queue applies. Each bit in the mask corresponds to a single node. Only 1 bit may be set.
OutputStream [in]A D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM_DESC_0032 structure that describes the output stream properties of the video processor.
pInputStreams [in]Pointer to NumInputStreams D3D12DDI_VIDEO_PROCESSOR_INPUT_STREAM_DESC_0043 structures that describe the input stream properties of the video processor.
NumInputStreams [in]The number of D3D12DDI_VIDEO_PROCESSOR_INPUT_STREAM_DESC_0043 structures that pInputStreams points to.
Protected [in]If TRUE, the video processor is created with a protected resource session and used with protected resources.
MemoryPoolL0Size [out]The L0 size of the heap object. Memory Pool L0 is the memory pool “closest” to the GPU. In the case of 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. Memory Pool L1 is the memory pool “second closest” to the GPU. In the case of UMA adapters, this value is zero. In the case of discrete adapters, this is the amount of system memory used.
See the D3D Video Protected Resource Support Specification for more information.
D3D12DDI_VIDEO_PROCESSOR_SIZE_DATA_0043