Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Describes the resolved PSNR (Peak Signal-to-Noise Ratio) values for the Y, U, and V components of an encoded frame or subregion.
Syntax
typedef struct D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_PSNR_RESOLVED_LAYOUT {
float PSNRY;
float PSNRU;
float PSNRV;
} D3D12_VIDEO_ENCODER_RESOLVE_METADATA_OUTPUT_PSNR_RESOLVED_LAYOUT;
Members
PSNRY
The PSNR value for the Y (luma) component.
PSNRU
The PSNR value for the U (chroma) component. Set to zero by the driver if not supported.
PSNRV
The PSNR value for the V (chroma) component. Set to zero by the driver if not supported.
Remarks
The number of available components is determined by D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS1. Components not supported by the driver are written as zero.
For subregion-level PSNR, the resolved buffer contains a packed array of this structure with one element per subregion.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12video.h |