libcamera: software_isp: Add control to disable statistic collection

Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
Vasiliy Doylov 2025-05-21 22:24:01 +03:00 committed by Kitsune (Rebase Bot)
parent 563f8f7aee
commit 248855cf73
8 changed files with 123 additions and 6 deletions

View file

@ -49,6 +49,15 @@ struct DebayerParams {
CcmLookupTable greenCcm;
CcmLookupTable blueCcm;
LookupTable gammaLut;
/*
* Statistic controls
*
* Statistic collecting are very slow. We can disable it for some actions like
* video capture or streaming.
* TODO: Add statistic window control
*/
bool collect_stats;
};
} /* namespace libcamera */