[PATCH v3 05/23] libcamera: software_isp: Remove superfluous includes

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Aug 12 14:31:42 CEST 2024


Hi Milan,

Thank you for the patch.

On Wed, Jul 17, 2024 at 10:54:26AM +0200, Milan Zamazal wrote:
> Remove unused libcamera internal headers bayer_format.h, framebuffer.h
> and mapped_frameBuffer.h.
> 
> Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
> Reviewed-by: Umang Jain <umang.jain at ideasonboard.com>
> ---
>  src/libcamera/software_isp/software_isp.cpp | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/src/libcamera/software_isp/software_isp.cpp b/src/libcamera/software_isp/software_isp.cpp
> index c8748d88..a7e9058e 100644
> --- a/src/libcamera/software_isp/software_isp.cpp
> +++ b/src/libcamera/software_isp/software_isp.cpp
> @@ -16,10 +16,7 @@
>  #include <libcamera/formats.h>
>  #include <libcamera/stream.h>
>  
> -#include "libcamera/internal/bayer_format.h"

Looks good.

> -#include "libcamera/internal/framebuffer.h"

This file uses the FrameBuffer class, let's not depend on indirect
inclusion.

>  #include "libcamera/internal/ipa_manager.h"
> -#include "libcamera/internal/mapped_framebuffer.h"

This looks good to.

With framebuffer.h retained (and the commit message updated
accordingly),

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

>  #include "libcamera/internal/software_isp/debayer_params.h"
>  
>  #include "debayer_cpu.h"

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list