D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS structure (d3d12video.h)

Represents encoding statistics about an ID3D12VideoEncodeCommandList2::EncodeFrame operation.

Syntax

typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS {
  UINT64 AverageQP;
  UINT64 IntraCodingUnitsCount;
  UINT64 InterCodingUnitsCount;
  UINT64 SkipCodingUnitsCount;
  UINT64 AverageMotionEstimationXDirection;
  UINT64 AverageMotionEstimationYDirection;
} D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS;

Members

AverageQP

Output field that receives the average QP value used for encoding this frame.

IntraCodingUnitsCount

Output field that receives the number of intra-coded coding units used in this frame.

InterCodingUnitsCount

Output field that receives the number of inter-coded coding units used in this frame.

SkipCodingUnitsCount

Output field that receives the number of skip coding units used in this frame.

AverageMotionEstimationXDirection

Output field that receives the average motion vector shift in X direction.

AverageMotionEstimationYDirection

Output field that receives the average motion vector shift in Y direction.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header d3d12video.h