summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/ipa_context.h
diff options
context:
space:
mode:
authorFlorian Sylvestre <fsylvestre@baylibre.com>2022-07-27 10:38:19 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-28 14:55:04 +0300
commit5b07fa200334bd4932f7b0506cc38bd331ca84f4 (patch)
treee79fdd0a43acb18dd2c34c6d60bebd1ccaa4492a /src/ipa/rkisp1/ipa_context.h
parent7a80e01b4ab3f8982fbbbd1746025da2dc5e1390 (diff)
ipa: rkisp1: Add support of ColorProcessing control
Add ColorProcessing algorithm that is in charge to manage brightness, contrast and saturation controls. These controls are currently based on user controls. Signed-off-by: Florian Sylvestre <fsylvestre@baylibre.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/ipa_context.h')
-rw-r--r--src/ipa/rkisp1/ipa_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h
index 3b2f6af1..2bdb6a81 100644
--- a/src/ipa/rkisp1/ipa_context.h
+++ b/src/ipa/rkisp1/ipa_context.h
@@ -58,6 +58,13 @@ struct IPAFrameContext {
} awb;
struct {
+ int8_t brightness;
+ uint8_t contrast;
+ uint8_t saturation;
+ bool updateParams;
+ } cproc;
+
+ struct {
uint8_t denoise;
uint8_t sharpness;
bool updateParams;