summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorRob Seymour <rseymour@google.com>2022-04-02 03:51:47 +0000
committerRob Seymour <rseymour@google.com>2022-04-02 03:59:48 +0000
commitcb23b25a3c51a69bb3727606b0b3a9aa5e82a144 (patch)
tree0cfa51adf525605d5a092c1e180cecb031c18031 /graphics
parent31658f615ff161c14986b4dcdbe283941670f234 (diff)
parente552504dd9dce4a9a8392e44dc300d33be0362c7 (diff)
Merge TP1A.220328.001
Change-Id: Ibc87b2e88d675d4fb85b2de1778d093e4e4c2d9f
Diffstat (limited to 'graphics')
-rw-r--r--graphics/composer/aidl/android/hardware/graphics/composer3/DimmingStage.aidl7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/composer/aidl/android/hardware/graphics/composer3/DimmingStage.aidl b/graphics/composer/aidl/android/hardware/graphics/composer3/DimmingStage.aidl
index f732d417b1..23d5f4a007 100644
--- a/graphics/composer/aidl/android/hardware/graphics/composer3/DimmingStage.aidl
+++ b/graphics/composer/aidl/android/hardware/graphics/composer3/DimmingStage.aidl
@@ -29,7 +29,12 @@ enum DimmingStage {
*/
LINEAR = 1,
/**
- * Dimming operations must be applied in gamma space, after OETF has been applied
+ * Dimming operations must be applied in gamma space, after OETF has been applied.
+ * Note that for this dimming operation to be perceptually correct it must also be gamma
+ * corrected. The framework will assume that it is able to use the gamma 2.2
+ * power function for gamma correcting the dimming matrix, for simplicity of
+ * implementation and the fact that gamma 2.2 is close enough to typical SDR
+ * transfer functions that would be used for the client target.
*/
GAMMA_OETF = 2,
}