summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-02 07:34:12 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-03 17:56:45 +0300
commit30d55d584a5f67d99e6f4c4cc3350e16c5aad6ef (patch)
tree80b5e649155e7a299e93c80b467f79d0f6a8d51a /src
parentafed56621e4ea143a4ca86d287d9eec8eb5f515a (diff)
libcamera: v4l2_subdevice: Add YUV8_1X24 media bus format
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@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/v4l2_subdevice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp
index 81d84ae8..98a3911a 100644
--- a/src/libcamera/v4l2_subdevice.cpp
+++ b/src/libcamera/v4l2_subdevice.cpp
@@ -93,6 +93,7 @@ const std::map<uint32_t, V4L2SubdeviceFormatInfo> formatInfoMap = {
{ MEDIA_BUS_FMT_VYUY10_1X20, { 20, "VYUY10_1X20" } },
{ MEDIA_BUS_FMT_YUYV10_1X20, { 20, "YUYV10_1X20" } },
{ MEDIA_BUS_FMT_YVYU10_1X20, { 20, "YVYU10_1X20" } },
+ { MEDIA_BUS_FMT_YUV8_1X24, { 24, "YUV8_1X24" } },
{ MEDIA_BUS_FMT_YUV10_1X30, { 30, "YUV10_1X30" } },
{ MEDIA_BUS_FMT_AYUV8_1X32, { 32, "AYUV8_1X32" } },
{ MEDIA_BUS_FMT_UYVY12_2X12, { 24, "UYVY12_2X12" } },