D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d12umddi-d3d12ddi_video_encoder_encodeframe_output_stream_arguments_0080_2)

Description

The D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2 structure contains the parameters for the output of a video encode operation.

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.

See also

D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_INPUT_STREAM_ARGUMENTS_0082_0

D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_0082_0

PFND3D12DDI_VIDEO_ENCODE_FRAME_0082_0

PFND3D12DDI_VIDEO_ENCODE_RESOLVE_OUTPUT_METADATA_0082_0