[libcamera-devel] [PATCH 0/5] libcamera: Various improvements to geometry classes

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Jul 15 16:41:27 CEST 2020


Hi Laurent,

On 15/07/2020 00:40, Laurent Pinchart wrote:
> Hello,
> 
> This patch series brings various improvements (at least according to me
> :-)) to the Size and Rectangle classes. Please see individual patches
> for details.
> 

Looks good to me. Nothing I could find to address, so for the series:

Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

> Laurent Pinchart (5):
>   libcamera: geometry: Don't default-initialize Size unnecessarily
>   libcamera: geometry: Define Rectangle after Size
>   libcamera: geometry: Give constructors to Rectangle
>   libcamera: geometry: Turn Size and Rectangle into classes
>   libcamera: geometry: Make Size and Rectangle usable as constexpr
> 
>  include/libcamera/geometry.h                  |  65 +++++---
>  src/libcamera/camera_sensor.cpp               |   2 +-
>  src/libcamera/geometry.cpp                    | 144 ++++++++++--------
>  src/libcamera/pipeline/ipu3/cio2.h            |   2 +-
>  src/libcamera/pipeline/ipu3/imgu.cpp          |   7 +-
>  src/libcamera/pipeline/ipu3/imgu.h            |   2 +-
>  .../pipeline/raspberrypi/raspberrypi.cpp      |  11 +-
>  src/libcamera/pipeline/simple/converter.h     |   2 +-
>  src/libcamera/pipeline/vimc/vimc.cpp          |   7 +-
>  9 files changed, 135 insertions(+), 107 deletions(-)
> 

-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list