D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS structure (d3d12video.h)

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

Syntax

typedef struct D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS {
  D3D12_VIDEO_ENCODER_CODEC                            EncoderCodec;
  D3D12_VIDEO_ENCODER_PROFILE_DESC                     EncoderProfile;
  DXGI_FORMAT                                          EncoderInputFormat;
  D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC          EncodedPictureEffectiveResolution;
  D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER HWLayoutMetadata;
} D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS;

Members

EncoderCodec

A D3D12_VIDEO_ENCODER_CODEC specifying the codec of the associated encode operation.

EncoderProfile

A D3D12_VIDEO_ENCODER_PROFILE_DESC specifying the profile for the selected codec in the associated encode operation.

EncoderInputFormat

A DXGI_FORMAT specifying the input format of the associated encode operation.

EncodedPictureEffectiveResolution

A D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC structure describing the resolution used for the encoding operation.

HWLayoutMetadata

A D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER representing the associated opaque metadata buffer received from EncodeFrame.

Requirements

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