summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/dpcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/rkisp1/algorithms/dpcc.cpp')
-rw-r--r--src/ipa/rkisp1/algorithms/dpcc.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ipa/rkisp1/algorithms/dpcc.cpp b/src/ipa/rkisp1/algorithms/dpcc.cpp
index d2a015d0..80a1b734 100644
--- a/src/ipa/rkisp1/algorithms/dpcc.cpp
+++ b/src/ipa/rkisp1/algorithms/dpcc.cpp
@@ -37,7 +37,7 @@ namespace ipa::rkisp1::algorithms {
LOG_DEFINE_CATEGORY(RkISP1Dpcc)
DefectPixelClusterCorrection::DefectPixelClusterCorrection()
- : initialized_(false), config_({})
+ : config_({})
{
}
@@ -223,8 +223,6 @@ int DefectPixelClusterCorrection::init([[maybe_unused]] IPAContext &context,
}
}
- initialized_ = true;
-
return 0;
}
@@ -239,9 +237,6 @@ void DefectPixelClusterCorrection::prepare([[maybe_unused]] IPAContext &context,
if (frame > 0)
return;
- if (!initialized_)
- return;
-
params->others.dpcc_config = config_;
params->module_en_update |= RKISP1_CIF_ISP_MODULE_DPCC;