D3D12_VIDEO_ENCODER_PROFILE_DESC structure (d3d12video.h)

Describes an encoder profile.

Syntax

typedef struct D3D12_VIDEO_ENCODER_PROFILE_DESC {
  UINT  DataSize;
  union {
    D3D12_VIDEO_ENCODER_PROFILE_H264 *pH264Profile;
    D3D12_VIDEO_ENCODER_PROFILE_HEVC *pHEVCProfile;
    D3D12_VIDEO_ENCODER_AV1_PROFILE  *pAV1Profile;
  };
} D3D12_VIDEO_ENCODER_PROFILE_DESC;

Members

DataSize

The data size of the provided encoder profile value.

pH264Profile

A pointer to a value from the D3D12_VIDEO_ENCODER_PROFILE_H264 enumeration specifying an H.264 profile.

pHEVCProfile

A pointer to a value from the D3D12_VIDEO_ENCODER_PROFILE_HEVC enumeration specifying an HEVC profile.

pAV1Profile

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header d3d12video.h