Bewerken

Delen via


D3D12DDI_VIDEO_PROCESSOR_SIZE_DATA_0072 structure (d3d12umddi.h)

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.

Syntax

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;

Members

[in] NodeMask

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.

[in] OutputStream

A D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM_DESC_0032 structure that describes the output stream properties of the video processor.

[in] pInputStreams

Pointer to NumInputStreams D3D12DDI_VIDEO_PROCESSOR_INPUT_STREAM_DESC_0043 structures that describe the input stream properties of the video processor.

[in] NumInputStreams

The number of D3D12DDI_VIDEO_PROCESSOR_INPUT_STREAM_DESC_0043 structures that pInputStreams points to.

[in] Protected

If TRUE, the video processor is created with a protected resource session and used with protected resources.

[out] MemoryPoolL0Size

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.

[out] MemoryPoolL1Size

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.

Remarks

See the D3D Video Protected Resource Support Specification for more information.

Requirements

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

See also

D3D12DDI_VIDEO_PROCESSOR_SIZE_DATA_0043