@@ -8,12 +8,12 @@ algorithms:
# Color correction matrices can be defined here. The CCM algorithm
# has a significant performance impact, and should only be enabled
# if tuned.
- - Ccm:
- ccms:
- - ct: 6500
- ccm: [ 1, 0, 0,
- 0, 1, 0,
- 0, 0, 1]
+ # - Ccm:
+ # ccms:
+ # - ct: 6500
+ # ccm: [ 1, 0, 0,
+ # 0, 1, 0,
+ # 0, 0, 1]
- Adjust:
- Agc:
...
@@ -288,7 +288,7 @@ unsigned int DebayerEGL::frameSize()
int DebayerEGL::configure(const StreamConfiguration &inputCfg,
const std::vector<std::reference_wrapper<StreamConfiguration>> &outputCfgs,
- bool ccmEnabled)
+ [[maybe_unused]] bool ccmEnabled)
{
if (getInputConfig(inputCfg.pixelFormat, inputConfig_) != 0)
return -EINVAL;
@@ -296,9 +296,6 @@ int DebayerEGL::configure(const StreamConfiguration &inputCfg,
if (stats_->configure(inputCfg) != 0)
return -EINVAL;
- if (!ccmEnabled)
- return -EINVAL;
-
const Size &stats_pattern_size = stats_->patternSize();
if (inputConfig_.patternSize.width != stats_pattern_size.width ||
inputConfig_.patternSize.height != stats_pattern_size.height) {