ITS: Add test_tonemap_sequence
This test evaluates a device's default tone map curve against a
linear curve and two exponential curves (one with uniform points
and the other with non-uniform points). For a passing result, the
default curve's brightness must exceed that of the linear and the
exponential curves. Additionally, the linear curve must be brighter
than the exponential curves, and the two exponential curves should
have similar brightness levels.
The test also verifies the accuracy of the device's default curve.
This is done by extracting the default curve, re-inputting it, and
then comparing the resulting image's brightness to the original
default curve's image.
On a device that currently passes, the brightness difference between
the default and linear curves is approximately 30%, while the
difference between the two exponential curves is around 0%.
Bug: 392119273
Flag: TEST_ONLY
Test: run locally
Change-Id: Ifea67804d0377b839d1bae4da1075142e1512d8f
7 files changed