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_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.

Requirements

   
Header d3d12video.h