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:
committed by
Kieran Bingham
parent
29ce7b96ea
commit
c7d7e7ec4a
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user