Support for using different LUTs for SDR, HDR and DolbyVision #120
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR uses HyperHDRs custom LUT parameter to allow automatically switching to different LUTs based on the dynamic range. The additional LUTs are fully optional, the default behavior is not changed.
How to use?
Just add the additional LUTs to your LUT directory, e.g.
/home/pi/.hyperhdr/
and they will be used instead of the default LUT when the TV switches to the corresponding dynamic range. You only have to add the ones you need, HyperHDR will use the default LUTlut_lin_tables.3d
, if the range specific one does not exist.hdr_lut_lin_tables.3d
dolbyHDR_lut_lin_tables.3d
sdr_lut_lin_tables.3d
sdr_tone_mapping
option must additionally be enabled in settings.Additionally, it's now possible to automatically enable
sdr
mode during startup, by setting thesdr_on_start
setting to true.(Otherwise, HyperHDR will start with its default setting, usually the default LUT or tone mapping disabled).
Piccap support
This change goes in hand with my fork of piccap, which exposes these settings in its UI.
I'll create a PR for it once this is merged. Preview of the changes: Dak0r/piccap#1
Build
Here's a preview build of Piccap with these changes:
org.webosbrew.piccap_0.4.4_all.zip
Related Issues
Issue #118
TBSniller/piccap#73
There are likely more in the forums.
The SDR LUT also offers an alternative solution for PR #100
Example SDR LUT
In case someone is interested: This is the SDR LUT I created by showing solid colors and adjusting the settings until the LED colors matched the screen. It's not perfect, but I've been using it for a year now -> sdr_lut_lin_tables.zip - Extract with 7z!
Note: It's a *.7z archive renamed to *.zip, so that it can be uploaded it as an attachment to Github (zip would be above the file size limit)