[2/2] libcamera: Fix output spelling error
diff mbox series

Message ID 20240418074945.47349-3-umang.jain@ideasonboard.com
State Accepted
Headers show
Series
  • libcamera: Two simple fixes
Related show

Commit Message

Umang Jain April 18, 2024, 7:49 a.m. UTC
There are two places where "output" is spelled as "ouput".
Fix it.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
---
 include/libcamera/internal/converter/converter_v4l2_m2m.h | 2 +-
 utils/raspberrypi/ctt/ctt.py                              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Kieran Bingham April 18, 2024, 10:01 a.m. UTC | #1
Quoting Umang Jain (2024-04-18 08:49:45)
> There are two places where "output" is spelled as "ouput".
> Fix it.
> 
> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>


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

> ---
>  include/libcamera/internal/converter/converter_v4l2_m2m.h | 2 +-
>  utils/raspberrypi/ctt/ctt.py                              | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/libcamera/internal/converter/converter_v4l2_m2m.h b/include/libcamera/internal/converter/converter_v4l2_m2m.h
> index 815916d0..84fb485f 100644
> --- a/include/libcamera/internal/converter/converter_v4l2_m2m.h
> +++ b/include/libcamera/internal/converter/converter_v4l2_m2m.h
> @@ -47,7 +47,7 @@ public:
>  
>         int configure(const StreamConfiguration &inputCfg,
>                       const std::vector<std::reference_wrapper<StreamConfiguration>> &outputCfg);
> -       int exportBuffers(unsigned int ouput, unsigned int count,
> +       int exportBuffers(unsigned int output, unsigned int count,
>                           std::vector<std::unique_ptr<FrameBuffer>> *buffers);
>  
>         int start();
> diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py
> index cd89f177..89159e63 100755
> --- a/utils/raspberrypi/ctt/ctt.py
> +++ b/utils/raspberrypi/ctt/ctt.py
> @@ -350,7 +350,7 @@ class Camera:
>          alsc_out = alsc_all(self, do_alsc_colour, plot)
>          cal_cr_list, cal_cb_list, luminance_lut, av_corn = alsc_out
>          """
> -        write ouput to json and finish if not do_alsc_colour
> +        write output to json and finish if not do_alsc_colour
>          """
>          if not do_alsc_colour:
>              self.json['rpi.alsc']['luminance_lut'] = luminance_lut
> -- 
> 2.44.0
>
Laurent Pinchart April 18, 2024, 10:09 a.m. UTC | #2
On Thu, Apr 18, 2024 at 01:19:45PM +0530, Umang Jain wrote:
> There are two places where "output" is spelled as "ouput".
> Fix it.
> 
> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>

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

> ---
>  include/libcamera/internal/converter/converter_v4l2_m2m.h | 2 +-
>  utils/raspberrypi/ctt/ctt.py                              | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/libcamera/internal/converter/converter_v4l2_m2m.h b/include/libcamera/internal/converter/converter_v4l2_m2m.h
> index 815916d0..84fb485f 100644
> --- a/include/libcamera/internal/converter/converter_v4l2_m2m.h
> +++ b/include/libcamera/internal/converter/converter_v4l2_m2m.h
> @@ -47,7 +47,7 @@ public:
>  
>  	int configure(const StreamConfiguration &inputCfg,
>  		      const std::vector<std::reference_wrapper<StreamConfiguration>> &outputCfg);
> -	int exportBuffers(unsigned int ouput, unsigned int count,
> +	int exportBuffers(unsigned int output, unsigned int count,
>  			  std::vector<std::unique_ptr<FrameBuffer>> *buffers);
>  
>  	int start();
> diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py
> index cd89f177..89159e63 100755
> --- a/utils/raspberrypi/ctt/ctt.py
> +++ b/utils/raspberrypi/ctt/ctt.py
> @@ -350,7 +350,7 @@ class Camera:
>          alsc_out = alsc_all(self, do_alsc_colour, plot)
>          cal_cr_list, cal_cb_list, luminance_lut, av_corn = alsc_out
>          """
> -        write ouput to json and finish if not do_alsc_colour
> +        write output to json and finish if not do_alsc_colour
>          """
>          if not do_alsc_colour:
>              self.json['rpi.alsc']['luminance_lut'] = luminance_lut

Patch
diff mbox series

diff --git a/include/libcamera/internal/converter/converter_v4l2_m2m.h b/include/libcamera/internal/converter/converter_v4l2_m2m.h
index 815916d0..84fb485f 100644
--- a/include/libcamera/internal/converter/converter_v4l2_m2m.h
+++ b/include/libcamera/internal/converter/converter_v4l2_m2m.h
@@ -47,7 +47,7 @@  public:
 
 	int configure(const StreamConfiguration &inputCfg,
 		      const std::vector<std::reference_wrapper<StreamConfiguration>> &outputCfg);
-	int exportBuffers(unsigned int ouput, unsigned int count,
+	int exportBuffers(unsigned int output, unsigned int count,
 			  std::vector<std::unique_ptr<FrameBuffer>> *buffers);
 
 	int start();
diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py
index cd89f177..89159e63 100755
--- a/utils/raspberrypi/ctt/ctt.py
+++ b/utils/raspberrypi/ctt/ctt.py
@@ -350,7 +350,7 @@  class Camera:
         alsc_out = alsc_all(self, do_alsc_colour, plot)
         cal_cr_list, cal_cb_list, luminance_lut, av_corn = alsc_out
         """
-        write ouput to json and finish if not do_alsc_colour
+        write output to json and finish if not do_alsc_colour
         """
         if not do_alsc_colour:
             self.json['rpi.alsc']['luminance_lut'] = luminance_lut