Merge "Fix a DimmingStage documentation typo by rewording the doc." into main am: 299db35551 am: 518f74b2f9

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2669815

Change-Id: Ibf33531aa91335f1a34d1d8db17dfa8ffbe84a54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-07-21 05:13:07 +00:00
committed by Automerger Merge Worker

View File

@@ -39,14 +39,12 @@ parcelable ClientTargetPropertyWithBrightness {
/**
* The stage in which dimming operations should be performed when compositing
* the client target.
*
* Note that with a COLORIMETRIC RenderIntent, DimmingSpace must be LINEAR. That is, dimming
* is defined to occur in linear space.
* However, some composer implementations may, with other vendor-defined RenderIntents,
* configure their hardware such as image quality adjustments is intended to occur after
* composition. In this scenario, if the dimming operation were applied in linear space,
* then the resulting dimming operation may comepl those image quality adjustments to
* incorrectly alter the gamma curve. To avoid this issue, those implementations must opt to
* dim in gamma space.
* is defined to occur in linear space. However, some composer implementations may, with
* other vendor-defined RenderIntents, apply certain image quality adjustments that are
* sensitive to gamma shift when dimming in linear space. To avoid this issue, those
* implementations must opt to dim in gamma space.
*/
DimmingStage dimmingStage;
}