[libcamera-devel] [PATCH v3 0/3] Pass controls on camera:start()

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Dec 8 00:35:44 CET 2020


Hi Naush,

On Fri, Dec 04, 2020 at 03:31:18PM +0000, Naushir Patuck wrote:
> Hi,
> 
> Here is patchset v3 for the work on passing controls on
> camera::start().  I have addressed Jacopo's review comments, and
> rebased to the top of master.

This looks good to me. I've replied with minor comments on 1/3 and 2/3
which I could address when applying the series. For 3/3, there's an open
question of whether we should drop the initial control set at
configure() time. If you send a v4 with this change, could you
incorporate the review feedback for the other patches too ?

> Naushir Patuck (3):
>   libcamera: pipeline: Pass libcamera controls into
>     pipeline_handler::start()
>   libcamera: ipa: Pass a set of controls and return results from
>     ipa::start()
>   pipeline: ipa: raspberrypi: Pass controls to IPA on start
> 
>  Documentation/guides/pipeline-handler.rst     |  4 +-
>  include/libcamera/camera.h                    |  2 +-
>  .../libcamera/internal/ipa_context_wrapper.h  |  3 +-
>  include/libcamera/internal/pipeline_handler.h |  2 +-
>  include/libcamera/ipa/ipa_interface.h         |  3 +-
>  include/libcamera/ipa/raspberrypi.h           |  1 +
>  src/ipa/libipa/ipa_interface_wrapper.cpp      |  4 +-
>  src/ipa/raspberrypi/raspberrypi.cpp           | 55 ++++++++++++-------
>  src/ipa/rkisp1/rkisp1.cpp                     |  3 +-
>  src/ipa/vimc/vimc.cpp                         |  6 +-
>  src/libcamera/camera.cpp                      | 11 ++--
>  src/libcamera/ipa_context_wrapper.cpp         |  5 +-
>  src/libcamera/ipa_interface.cpp               |  7 +++
>  src/libcamera/pipeline/ipu3/ipu3.cpp          |  4 +-
>  .../pipeline/raspberrypi/raspberrypi.cpp      | 22 ++++++--
>  src/libcamera/pipeline/rkisp1/rkisp1.cpp      |  7 ++-
>  src/libcamera/pipeline/simple/simple.cpp      |  4 +-
>  src/libcamera/pipeline/uvcvideo/uvcvideo.cpp  |  4 +-
>  src/libcamera/pipeline/vimc/vimc.cpp          |  7 ++-
>  src/libcamera/pipeline_handler.cpp            |  1 +
>  src/libcamera/proxy/ipa_proxy_linux.cpp       |  3 +-
>  src/libcamera/proxy/ipa_proxy_thread.cpp      | 13 +++--
>  test/ipa/ipa_interface_test.cpp               |  3 +-
>  test/ipa/ipa_wrappers_test.cpp                |  5 +-
>  24 files changed, 117 insertions(+), 62 deletions(-)

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list