summaryrefslogtreecommitdiff
path: root/aiq/aiq_input_parameters.cpp
diff options
context:
space:
mode:
authorHan-Lin Chen <hanlinchen@chromium.org>2021-11-11 18:49:04 +0800
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-19 15:31:59 +0000
commit8966fdb06ec2a07c8094cea478739df96eaef038 (patch)
tree4175919daff926b53e7584853e5ef4a3e4cc343b /aiq/aiq_input_parameters.cpp
parent12635873d164e16feb4068919771833309dc3010 (diff)
ipu3: Add a class AiqResultsRingBuffer to reserve AiqResults history
The AIQ algorithm expects the statstistics comes with the effective AiqResults applied on the sensor, which may not always be the latest AiqResults, since pipeline handler may delay setting the controls based on SOF. Add a class to reserve the history of the AiqResults generated for previous frames, so IPA can have a chance to look for the suitable one backwards. In details, the patch adds following to AiqResult Class. - Make the parameters to setXXX() functions const. - Implement copy constructors - Implement a RingBuffer to maintain AiqResults History Signed-off-by: Han-Lin Chen <hanlinchen@chromium.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'aiq/aiq_input_parameters.cpp')
0 files changed, 0 insertions, 0 deletions