D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2 structure (d3d12umddi.h)
The D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2 structure contains the parameters for the output of a video encode operation.
Syntax
typedef struct D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2 {
D3D12DDI_VIDEO_ENCODER_COMPRESSED_BITSTREAM_0080 CompressedBitstream;
D3D12DDI_VIDEO_ENCODE_RECONSTRUCTED_PICTURE_0080 ReconstructedPicture;
D3D12DDI_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER_0080_2 HWLayoutEncoderMetadataDrvBuffer;
} D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2;
Members
CompressedBitstream
A D3D12DDI_VIDEO_ENCODER_COMPRESSED_BITSTREAM_0080 structure that encapsulates the compressed bitstream output for the encoding operation.
ReconstructedPicture
A D3D12DDI_VIDEO_ENCODE_RECONSTRUCTED_PICTURE_0080 structure that encapsulates the reconstructed picture generated from the input frame passed to the encode operation. This resource is only needed if the encoded picture is marked to be used as a reference picture in the corresponding picture control structure for this encode operation. Otherwise, this member can be set to NULL because the reconstructed picture will not be written in the output.
HWLayoutEncoderMetadataDrvBuffer
A D3D12DDI_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER_0080_2 structure that contains metadata returned by the encoder regarding the hardware-specific layout of the output. This data needs to be resolved into a readable format using PFND3D12DDI_VIDEO_ENCODE_RESOLVE_OUTPUT_METADATA_0082_0.
Remarks
Check for alignment requirements for the output resources used for the encoding operation.
See D3D12 video encoding for general information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (WDDM 3.0) |
Header | d3d12umddi.h |
See also
D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_INPUT_STREAM_ARGUMENTS_0082_0
D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_0082_0