LutProperties
  public
  
  final
  
  class
  LutProperties
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.hardware.LutProperties | 
Provides Lut properties of the device.
 A Lut (Look-Up Table) is a pre-calculated table for color correction.
 Applications may be interested in the Lut properties exposed by
 this class to determine if the Lut(s) they select using
 SurfaceControl.Transaction.setLuts(SurfaceControl, DisplayLuts) are by the HWC.
 
Summary
| Constants | |
|---|---|
| int | ONE_DIMENSIONThe Lut is one dimensional | 
| int | SAMPLING_KEY_CIE_Yuse y of CIE XYZ as the gain value of a lut | 
| int | SAMPLING_KEY_MAX_RGBuse max of r,g,b channel as the gain value of a Lut | 
| int | SAMPLING_KEY_RGBuse r,g,b channel as the gain value of a Lut | 
| int | THREE_DIMENSIONThe Lut is three dimensional | 
| Public methods | |
|---|---|
| 
        
        
        
        
        
        int | 
      getDimension()
       | 
| 
        
        
        
        
        
        int[] | 
      getSamplingKeys()
       | 
| 
        
        
        
        
        
        int | 
      getSize()
       | 
| Inherited methods | |
|---|---|
Constants
ONE_DIMENSION
public static final int ONE_DIMENSION
The Lut is one dimensional
Constant Value: 1 (0x00000001)
SAMPLING_KEY_CIE_Y
public static final int SAMPLING_KEY_CIE_Y
use y of CIE XYZ as the gain value of a lut
Constant Value: 2 (0x00000002)
SAMPLING_KEY_MAX_RGB
public static final int SAMPLING_KEY_MAX_RGB
use max of r,g,b channel as the gain value of a Lut
Constant Value: 1 (0x00000001)
SAMPLING_KEY_RGB
public static final int SAMPLING_KEY_RGB
use r,g,b channel as the gain value of a Lut
Constant Value: 0 (0x00000000)
THREE_DIMENSION
public static final int THREE_DIMENSION
The Lut is three dimensional
Constant Value: 3 (0x00000003)
Public methods
getDimension
public int getDimension ()
| Returns | |
|---|---|
| int | Value is ONE_DIMENSION, orTHREE_DIMENSION | 
getSamplingKeys
public int[] getSamplingKeys ()
| Returns | |
|---|---|
| int[] | the list of sampling keys
 This value cannot be null.
 Value isSAMPLING_KEY_RGB,SAMPLING_KEY_MAX_RGB, orSAMPLING_KEY_CIE_Y | 
getSize
public int getSize ()
| Returns | |
|---|---|
| int | the size of the Lut for each dimension | 
