ipa: ipu3: agc: remove local storage of the grid
The IPASessionConfiguration now has the grid configuration stored. Use it at process() call in AGC and pass it as a reference to the private functions when needed. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
e991bb2c36
commit
b3befe2ef0
2 changed files with 16 additions and 17 deletions
|
@ -33,12 +33,11 @@ public:
|
|||
void process(IPAContext &context, const ipu3_uapi_stats_3a *stats) override;
|
||||
|
||||
private:
|
||||
void processBrightness(const ipu3_uapi_stats_3a *stats);
|
||||
void processBrightness(const ipu3_uapi_stats_3a *stats,
|
||||
const ipu3_uapi_grid_config &grid);
|
||||
void filterExposure();
|
||||
void lockExposureGain(uint32_t &exposure, double &gain);
|
||||
|
||||
struct ipu3_uapi_grid_config aeGrid_;
|
||||
|
||||
uint64_t frameCount_;
|
||||
uint64_t lastFrame_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue