libcamera: software_isp: debayer: Extend DebayerParams struct to hold a copy of per-frame CCM values

Add an element to the DebayerParams structure to capture the calculated
CCM. This allows us to pass the CCM into the eGL Debayer shader later on.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
This commit is contained in:
Bryan O'Donoghue 2025-05-09 14:34:27 +01:00
parent 3142e37619
commit c2a68a2e44

View file

@ -13,6 +13,8 @@
#include <array>
#include <stdint.h>
#include "libcamera/internal/matrix.h"
namespace libcamera {
struct DebayerParams {
@ -49,6 +51,11 @@ struct DebayerParams {
CcmLookupTable greenCcm;
CcmLookupTable blueCcm;
LookupTable gammaLut;
/*
* Per frame CCM values as calcualted by the IPA
*/
Matrix<float, 3, 3> ccm;
};
} /* namespace libcamera */