media/libraries/effect/src
huangdarwin f2cfb14be4 HDR: Fix debug surface by setting correct output color.
Set the correct output color on the debug SurfaceViewWrapper, so that SDR contents
can have an output transfer of either GAMMA_2_2 (Gamma 2.2) or SDR (SMPTE 170M).

This fixes an issue where in-app tone-mapping would output gamma 2.2, and the
SDR value incorrectly hardcoded here would lead to an error in the OpenGL, which
does not support SMPTE 170M.

PiperOrigin-RevId: 506684602
2023-02-08 13:44:31 +00:00
..
androidTest Support flushing in FrameProcessor 2023-02-02 15:33:05 +00:00
main HDR: Fix debug surface by setting correct output color. 2023-02-08 13:44:31 +00:00
test Replace Pair with Size in effects. 2022-12-21 15:02:20 +00:00