Sunshine master
Self-hosted game stream host for Moonlight.
video::hdr_info_raw_t Struct Reference

Raw HDR metadata fields parsed from the display backend. More...

#include <src/video.h>

Public Member Functions

 hdr_info_raw_t (bool enabled)
 Initialize HDR metadata with only the enabled state.
 
 hdr_info_raw_t (bool enabled, const SS_HDR_METADATA &metadata)
 Initialize HDR metadata with display metadata from the backend.
 

Public Attributes

bool enabled
 Whether HDR mode should be enabled.
 
SS_HDR_METADATA metadata
 Display HDR metadata forwarded to the encoder and client.
 

Detailed Description

Raw HDR metadata fields parsed from the display backend.

Constructor & Destructor Documentation

◆ hdr_info_raw_t() [1/2]

video::hdr_info_raw_t::hdr_info_raw_t ( bool enabled)
inlineexplicit

Initialize HDR metadata with only the enabled state.

Parameters
enabledWhether the feature should be enabled.

◆ hdr_info_raw_t() [2/2]

video::hdr_info_raw_t::hdr_info_raw_t ( bool enabled,
const SS_HDR_METADATA & metadata )
inlineexplicit

Initialize HDR metadata with display metadata from the backend.

Parameters
enabledWhether the feature should be enabled.
metadataOutput structure populated with HDR metadata.

The documentation for this struct was generated from the following file: