[libcamera-devel,0/2] libcamera: Add new helpers to the Size class
mbox series

Message ID 20211013012630.18877-1-laurent.pinchart@ideasonboard.com
Headers show
Series
  • libcamera: Add new helpers to the Size class
Related show

Message

Laurent Pinchart Oct. 13, 2021, 1:26 a.m. UTC
Hello,

This is a small drive-by series that adds new helpers to the Size class
and makes use of them in the IPU3 pipeline handler.

Jacopo, this has minor conflicts with your frame durations series, I
have no issue rebasing this one on top if you'd like to merge your
first.

Laurent Pinchart (2):
  libcamera: geometry: Add Size members to grown or shrink by a margin
  libcamera: pipeline: ipu3: Use new Size grownBy() and shrunkBy()
    helpers

 include/libcamera/geometry.h         | 30 +++++++++++++++++
 src/libcamera/geometry.cpp           | 42 ++++++++++++++++++++++++
 src/libcamera/pipeline/ipu3/ipu3.cpp | 15 ++++-----
 test/geometry.cpp                    | 48 +++++++++++++++++++++++++---
 4 files changed, 121 insertions(+), 14 deletions(-)