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

Investigate mixed-mode LDR-HDR compression #360

Open
solidpixel opened this issue Aug 10, 2022 · 0 comments
Open

Investigate mixed-mode LDR-HDR compression #360

solidpixel opened this issue Aug 10, 2022 · 0 comments

Comments

@solidpixel
Copy link
Contributor

In HDR mode the current compressor will always use HDR RGBA or HDR RGB + LDR A endpoints. This is functional, but tends to result in poor image quality in LDR-only regions, especially at lower bitrates.

We should investigate dynamically switching between LDR and HDR endpoints, based on the per-block or even per-partition data.

The most obvious way to do this would be toggle HDR endpoints only if the max component value in a block/partition is above the maximum LDR value. This keeps the representable dynamic range, but loses any increased precision for dark regions at low exposure levels (not sure how much increased precision there is in practice - need to investigate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant