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``

 

posted @ 2025-09-17 11:33  moonのsun  阅读(5)  评论(0)    收藏  举报