ipa: simple: Initialize ccmEnabled to false
ccmEnabled variable is not initialized by default, which results in
usage of CCM when the algorithm itself is not enabled and configured.
The bug manifests itself as seldom reproducible corrupted video stream.
Fix by initialize ccmEnabled member where it is declared.
Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Fixes: ac30686556
("libcamera: software_isp: Track whether CCM is enabled")
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
8b2533d0ac
commit
7cd8818da8
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ struct IPAContext {
|
|||
IPAActiveState activeState;
|
||||
FCQueue<IPAFrameContext> frameContexts;
|
||||
ControlInfoMap::Map ctrlMap;
|
||||
bool ccmEnabled;
|
||||
bool ccmEnabled = false;
|
||||
};
|
||||
|
||||
} /* namespace ipa::soft */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue