ipa: rkisp1: Add sensor info to context

For the LSC algorithm to dynamically calculate the LSC tables based on
the sensor size and the crop rectangle it needs access to that data.
Provide access to it by adding the sensorInfo object to the context.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
Stefan Klug
2024-08-22 12:41:12 +02:00
parent eb6edfb69e
commit 830340615a
3 changed files with 8 additions and 1 deletions
+3
View File
@@ -424,6 +424,9 @@ namespace libcamera::ipa::rkisp1 {
* \var IPAContext::hw
* \brief RkISP1 version-specific hardware parameters
*
* \var IPAContext::sensorInfo
* \brief The IPA session sensorInfo, immutable during the session
*
* \var IPAContext::configuration
* \brief The IPA session configuration, immutable during the session
*