Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5184f413 authored by Alec Mouri's avatar Alec Mouri
Browse files

Add experimental tonemapper for Android 13

This has the following purposes:

1. Demonstrates the ability of libtonemap to swap out tonemapping curves
without invasive changes into dependent systems such as RenderEngine.
Notably, the only production code modified in this patch was
tonemap.cpp.
2. Assume a reasonable max content luminance. Some content may fail to
set a reasonable luminance level as part of their HDR10 metadata.
3. Track greylevels as piecewise linear interpolations, rather than
piecewise hermitians. This has the effect of smoothly converging to max
display luminance which can reduce banding effects in highights.

Bug: 200310159
Test: libtonemap_test
Test: HDR youtube
Change-Id: I08990aa402d6e503885e81397041f22957232079
parent 8b4ab814
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment