diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-07-02 16:14:24 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-27 12:29:04 +0300 |
commit | 974dccd45b41fc70e605826df31e4fb4f629f55d (patch) | |
tree | e811155277c46539f6ca8c23dfd32c2dce3ed947 | |
parent | b43a06d1244784d0df96b0a8b3afe67f92eafc21 (diff) |
ipa: rkisp1: params: Add companding blocks
Extend the RkISP1 parameters helper with support for the new companding
blocks.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
-rw-r--r-- | src/ipa/rkisp1/params.cpp | 3 | ||||
-rw-r--r-- | src/ipa/rkisp1/params.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/params.cpp b/src/ipa/rkisp1/params.cpp index 6bc6f899..4c0b051c 100644 --- a/src/ipa/rkisp1/params.cpp +++ b/src/ipa/rkisp1/params.cpp @@ -71,6 +71,9 @@ const std::map<BlockType, BlockTypeInfo> kBlockTypeInfo = { RKISP1_BLOCK_TYPE_ENTRY_MEAS(Hst, HST, hst), RKISP1_BLOCK_TYPE_ENTRY_MEAS(Aec, AEC, aec), RKISP1_BLOCK_TYPE_ENTRY_MEAS(Afc, AFC, afc), + RKISP1_BLOCK_TYPE_ENTRY_EXT(CompandBls, COMPAND_BLS, compand_bls), + RKISP1_BLOCK_TYPE_ENTRY_EXT(CompandExpand, COMPAND_EXPAND, compand_curve), + RKISP1_BLOCK_TYPE_ENTRY_EXT(CompandCompress, COMPAND_COMPRESS, compand_curve), }; } /* namespace */ diff --git a/src/ipa/rkisp1/params.h b/src/ipa/rkisp1/params.h index 28a781bc..40450e34 100644 --- a/src/ipa/rkisp1/params.h +++ b/src/ipa/rkisp1/params.h @@ -37,6 +37,9 @@ enum class BlockType { Hst, Aec, Afc, + CompandBls, + CompandExpand, + CompandCompress, }; namespace details { @@ -68,6 +71,9 @@ RKISP1_DEFINE_BLOCK_TYPE(Awb, awb_meas) RKISP1_DEFINE_BLOCK_TYPE(Hst, hst) RKISP1_DEFINE_BLOCK_TYPE(Aec, aec) RKISP1_DEFINE_BLOCK_TYPE(Afc, afc) +RKISP1_DEFINE_BLOCK_TYPE(CompandBls, compand_bls) +RKISP1_DEFINE_BLOCK_TYPE(CompandExpand, compand_curve) +RKISP1_DEFINE_BLOCK_TYPE(CompandCompress, compand_curve) } /* namespace details */ |