[libcamera-devel] [PATCH 4/5] libcamera: v4l2_subdevice: Add RGB565_1X16 media bus format

Jacopo Mondi jacopo at jmondi.org
Fri May 6 14:19:52 CEST 2022


Hi Laurent,

On Wed, May 04, 2022 at 04:15:57PM +0300, Laurent Pinchart via libcamera-devel wrote:
> The format is used by the i.MX8 ISI driver that will be supported by the
> simple pipeline handler.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

Reviewed-by: Jacopo Mondi <jacopo at jmondi.org>

Thanks
  j

> ---
>  src/libcamera/v4l2_subdevice.cpp | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp
> index ef79359e3e5f..81d84ae8a9ee 100644
> --- a/src/libcamera/v4l2_subdevice.cpp
> +++ b/src/libcamera/v4l2_subdevice.cpp
> @@ -58,6 +58,7 @@ const std::map<uint32_t, V4L2SubdeviceFormatInfo> formatInfoMap = {
>  	{ MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE, { 16, "RGB444_2X8_PADHI_LE" } },
>  	{ MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE, { 16, "RGB555_2X8_PADHI_BE" } },
>  	{ MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE, { 16, "RGB555_2X8_PADHI_LE" } },
> +	{ MEDIA_BUS_FMT_RGB565_1X16, { 16, "RGB565_1X16" } },
>  	{ MEDIA_BUS_FMT_BGR565_2X8_BE, { 16, "BGR565_2X8_BE" } },
>  	{ MEDIA_BUS_FMT_BGR565_2X8_LE, { 16, "BGR565_2X8_LE" } },
>  	{ MEDIA_BUS_FMT_RGB565_2X8_BE, { 16, "RGB565_2X8_BE" } },
> --
> Regards,
>
> Laurent Pinchart
>


More information about the libcamera-devel mailing list