[libcamera-devel] [PATCH 0/2] libcamera: Add support for RGB565X format

Jacopo Mondi jacopo at jmondi.org
Mon Feb 1 11:33:50 CET 2021


Hi Laurent,

On Sun, Jan 31, 2021 at 08:43:50PM +0200, Laurent Pinchart wrote:
> Hello,
>
> The V4L2 RGB565X format maps to DRM to the big-endian version of
> DRM_FORMAT_RGB565. libcamera doesn't support big-endian DRM formats yet,
> so patch 1/2 addresses this issue in the gen-formats.py script. Patch
> 2/2 then adds support for the format.
>
> Laurent Pinchart (2):
>   utils: gen-formats: Support big-endian DRM formats
>   libcamera: formats: Add RGB565_BE format

Both patches look good!
Reviewed-by: Jacopo Mondi <jacopo at jmondi.org>

Thanks
  j

>
>  src/libcamera/formats.cpp          | 10 ++++++++++
>  src/libcamera/formats.yaml         |  3 +++
>  src/libcamera/v4l2_pixelformat.cpp |  1 +
>  utils/gen-formats.py               |  5 ++++-
>  4 files changed, 18 insertions(+), 1 deletion(-)
>
> --
> Regards,
>
> Laurent Pinchart
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel


More information about the libcamera-devel mailing list