summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-12 00:14:27 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-12 12:00:28 +0300
commit2a253be3339d70f92c8e3d63ea19bafafc628219 (patch)
treee7d159e8c1f425b5953c7d647fd3f501970ce567 /src/ipa
parent6dba3f461259461f62417d567e8766da27767216 (diff)
ipa: rkisp1: goc: Drop incorrect [[maybe_unused]]
A few function parameters are marked with [[maybe_unused]] but are actually used. Drop the attribute. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/rkisp1/algorithms/goc.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ipa/rkisp1/algorithms/goc.cpp b/src/ipa/rkisp1/algorithms/goc.cpp
index fc5ad9f9..01331b65 100644
--- a/src/ipa/rkisp1/algorithms/goc.cpp
+++ b/src/ipa/rkisp1/algorithms/goc.cpp
@@ -48,8 +48,7 @@ const float kDefaultGamma = 2.2f;
/**
* \copydoc libcamera::ipa::Algorithm::init
*/
-int GammaOutCorrection::init([[maybe_unused]] IPAContext &context,
- [[maybe_unused]] const YamlObject &tuningData)
+int GammaOutCorrection::init(IPAContext &context, const YamlObject &tuningData)
{
if (context.hw->numGammaOutSamples !=
RKISP1_CIF_ISP_GAMMA_OUT_MAX_SAMPLES_V10) {
@@ -81,8 +80,7 @@ int GammaOutCorrection::configure(IPAContext &context,
/**
* \copydoc libcamera::ipa::Algorithm::queueRequest
*/
-void GammaOutCorrection::queueRequest([[maybe_unused]] IPAContext &context,
- [[maybe_unused]] const uint32_t frame,
+void GammaOutCorrection::queueRequest(IPAContext &context, const uint32_t frame,
IPAFrameContext &frameContext,
const ControlList &controls)
{
@@ -102,9 +100,9 @@ void GammaOutCorrection::queueRequest([[maybe_unused]] IPAContext &context,
/**
* \copydoc libcamera::ipa::Algorithm::prepare
*/
-void GammaOutCorrection::prepare([[maybe_unused]] IPAContext &context,
+void GammaOutCorrection::prepare(IPAContext &context,
[[maybe_unused]] const uint32_t frame,
- [[maybe_unused]] IPAFrameContext &frameContext,
+ IPAFrameContext &frameContext,
rkisp1_params_cfg *params)
{
ASSERT(context.hw->numGammaOutSamples ==