PipelineHandler
1. PipelineHandler(以下简称PH)是基类,派生类是SimplePipelineHandler(对应simple software isp)、PipelineHandlerMaliC55(对应MaliC55 isp)等。
2. 如上,每个PH实例对应一种isp;因此如果只有一种isp,则只需要一个PH实例,大部分情况都是如此。 特殊情况下,可能前摄是software isp,后摄是其他isp,就需要创建多个PH。
3. CameraManager根据配置文件,拿到isp的种类数量,然后创建不同的PH实例。配置文件在这里:
LIBCAMERA_PIPELINES_MATCH_LIST
Define an ordered list of pipeline names to be used to match the media
devices in the system. The pipeline handler names used to populate the
variable are the ones passed to the REGISTER_PIPELINE_HANDLER() macro in the
source code.
Example value: ``rkisp1,simple``
本文来自博客园,作者:moonのsun,转载请注明原文链接:https://www.cnblogs.com/moon-sun-blog/p/19096456

浙公网安备 33010602011771号