From patchwork Thu Jun 4 09:05:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 3913 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 16A6C603C8 for ; Thu, 4 Jun 2020 11:05:08 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="gv6Evgm7"; dkim-atps=neutral Received: from Q.local (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A7B6429B; Thu, 4 Jun 2020 11:05:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1591261507; bh=8zcZvZW2A50S7S52cez8h3/EgPTpGvlCKwF/XMKx9YA=; h=From:To:Cc:Subject:Date:From; b=gv6Evgm71kKBO5rpfksd58gvAikMwIcrg7AycBksI8NiZHGxwY5ULkFR1Qq+0DWg4 A+2bgnpJeiXqFk46TXctxrp7OrCX/uryBhAenR8HaB2UkGQIQjPyQ/Bz+TCPavfDHw twtZ4mv8IuznOrQgg0N7RBv0+hZmusVB4D+4f8CE= From: Kieran Bingham To: libcamera devel Date: Thu, 4 Jun 2020 10:05:03 +0100 Message-Id: <20200604090503.3779724-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: pipeline: vimc: Remove unsupportable format X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2020 09:05:08 -0000 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 Reviewed-by: Laurent Pinchart --- 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 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 */