Interface ColorLut

  • All Superinterfaces:
    Effect, GlEffect
    All Known Implementing Classes:
    SingleColorLut

    @Deprecated
    public interface ColorLut
    extends GlEffect
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Specifies color transformations using color lookup tables to apply to each frame in the fragment shader.
    • Method Detail

      • getLutTextureId

        int getLutTextureId​(long presentationTimeUs)
        Deprecated.
        Returns the OpenGL texture ID of the LUT to apply to the pixels of the frame with the given timestamp.
      • getLength

        int getLength​(long presentationTimeUs)
        Deprecated.
        Returns the length N of the 3D N x N x N LUT cube with the given timestamp.