From patchwork Sat Jul 18 14:34:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 8859 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id D5B77BD792 for ; Sat, 18 Jul 2020 14:34:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 39D546053A; Sat, 18 Jul 2020 16:34:45 +0200 (CEST) Received: from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net [195.74.38.229]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0066760493 for ; Sat, 18 Jul 2020 16:34:42 +0200 (CEST) X-Halon-ID: cde6abc2-c903-11ea-8fb8-005056917f90 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de [79.202.46.202]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA id cde6abc2-c903-11ea-8fb8-005056917f90; Sat, 18 Jul 2020 16:34:41 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Sat, 18 Jul 2020 16:34:26 +0200 Message-Id: <20200718143428.1060441-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] libcamera: Add support for YVU420 and RGB565 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" While testing the latest RPi changes I noticed warnings about unsupported V4L2 pixel formats. WARN V4L2 v4l2_pixelformat.cpp:170 Unsupported V4L2 pixel format YV12 WARN V4L2 v4l2_pixelformat.cpp:170 Unsupported V4L2 pixel format RGBP This series adds support for the missing formats. Niklas Söderlund (2): libcamera: Add support for planar YVU420 format libcamera: Add support for RGB565 format src/libcamera/formats.cpp | 20 ++++++++++++++++++++ src/libcamera/formats.yaml | 5 +++++ src/libcamera/v4l2_pixelformat.cpp | 2 ++ 3 files changed, 27 insertions(+)