D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 structure (d3d12umddi.h)

The D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 structure specifies video encoder heap parameters.

Syntax

typedef struct D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 {
  UINT                                                      NodeMask;
  D3D12DDI_VIDEO_ENCODER_HEAP_FLAGS_0080                    Flags;
  D3D12DDI_VIDEO_ENCODER_CODEC_0080                         EncodeCodec;
  D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2                EncodeProfile;
  D3D12DDI_VIDEO_ENCODER_LEVEL_SETTING_0080_2               EncodeLevel;
  UINT                                                      ResolutionsListCount;
  const D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 *pResolutionList;
} D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2;

Members

NodeMask

For a single GPU operation, set NodeMask 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 one bit can be set.

Flags

A D3D12DDI_VIDEO_ENCODER_HEAP_FLAGS_0080 value that specifies the video encoder heap creation flags.

EncodeCodec

A D3D12DDI_VIDEO_ENCODER_CODEC_0080 value that identifies the codec of the associated encoder object.

EncodeProfile

A D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 structure that identifies the codec's profile.

EncodeLevel

A D3D12DDI_VIDEO_ENCODER_LEVEL_SETTING_0080_2 structure that indicates the level for the specified codec and the profile in the associated encoder object.

ResolutionsListCount

Number of lists that pResolutionList points to.

pResolutionList

Pointer to a list of D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 structures that contain picture resolutions requested to be supported.

Remarks

If support for resolution dynamic reconfiguration is not supported, only one resolution is passed to denote the desired target resolution.

See D3D12 video encoding for general information.

Requirements

Requirement Value
Minimum supported client Windows 11 (WDDM 3.0)
Header d3d12umddi.h

See also

D3D12DDICAPS_VIDEO_ENCODER_HEAP_SIZE_DATA_0080_2

PFND3D12DDI_CALCPRIVATEVIDEOENCODERHEAPSIZE_0080_2

PFND3D12DDI_CREATEVIDEOENCODERHEAP_0080_2