D3D12DDI_VIDEO_EXTENSION_COMMAND_SIZE_DATA_0063 structure (d3d12umddi.h)

Queries the residency size information for a video extension command.

Syntax

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;

Members

[in] NodeIndex

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.

[in] CommandId

The unique identifier for the video extension command.

[in] pCreationParameters

Pointer to the initialization parameters structure. Parameters for this structure must match the parameter enumeration for D3D12DDI_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE_0063_INITIALIZATION.

[in] CreationParametersSizeInBytes

The size of the initialization parameters structure in bytes.

[out] MemoryPoolL0Size

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.

[out] MemoryPoolL1Size

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.

Remarks

Drivers must support the existing pfnMakeResident and pfnEvict with the D3D12DDI_HVIDEOEXTENSIONCOMMAND.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1903
Header d3d12umddi.h