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>
This commit is contained in:
parent
8d9b39f8ad
commit
6e02f67457
2 changed files with 18 additions and 18 deletions
|
@ -34,11 +34,11 @@ private:
|
|||
void measureBrightness(const ipu3_uapi_stats_3a *stats,
|
||||
const ipu3_uapi_grid_config &grid);
|
||||
void filterExposure();
|
||||
void computeExposure(IPAFrameContext &frameContext, double currentYGain);
|
||||
void computeExposure(IPAFrameContext &frameContext, double yGain);
|
||||
double estimateLuminance(IPAFrameContext &frameContext,
|
||||
const ipu3_uapi_grid_config &grid,
|
||||
const ipu3_uapi_stats_3a *stats,
|
||||
double currentYGain);
|
||||
double gain);
|
||||
|
||||
uint64_t frameCount_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue