ipa: rkisp1: ccm: Fix ccm metadata output
Only the first three entries of the matrix were set. Fix that.
Fixes: cbfdfa42ca
("ipa: rkisp1: algorithms: Add crosstalk algorithm")
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
29ce7b96ea
commit
c7d7e7ec4a
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void Ccm::process([[maybe_unused]] IPAContext &context,
|
|||
float m[9];
|
||||
for (unsigned int i = 0; i < 3; i++) {
|
||||
for (unsigned int j = 0; j < 3; j++)
|
||||
m[i] = frameContext.ccm.ccm[i][j];
|
||||
m[i * 3 + j] = frameContext.ccm.ccm[i][j];
|
||||
}
|
||||
metadata.set(controls::ColourCorrectionMatrix, m);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue