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:
See also:
Summary
Nested classes | |
---|---|
class |
DisplayLuts.Entry
|
Public constructors | |
---|---|
DisplayLuts()
Create a |
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
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. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-13 UTC.