From 3838bc290025e4fbd751877f9d76256086d6081f Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Wed, 7 Aug 2024 22:51:37 +0200 Subject: rkisp1: params: update to v9 Signed-off-by: Jacopo Mondi --- src/ipa/rkisp1/params.cpp | 8 ++++---- 1 file 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(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 data) -- cgit v1.2.1