DisplayLuts


public final class DisplayLuts
extends Object

java.lang.Object
   ↳ android.hardware.DisplayLuts


DisplayLuts provides the developers to apply Lookup Tables (Luts) to a SurfaceControl. Luts provides ways to control tonemapping for specific content. The general flow is as follows:

DisplayLuts flow

See also:

Summary

Nested classes

class DisplayLuts.Entry

 

Public constructors

DisplayLuts()

Create a DisplayLuts instance.

Public methods

void set(DisplayLuts.Entry entry)

Set a Lut to be applied.

void set(DisplayLuts.Entry first, DisplayLuts.Entry second)

Set Luts in order to be applied.

String toString()

Returns a string representation of the object.

Inherited methods

Public constructors

DisplayLuts

public DisplayLuts ()

Create a DisplayLuts instance.

Public methods

set

public void set (DisplayLuts.Entry entry)

Set a Lut to be applied.

Use either this or set(android.hardware.DisplayLuts.Entry, android.hardware.DisplayLuts.Entry). The function will replace any previously set lut(s).

Parameters
entry DisplayLuts.Entry: Either an 1D Lut or a 3D Lut This value cannot be null.

set

public void set (DisplayLuts.Entry first, 
                DisplayLuts.Entry second)

Set Luts in order to be applied.

An 1D Lut and 3D Lut will be applied in order. Use either this or set(android.hardware.DisplayLuts.Entry). The function will replace any previously set lut(s)

Parameters
first DisplayLuts.Entry: An 1D Lut This value cannot be null.

second DisplayLuts.Entry: A 3D Lut This value cannot be null.

toString

public String toString ()

Returns a string representation of the object.

Returns
String a string representation of the object.