diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2023-02-03 09:17:30 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-02-09 11:33:52 +0000 |
commit | 312bd707bd27a0d20b3b9e04fa35985aea5c7a1e (patch) | |
tree | befda4ced108f24466b29bf99a86e7e4a2bd1652 /src/ipa/raspberrypi/controller/denoise_algorithm.h | |
parent | 6cf637eb253a68edebe59505bea55435fafb00cd (diff) |
ipa: raspberrypi: Generalise statistics
At present, the controller algorithms access the bcm2835_isp_stats structure,
which is hardware specific. It would be desirable to abstract out the statistics
structure to remove hardware specific headers from the algorithms source files.
Define a new templated RegionStats class that encompasses region based
statistics generated by the ISP. For the VC4 ISP, this can be used to hold
RGB sums and focus FoM values.
Define a new Statistics structure that holds all the VC4 ISP statistics output.
This includes AGC histograms, AGC/AWB region sums and focus FoM regions.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/controller/denoise_algorithm.h')
0 files changed, 0 insertions, 0 deletions