[libcamera-devel,v2,0/2] libcamera: pipeline_handler: Remove Camera pointer from Request handling
mbox series

Message ID 20201221235345.1965878-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • libcamera: pipeline_handler: Remove Camera pointer from Request handling
Related show

Message

Niklas Söderlund Dec. 21, 2020, 11:53 p.m. UTC
Hello,

This series is a mix of things broken out of a previous series [1], 
comments on that series and changes to some dependencies that by now are 
picked-up in master. The change stands on it's own and simplifies the 
pipeline handler interface by not duplicating the Camera pointer in 
CameraData and in the Request handling API facing applications. The 
Result is an API that is simpler and harder to get wrong by accident as 
it eliminates the possibility to queue a Request to the "wrong" Camera.

1. [PATCH 00/11] libcamera: ipu3: Attach to an skeleton IPA

Niklas Söderlund (2):
  libcamera: pipeline_handler: Remove Camera argument from request
    handling
  libcamera: pipeline_handler: Remove Camera pointer from CameraData

 Documentation/guides/pipeline-handler.rst     |  4 +--
 include/libcamera/internal/pipeline_handler.h |  8 +++---
 src/libcamera/camera.cpp                      |  2 +-
 src/libcamera/pipeline/ipu3/ipu3.cpp          |  8 +++---
 .../pipeline/raspberrypi/raspberrypi.cpp      |  8 +++---
 src/libcamera/pipeline/rkisp1/rkisp1.cpp      |  5 ++--
 src/libcamera/pipeline/simple/simple.cpp      | 12 ++++-----
 src/libcamera/pipeline/uvcvideo/uvcvideo.cpp  |  4 +--
 src/libcamera/pipeline/vimc/vimc.cpp          |  4 +--
 src/libcamera/pipeline_handler.cpp            | 27 ++++++-------------
 10 files changed, 34 insertions(+), 48 deletions(-)