summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-08-07 22:51:37 +0200
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-08-07 22:51:37 +0200
commit3838bc290025e4fbd751877f9d76256086d6081f (patch)
treed86f52bdf7f2653ecb4ddafeac3e41c833f36430 /src
parent57ea6b6455005f335525debfd416927eba5d0082 (diff)
rkisp1: params: update to v9imx8mp/extensible-format-v9
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/ipa/rkisp1/params.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ipa/rkisp1/params.cpp b/src/ipa/rkisp1/params.cpp
index 3a16e3b3..8fec3d1c 100644
--- a/src/ipa/rkisp1/params.cpp
+++ b/src/ipa/rkisp1/params.cpp
@@ -105,10 +105,10 @@ void RkISP1ParamsBlockBase::setEnabled(bool enabled)
*/
struct rkisp1_ext_params_block_header *header =
reinterpret_cast<struct rkisp1_ext_params_block_header *>(header_.data());
- header->flags &= ~(RKISP1_EXT_PARAMS_BLOCK_ENABLE |
- RKISP1_EXT_PARAMS_BLOCK_DISABLE);
- header->flags |= enabled ? RKISP1_EXT_PARAMS_BLOCK_ENABLE
- : RKISP1_EXT_PARAMS_BLOCK_DISABLE;
+ header->flags &= ~(RKISP1_EXT_PARAMS_FL_BLOCK_ENABLE |
+ RKISP1_EXT_PARAMS_FL_BLOCK_DISABLE);
+ header->flags |= enabled ? RKISP1_EXT_PARAMS_FL_BLOCK_ENABLE
+ : RKISP1_EXT_PARAMS_FL_BLOCK_DISABLE;
}
RkISP1Params::RkISP1Params(uint32_t format, Span<uint8_t> data)