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:
parent
3142e37619
commit
c2a68a2e44
1 changed files with 7 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue