D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 structure (d3d12umddi.h)

D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 is a generic structure for codec profiles.

Syntax

typedef struct D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 {
  UINT  DataSize;
  union {
    D3D12DDI_VIDEO_ENCODER_PROFILE_H264_0080 *pH264Profile;
    D3D12DDI_VIDEO_ENCODER_PROFILE_HEVC_0080 *pHEVCProfile;
  };
} D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2;

Members

DataSize

The size of the referenced data, in bytes.

pH264Profile

Pointer to a D3D12DDI_VIDEO_ENCODER_PROFILE_H264_0080 value that indicates an H.264 profile.

pHEVCProfile

Pointer to a D3D12DDI_VIDEO_ENCODER_PROFILE_HEVC_0080 value that indicates an HEVC profile.

Remarks

See D3D12 video encoding for general information, including an explanation about the pointers to enum types.

Requirements

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

See also

D3D12DDIARG_CREATE_VIDEO_ENCODER_0082_0