ID3D12VideoEncoderHeap::GetCodecLevel method (d3d12video.h)

Gets the codec level associated with the video encoder heap.

Syntax

HRESULT GetCodecLevel(
  D3D12_VIDEO_ENCODER_LEVEL_SETTING dstLevel
);

Parameters

dstLevel

Receives a D3D12_VIDEO_ENCODER_LEVEL_SETTING structure representing the codec profile specified in the D3D12_VIDEO_ENCODER_HEAP_DESC passed into ID3D12VideoDevice3::CreateVideoEncoderHeap.

Requirements

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