commit | f7bd1f9780a6610f731c6737685e48f9cc5fa4f4 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Thu Mar 24 22:27:07 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Mar 24 22:27:07 2022 +0000 |
tree | 6dc2d669e8a81bbb83a432d97f1b0f32c5487418 | |
parent | f251eae3dca6c3c0cce7bd8be80eb0be91e584a1 [diff] | |
parent | 581b7b11bd04e7dd5bfa228d1ece1c8ccd2d3d68 [diff] |
Merge "Clarify documentation for the dimming stage." into tm-dev am: 581b7b11bd Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17263930 Change-Id: I34da9aa5c2b30d6dcbfdcf77cb15bedc78e8c74e Signed-off-by: Automerger Merge Worker
diff --git a/graphics/composer/aidl/android/hardware/graphics/composer3/DimmingStage.aidl b/graphics/composer/aidl/android/hardware/graphics/composer3/DimmingStage.aidl index f732d41..23d5f4a 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 @@ */ 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, }