summaryrefslogtreecommitdiff
path: root/src/ipa/simple/ipa_context.h
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2025-03-27 19:59:43 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-03-28 02:09:15 +0200
commit1375b07edea987856f2cb5cb4cdf4e705411777a (patch)
tree651b20f85ccd12b3ee5ba3e447ca767cadf83849 /src/ipa/simple/ipa_context.h
parent8a4c2682beb3de4951b02147407c290480e36cc2 (diff)
ipa: simple: Report contrast in metadata
Provide the requested contrast value, if any, in the metadata to add to the completed requests. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/simple/ipa_context.h')
-rw-r--r--src/ipa/simple/ipa_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipa/simple/ipa_context.h b/src/ipa/simple/ipa_context.h
index bfac835b..10d539f5 100644
--- a/src/ipa/simple/ipa_context.h
+++ b/src/ipa/simple/ipa_context.h
@@ -74,6 +74,7 @@ struct IPAFrameContext : public FrameContext {
double red;
double blue;
} gains;
+ std::optional<double> contrast;
};
struct IPAContext {