diff options
author | Florian Sylvestre <fsylvestre@baylibre.com> | 2022-07-27 10:38:18 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-28 14:55:00 +0300 |
commit | 7a80e01b4ab3f8982fbbbd1746025da2dc5e1390 (patch) | |
tree | 2594ae005c8383e151ae0e05fdfb7b947d83bb7b /src/ipa/rkisp1/ipa_context.h | |
parent | 564537a9066141f01871b06bae090e6ea5b7a37f (diff) |
ipa: rkisp1: Add support of Filter control
Denoise and Sharpness filters will be applied by RkISP1 during the
demosaicing step. The denoise filter is responsible for removing noise
from the image, while the sharpness filter will enhance its acutance.
Add filter algorithm with denoise and sharpness values 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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h index 3bfb262c..3b2f6af1 100644 --- a/src/ipa/rkisp1/ipa_context.h +++ b/src/ipa/rkisp1/ipa_context.h @@ -58,6 +58,12 @@ struct IPAFrameContext { } awb; struct { + uint8_t denoise; + uint8_t sharpness; + bool updateParams; + } filter; + + struct { uint32_t exposure; double gain; } sensor; |