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

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sun Jan 31 19:43:50 CET 2021


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

 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



More information about the libcamera-devel mailing list