D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE structure (d3d12video.h)

Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SIZE. Checks the allocation size of a video extension command.

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE {
  UINT       NodeIndex;
  GUID       CommandId;
  const void *pCreationParameters;
  SIZE_T     CreationParametersSizeInBytes;
  UINT64     MemoryPoolL0Size;
  UINT64     MemoryPoolL1Size;
} D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE;

Members

NodeIndex

In multi-adapter operation, this indicates which physical adapter of the device this operation applies to.

CommandId

The unique identifier for the video extension command for which size is queried.

pCreationParameters

A pointer to the creation parameters structure, which is defined by the command. The parameters structure must match the parameters enumerated by a call to ID3D12VideoDevice::CheckFeatureSupport with the feature value of D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETERS and a parameter stage value of D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE_CREATION.

CreationParametersSizeInBytes

The size of the pCreationParameters parameter structure, in bytes.

MemoryPoolL0Size

The allocation size of the video extension command in the L0 memory pool. L0 is the physical system memory pool. When the adapter is discrete/NUMA, this pool has greater bandwidth for the CPU and less bandwidth for the GPU. When the adapter is UMA, this pool is the only one which is valid. For more information, see Residency.

MemoryPoolL1Size

The allocation size of the video extension command heap in the L1 memory pool. L1 is typically known as the physical video memory pool. L1 is only available when the adapter is discrete/NUMA, and has greater bandwidth for the GPU and cannot even be accessed by the CPU. When the adapter is UMA, this pool is not available. For more information, see Residency.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header d3d12video.h