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>
This commit is contained in:
parent
b43a06d124
commit
974dccd45b
2 changed files with 9 additions and 0 deletions
|
@ -71,6 +71,9 @@ const std::map<BlockType, BlockTypeInfo> kBlockTypeInfo = {
|
||||||
RKISP1_BLOCK_TYPE_ENTRY_MEAS(Hst, HST, hst),
|
RKISP1_BLOCK_TYPE_ENTRY_MEAS(Hst, HST, hst),
|
||||||
RKISP1_BLOCK_TYPE_ENTRY_MEAS(Aec, AEC, aec),
|
RKISP1_BLOCK_TYPE_ENTRY_MEAS(Aec, AEC, aec),
|
||||||
RKISP1_BLOCK_TYPE_ENTRY_MEAS(Afc, AFC, afc),
|
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 */
|
} /* namespace */
|
||||||
|
|
|
@ -37,6 +37,9 @@ enum class BlockType {
|
||||||
Hst,
|
Hst,
|
||||||
Aec,
|
Aec,
|
||||||
Afc,
|
Afc,
|
||||||
|
CompandBls,
|
||||||
|
CompandExpand,
|
||||||
|
CompandCompress,
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace details {
|
namespace details {
|
||||||
|
@ -68,6 +71,9 @@ RKISP1_DEFINE_BLOCK_TYPE(Awb, awb_meas)
|
||||||
RKISP1_DEFINE_BLOCK_TYPE(Hst, hst)
|
RKISP1_DEFINE_BLOCK_TYPE(Hst, hst)
|
||||||
RKISP1_DEFINE_BLOCK_TYPE(Aec, aec)
|
RKISP1_DEFINE_BLOCK_TYPE(Aec, aec)
|
||||||
RKISP1_DEFINE_BLOCK_TYPE(Afc, afc)
|
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 */
|
} /* namespace details */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue