
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
Effect module
Provides functionality for applying effects to video frames.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'com.google.android.exoplayer:exoplayer-effect:2.X.X'
where 2.X.X
is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.