[libcamera-devel] [PATCH v3 0/2] Digital zoom implementatino

David Plowman david.plowman at raspberrypi.com
Thu Jul 23 10:43:36 CEST 2020


Hi everyone

This is a new version of the patch set as promised in my email
yesterday. The changes over v2 are as follows:

1. The "sensor crop" has been renamed "pipeline crop" as per that
discussion. Obviously I'm still looking for people's guidance on where
this should go (or indeed for a better name!).

2. In the second patch I ended up not creating a Rectangle::clip
function as the clipping operation performed is not a
"straightforward" clip. Nonetheless I made it rather less ugly, and
perhaps the result would benefit from going into the Rectangle class
after all?

Thanks and best regards
David

David Plowman (2):
  libcamera: Infrastructure for digital zoom
  libcamera: raspberrypi: Implement digital zoom

 include/libcamera/camera.h                    |  2 +
 include/libcamera/internal/pipeline_handler.h |  4 ++
 include/libcamera/ipa/raspberrypi.h           |  1 +
 src/ipa/raspberrypi/raspberrypi.cpp           | 10 +++
 src/libcamera/camera.cpp                      | 27 +++++++
 src/libcamera/control_ids.yaml                | 10 +++
 .../pipeline/raspberrypi/raspberrypi.cpp      | 72 +++++++++++++++++++
 7 files changed, 126 insertions(+)

-- 
2.20.1



More information about the libcamera-devel mailing list