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 output arguments to ID3D12VideoEncodeCommandList2::EncodeFrame.
Syntax
typedef struct D3D12_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_ARGUMENTS {
D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM Bitstream;
D3D12_VIDEO_ENCODER_RECONSTRUCTED_PICTURE ReconstructedPicture;
D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER EncoderOutputMetadata;
} D3D12_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_ARGUMENTS;
Members
Bitstream
A A D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM containing the result of the encoding operation.
ReconstructedPicture
A D3D12_VIDEO_ENCODER_RECONSTRUCTED_PICTURE representing a reconstructed picture generated from the input frame. 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, NULL can be set otherwise as the reconstructed picture will not be written in the output.
EncoderOutputMetadata
A D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER representing encoding metadata returned by the encoder in hardware-specific layout. This data must be resolved into a readable format using ID3D12VIDEOCOMMANDLIST2::ResolveEncoderOutputMetadata.
Remarks
The caller must check for alignment requirements for the output resources used for the encoding operation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | d3d12video.h |