Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for using different LUTs for SDR, HDR and DolbyVision #120

Closed
wants to merge 2 commits into from

Conversation

Dak0r
Copy link

@Dak0r Dak0r commented Jul 26, 2024

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 LUT lut_lin_tables.3d, if the range specific one does not exist.

  • HDR: hdr_lut_lin_tables.3d
  • Dolby Vision: dolbyHDR_lut_lin_tables.3d
  • SDR: sdr_lut_lin_tables.3d
    • To enable tone mapping for SDR content, the sdr_tone_mapping option must additionally be enabled in settings.

Additionally, it's now possible to automatically enable sdr mode during startup, by setting the sdr_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)

@Dak0r Dak0r mentioned this pull request Jul 26, 2024
@Dak0r Dak0r changed the title Added a setting for using tonemapping with a custom LUT for SDR content Added a setting for using tone mapping with a custom LUT for SDR content Jul 26, 2024
@Dak0r Dak0r changed the title Added a setting for using tone mapping with a custom LUT for SDR content Support for using different LUTs for SDR, HDR and DolbyVision Jul 27, 2024
@Dak0r
Copy link
Author

Dak0r commented Dec 5, 2024

Closing this PR as #123 introduced support for LUT tables based on content type as well

@Dak0r Dak0r closed this Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant