[libcamera-devel] [PATCH] libcamera: pipeline: vimc: Remove unsupportable format

Kieran Bingham kieran.bingham at ideasonboard.com
Thu Jun 4 11:05:03 CEST 2020


The DRM(BGRA8888)/V4L2(ARGB8888) format is not supported by the debayer
unit at all in VIMC.

Remove it from the list of supported configurations.

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 src/libcamera/pipeline/vimc/vimc.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libcamera/pipeline/vimc/vimc.cpp b/src/libcamera/pipeline/vimc/vimc.cpp
index 914df3476eb9..9952e36b016d 100644
--- a/src/libcamera/pipeline/vimc/vimc.cpp
+++ b/src/libcamera/pipeline/vimc/vimc.cpp
@@ -110,7 +110,6 @@ namespace {
 static const std::map<PixelFormat, uint32_t> pixelformats{
 	{ PixelFormat(DRM_FORMAT_RGB888), MEDIA_BUS_FMT_BGR888_1X24 },
 	{ PixelFormat(DRM_FORMAT_BGR888), MEDIA_BUS_FMT_RGB888_1X24 },
-	{ PixelFormat(DRM_FORMAT_BGRA8888), MEDIA_BUS_FMT_ARGB8888_1X32 },
 };
 
 } /* namespace */
-- 
2.25.1



More information about the libcamera-devel mailing list