D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION structure (d3d12video.h)

Represents a codec configuration structure for video encoding.

Syntax

typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION {
  UINT  DataSize;
  union {
    D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264 *pH264Config;
    D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC *pHEVCConfig;
    D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION  *pAV1Config;
  };
} D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION;

Members

DataSize

The data size of the provided codec configuration structure.

pH264Config

A pointer to a D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264 structure containing codec configuration parameters for H.264 encoding.

pHEVCConfig

A pointer to a D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC structure containing codec configuration parameters for HEVC encoding.

pAV1Config

Requirements

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