ID3D12VideoEncodeCommandList2::ResolveEncoderOutputMetadata method (d3d12video.h)

Resolves the output metadata from a call to ID3D12VideoEncodeCommandList2::EncodeFrame to a readable format.

Syntax

void ResolveEncoderOutputMetadata(
  const D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS  *pInputArguments,
  const D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_ARGUMENTS *pOutputArguments
);

Parameters

pInputArguments

A pointer to a D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS, containing a pointer to the opaque D3D12_VIDEO_ENCODER_OUTPUT_METADATA received from a previous call to EncodeFrame.

pOutputArguments

A pointer to a D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_ARGUMENTS, containing a pointer to the D3D12_VIDEO_ENCODER_OUTPUT_METADATA where the resolved, readable metadata will be written.

Return value

None

Remarks

The caller can interpret the contents of pOutputArguments as a memory blob that contains a D3D12_VIDEO_ENCODER_OUTPUT_METADATA structure and the metadata array contents. The array contents of the dynamic size metadata based on the subregion number are positioned in memory contiguously right after the struct allocation and the pointers in the struct point to the start addresses of the array contents.

Requirements

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