KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::Edid Class Reference

#include <edid.h>

Public Member Functions

 Edid ()
 
 Edid (const void *data, uint32_t size)
 
bool isValid () const
 
QSize physicalSize () const
 
QByteArray eisaId () const
 
QByteArray monitorName () const
 
QByteArray serialNumber () const
 
QByteArray vendor () const
 
QByteArray raw () const
 
QString manufacturerString () const
 
QString nameString () const
 
QString hash () const
 
std::optional< Colorimetrycolorimetry () const
 
double desiredMinLuminance () const
 
std::optional< double > desiredMaxFrameAverageLuminance () const
 
std::optional< double > desiredMaxLuminance () const
 
bool supportsPQ () const
 
bool supportsBT2020 () const
 
QByteArray identifier () const
 

Detailed Description

Helper class that can be used for parsing EDID blobs.

http://read.pudn.com/downloads110/ebook/456020/E-EDID%20Standard.pdf

Definition at line 28 of file edid.h.

Constructor & Destructor Documentation

◆ Edid() [1/2]

KWin::Edid::Edid ( )

Definition at line 94 of file edid.cpp.

◆ Edid() [2/2]

KWin::Edid::Edid ( const void * data,
uint32_t size )

Definition at line 98 of file edid.cpp.

Member Function Documentation

◆ colorimetry()

std::optional< Colorimetry > KWin::Edid::colorimetry ( ) const

Definition at line 242 of file edid.cpp.

◆ desiredMaxFrameAverageLuminance()

std::optional< double > KWin::Edid::desiredMaxFrameAverageLuminance ( ) const

Definition at line 252 of file edid.cpp.

◆ desiredMaxLuminance()

std::optional< double > KWin::Edid::desiredMaxLuminance ( ) const

Definition at line 257 of file edid.cpp.

◆ desiredMinLuminance()

double KWin::Edid::desiredMinLuminance ( ) const

Definition at line 247 of file edid.cpp.

◆ eisaId()

QByteArray KWin::Edid::eisaId ( ) const

Returns EISA ID of the manufacturer of the monitor.

Definition at line 185 of file edid.cpp.

◆ hash()

QString KWin::Edid::hash ( ) const

Definition at line 237 of file edid.cpp.

◆ identifier()

QByteArray KWin::Edid::identifier ( ) const
Returns
a string that is intended to identify the monitor uniquely. Note that multiple monitors can have the same EDID, so this is not always actually unique

Definition at line 272 of file edid.cpp.

◆ isValid()

bool KWin::Edid::isValid ( ) const

Whether this instance of EDID is valid.

Definition at line 175 of file edid.cpp.

◆ manufacturerString()

QString KWin::Edid::manufacturerString ( ) const

returns the vendor if included, the EISA ID if not

Definition at line 210 of file edid.cpp.

◆ monitorName()

QByteArray KWin::Edid::monitorName ( ) const

Returns the product name of the monitor.

Definition at line 190 of file edid.cpp.

◆ nameString()

QString KWin::Edid::nameString ( ) const

returns a string representing the monitor name Can be a serial number or "unknown" if the name is empty

Definition at line 221 of file edid.cpp.

◆ physicalSize()

QSize KWin::Edid::physicalSize ( ) const

Returns physical dimensions of the monitor, in millimeters.

Definition at line 180 of file edid.cpp.

◆ raw()

QByteArray KWin::Edid::raw ( ) const

Returns the raw edid

Definition at line 205 of file edid.cpp.

◆ serialNumber()

QByteArray KWin::Edid::serialNumber ( ) const

Returns the serial number of the monitor.

Definition at line 195 of file edid.cpp.

◆ supportsBT2020()

bool KWin::Edid::supportsBT2020 ( ) const

Definition at line 267 of file edid.cpp.

◆ supportsPQ()

bool KWin::Edid::supportsPQ ( ) const

Definition at line 262 of file edid.cpp.

◆ vendor()

QByteArray KWin::Edid::vendor ( ) const

Returns the name of the vendor.

Definition at line 200 of file edid.cpp.


The documentation for this class was generated from the following files: