ID3D12VideoEncoder::GetCodecProfile method (d3d12video.h)

Gets the codec profile associated with the video encoder.

Syntax

HRESULT GetCodecProfile(
  D3D12_VIDEO_ENCODER_PROFILE_DESC dstProfile
);

Parameters

dstProfile

Receives a D3D12_VIDEO_ENCODER_PROFILE_DESC structure representing the codec profile specified in the D3D12_VIDEO_ENCODER_DESC passed into ID3D12VideoDevice3::CreateVideoEncoder.

Return value

Returns S_OK on success.

Requirements

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