ipa: simple: Report the ColourGains in metadata

Provide the determined colour gains back into the metadata
to add to completed requests.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Kieran Bingham 2025-03-27 19:59:41 +01:00 committed by Laurent Pinchart
parent fb99081586
commit a0b97475b1
3 changed files with 29 additions and 2 deletions

View file

@ -70,6 +70,10 @@ struct IPAFrameContext : public FrameContext {
int32_t exposure;
double gain;
} sensor;
struct {
double red;
double blue;
} gains;
};
struct IPAContext {