D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_ARGUMENTS structure (d3d12video.h)

Represents output arguments for a call to ID3D12VideoEncodeCommandList2::ResolveEncoderOutputMetadata.

Syntax

typedef struct D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_ARGUMENTS {
  D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER ResolvedLayoutMetadata;
} D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_ARGUMENTS;

Members

ResolvedLayoutMetadata

A D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER representing the resolved metadata buffer.

This buffer must be read back to the CPU by the caller and cast to a D3D12_VIDEO_ENCODER_OUTPUT_METADATA structure. The remaining data in the buffer, corresponds to D3D12_VIDEO_ENCODER_OUTPUT_METADATA.WrittenSubregionsCount packed entries of type D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA.

Remarks

The following diagram illustrates the resolved metadata memory layout in an ID3D12Resource.

Diagram of the resolved metadata memory layout in an ID3D12Resource

Requirements

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