[libcamera-devel] [PATCH] libcamera: formats: Fix typo in YV444 V4L2PixelFormat listing
Kieran Bingham
kieran.bingham at ideasonboard.com
Mon Sep 25 15:48:07 CEST 2023
Quoting Laurent Pinchart via libcamera-devel (2023-09-25 13:16:44)
> Hi Naush,
>
> Thank you for the patch.
>
> On Mon, Sep 25, 2023 at 12:01:05PM +0100, Naushir Patuck via libcamera-devel wrote:
> > This format was defined with the V4L2_PIX_FMT_YUV444M fourcc instead of
> > the correct V4L2_PIX_FMT_YVU444M fourcc.
> >
> > Fixes: 3b9fe4ae996b ("libcamera: formats: Add YUV444 and YVU444 pixel formats")
> > Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
>
> Oops.
Yikes indeed.
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
>
> > ---
> > src/libcamera/v4l2_pixelformat.cpp | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/src/libcamera/v4l2_pixelformat.cpp b/src/libcamera/v4l2_pixelformat.cpp
> > index a7ae69bb317d..5551c62eb39b 100644
> > --- a/src/libcamera/v4l2_pixelformat.cpp
> > +++ b/src/libcamera/v4l2_pixelformat.cpp
> > @@ -123,7 +123,7 @@ const std::map<V4L2PixelFormat, V4L2PixelFormat::Info> vpf2pf{
> > { formats::YVU422, "Planar YVU 4:2:2 (N-C)" } },
> > { V4L2PixelFormat(V4L2_PIX_FMT_YUV444M),
> > { formats::YUV444, "Planar YUV 4:4:4 (N-C)" } },
> > - { V4L2PixelFormat(V4L2_PIX_FMT_YUV444M),
> > + { V4L2PixelFormat(V4L2_PIX_FMT_YVU444M),
> > { formats::YVU444, "Planar YVU 4:4:4 (N-C)" } },
> >
> > /* Greyscale formats. */
>
> --
> Regards,
>
> Laurent Pinchart
More information about the libcamera-devel
mailing list