LutProperties


class 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 android.view.SurfaceControl.Transaction#setLuts are by the HWC.

Summary

Constants
static Int

The Lut is one dimensional

static Int

use y of CIE XYZ as the gain value of a lut

static Int

use max of r,g,b channel as the gain value of a Lut

static Int

use r,g,b channel as the gain value of a Lut

static Int

The Lut is three dimensional

Constants

ONE_DIMENSION

static val ONE_DIMENSION: Int

The Lut is one dimensional

Value: 1

SAMPLING_KEY_CIE_Y

static val SAMPLING_KEY_CIE_Y: Int

use y of CIE XYZ as the gain value of a lut

Value: 2

SAMPLING_KEY_MAX_RGB

static val SAMPLING_KEY_MAX_RGB: Int

use max of r,g,b channel as the gain value of a Lut

Value: 1

SAMPLING_KEY_RGB

static val SAMPLING_KEY_RGB: Int

use r,g,b channel as the gain value of a Lut

Value: 0

THREE_DIMENSION

static val THREE_DIMENSION: Int

The Lut is three dimensional

Value: 3

Public methods

getSamplingKeys

fun getSamplingKeys(): IntArray

getSize

fun getSize(): Int
Return
Int the size of the Lut for each dimension