ID3D12VideoEncoderHeap::GetCodecProfile method (d3d12video.h)

Gets the codec profile associated with the video encoder heap.

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_HEAP_DESC passed into ID3D12VideoDevice3::CreateVideoEncoderHeap.

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