[libcamera-devel] [PATCH 0/2] libcamera: Add new helpers to the Size class
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Oct 13 03:26:28 CEST 2021
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(-)
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list