[idd] add support to return HDR metadata to clients

This commit is contained in:
Geoffrey McRae
2026-07-15 18:35:22 +10:00
parent 11b3ac00a8
commit 1b7a815cee
8 changed files with 233 additions and 16 deletions

View File

@@ -18,8 +18,8 @@ class CHDR16to10Effect : public CComputeEffect
private:
struct Consts
{
float SDRWhiteLevel;
} m_consts = { 1.0f };
float ReferenceWhiteNits; // scRGB reference white in nits (typically 80)
} m_consts = { 80.0f };
ComPtr<ID3D12Resource> m_constBuffer;
public: