diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-06-13 10:33:20 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-13 14:02:02 +0300 |
commit | 1b917256188b6b6f8faa5e8e3420032f5c76e233 (patch) | |
tree | deb48c3339eb42e92527e8f0a67b8966620c0b93 /src/ipa/rkisp1/algorithms/cproc.cpp | |
parent | c2fad17ad083defede63d41b8b698f388f016fff (diff) |
ipa: rkisp1: cproc: Drop incorrect [[maybe_unused]]
A few function parameters are marked with [[maybe_unused]] but are
actually used. Drop the attribute.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms/cproc.cpp')
-rw-r--r-- | src/ipa/rkisp1/algorithms/cproc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipa/rkisp1/algorithms/cproc.cpp b/src/ipa/rkisp1/algorithms/cproc.cpp index 9f400a52..ef0931b2 100644 --- a/src/ipa/rkisp1/algorithms/cproc.cpp +++ b/src/ipa/rkisp1/algorithms/cproc.cpp @@ -54,7 +54,7 @@ int convertContrastOrSaturation(const float v) /** * \copydoc libcamera::ipa::Algorithm::init */ -int ColorProcessing::init([[maybe_unused]] IPAContext &context, +int ColorProcessing::init(IPAContext &context, [[maybe_unused]] const YamlObject &tuningData) { auto &cmap = context.ctrlMap; @@ -69,7 +69,7 @@ int ColorProcessing::init([[maybe_unused]] IPAContext &context, /** * \copydoc libcamera::ipa::Algorithm::configure */ -int ColorProcessing::configure([[maybe_unused]] IPAContext &context, +int ColorProcessing::configure(IPAContext &context, [[maybe_unused]] const IPACameraSensorInfo &configInfo) { auto &cproc = context.activeState.cproc; @@ -85,7 +85,7 @@ int ColorProcessing::configure([[maybe_unused]] IPAContext &context, * \copydoc libcamera::ipa::Algorithm::queueRequest */ void ColorProcessing::queueRequest(IPAContext &context, - [[maybe_unused]] const uint32_t frame, + const uint32_t frame, IPAFrameContext &frameContext, const ControlList &controls) { |