D14371: Simplify Edid::Private::parse gamma

Roman Gilg noreply at phabricator.kde.org
Thu Jul 26 13:00:24 BST 2018


romangg added a comment.


  > I do wonder if the division by 100 is right though - and where does the +1 come from?
  
  In regards to EDID  1.4 data format Wikipedia says:
  
  > 23 | Display gamma, factory default (range 1.00–3.54), datavalue = (gamma×100)-100 = (gamma−1)×100. If 225, gamma is defined by DI-EXT block.
  
  https://en.wikipedia.org/wiki/Extended_Display_Identification_Data#EDID_1.4_data_format
  
  `=> gamma = datavalue / 100 + 1`

REPOSITORY
  R110 KScreen Library

REVISION DETAIL
  https://phabricator.kde.org/D14371

To: gladhorn
Cc: romangg, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180726/b56430df/attachment.html>


More information about the Plasma-devel mailing list