Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents input arguments for ID3D12VideoEncodeCommandList4::ResolveEncoderOutputMetadata1, with support for optional metadata.
Syntax
typedef struct D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS1 {
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_OPTIONAL_METADATA_ENABLE_FLAGS OptionalMetadata;
D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION CodecConfiguration;
} D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS1;
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 describing the resolution used for the encoding operation.
HWLayoutMetadata
A D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER representing the opaque metadata buffer received from EncodeFrame1.
OptionalMetadata
A D3D12_VIDEO_ENCODER_OPTIONAL_METADATA_ENABLE_FLAGS value indicating which optional metadata was enabled during encoding and needs layout resolving.
CodecConfiguration
A D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION specifying the codec configuration used in the associated EncodeFrame1 call. Required when any flags are set in OptionalMetadata; otherwise pass as zeroed/NULL.
Remarks
This structure extends D3D12_VIDEO_ENCODER_RESOLVE_METADATA_INPUT_ARGUMENTS with OptionalMetadata and CodecConfiguration fields.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12video.h |
See also
ID3D12VideoEncodeCommandList4::ResolveEncoderOutputMetadata1