summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2022-03-24 22:07:49 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-03-24 22:07:49 +0000
commit581b7b11bd04e7dd5bfa228d1ece1c8ccd2d3d68 (patch)
tree6dc2d669e8a81bbb83a432d97f1b0f32c5487418
parentd31d3b8554629c190c71b34a2cb3fe8a1545139c (diff)
parentd48a5a982957bdce249b989ca2b8839e87e6f562 (diff)
Merge "Clarify documentation for the dimming stage." into tm-dev
-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,
}