Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.65 KB

ns-d3d12video-d3d12_video_encoder_output_metadata.md

File metadata and controls

68 lines (52 loc) · 2.65 KB
UID tech.root title ms.date targetos description prerelease req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:d3d12video.D3D12_VIDEO_ENCODER_OUTPUT_METADATA
mf
D3D12_VIDEO_ENCODER_OUTPUT_METADATA
07/02/2021
Windows
Represents metadata about an ID3D12VideoEncodeCommandList2::EncodeFrame operation.
false
structure
d3d12video.h
Windows Build 22000
Windows Build 22000
D3D12_VIDEO_ENCODER_OUTPUT_METADATA
apiref
HeaderDef
d3d12video.h
D3D12_VIDEO_ENCODER_OUTPUT_METADATA
D3D12_VIDEO_ENCODER_OUTPUT_METADATA
d3d12video/D3D12_VIDEO_ENCODER_OUTPUT_METADATA
c++

-description

Represents metadata about an ID3D12VideoEncodeCommandList2::EncodeFrame operation.

-struct-fields

-field EncodeErrorFlags

A UINT64 representing a bitwise OR combination of values from the D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG enumeration specifying information about the encode execution status.

-field EncodeStats

A D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS representing statistics for an EncodeFrame operation.

-field EncodedBitstreamWrittenBytesCount

Output field that receives a UINT64 indicating how many bytes were into D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM.pBuffer plus the value of D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM.FrameStartOffset.

-field WrittenSubregionsCount

Output field that receives a UINT64 indicating the number of subregions used to encode the current frame.

This value is coherent with the settings specified in D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC.pFrameSubregionsLayoutData. If a number of subregions was specified, WrittenSubregionsCount should match that value. If another mode was used, this field is how the driver reports the final number of subregions. If the output is a full frame, then there is only 1 subregion.

-remarks

D3D12_VIDEO_ENCODER_OUTPUT_METADATA and its child structures are all aligned to a 64-bit access boundary for use with SetPredication.

-see-also