// d3d12umddi.h
typedef struct D3D12DDI_VIDEO_EXTENSION_COMMAND_SIZE_DATA_0063 {
[in] UINT NodeIndex;
[in] GUID CommandId;
[in] const void *pCreationParameters;
[in] SIZE_T CreationParametersSizeInBytes;
[out] UINT64 MemoryPoolL0Size;
[out] UINT64 MemoryPoolL1Size;
} D3D12DDI_VIDEO_EXTENSION_COMMAND_SIZE_DATA_0063;
View the official Windows Driver Kit DDI referenceNo description available.
Queries the residency size information for a video extension command.
NodeIndex [in]For 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.
CommandId [in]The unique identifier for the video extension command.
pCreationParameters [in]Pointer to the initialization parameters structure. Parameters for this structure must match the parameter enumeration for D3D12DDI_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE_0063_INITIALIZATION.
CreationParametersSizeInBytes [in]The size of the initialization parameters structure in bytes.
MemoryPoolL0Size [out]Indicates the command size in L0. L0 is the “closest” memory to the GPU. For discrete adapters, this is discrete graphics memory. For integrated adapters, this is typically the system memory size.
MemoryPoolL1Size [out]Indicates the command size in L1. L1 is the “next closest” memory for GPU. For discrete adapters, this is system memory. Integrated adapters do not typically have L1 and report zero size here.
Drivers must support the existing pfnMakeResident and pfnEvict with the D3D12DDI_HVIDEOEXTENSIONCOMMAND.