[libcamera-devel,v3,0/2] Digital zoom implementatino
mbox series

Message ID 20200723084338.13711-1-david.plowman@raspberrypi.com
Headers show
Series
  • Digital zoom implementatino
Related show

Message

David Plowman July 23, 2020, 8:43 a.m. UTC
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(+)