diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-11-16 16:29:23 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-11-23 10:29:28 +0200 |
commit | 6e02f674578e3c40ab3f140b25422ed195e4fc28 (patch) | |
tree | 34191e6693466fb89f0b7d7c599dbd7b8c40feba /COPYING.rst | |
parent | 8d9b39f8ad30c9649096bd3829f220ab90f6054d (diff) |
ipa: ipu3: agc: Rename currentYGain
The "current" prefix in the currentYGain variable name is confusing:
- In Agc::estimateLuminance(), the variable contains the gain to be
applied to the image, which is neither a "current" gain nor a "Y"
gain. Rename it to "gain".
- In Agc::computeExposure(), the variable contains the gain computed by
the relative luminance method, so rename it to "yGain".
While at it, rename variables to match the libcamera coding style.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'COPYING.rst')
0 files changed, 0 insertions, 0 deletions