{"id":16574,"url":"https://patchwork.libcamera.org/api/patches/16574/?format=json","web_url":"https://patchwork.libcamera.org/patch/16574/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20220707150310.3645858-4-paul.elder@ideasonboard.com>","date":"2022-07-07T15:03:09","name":"[libcamera-devel,3/4] pipeline: rkisp1: Add support for YUV422 and YVU422","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"1041d736a7fc5f38e3ab16eea9ed366449ff05da","submitter":{"id":17,"url":"https://patchwork.libcamera.org/api/people/17/?format=json","name":"Paul Elder","email":"paul.elder@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/16574/mbox/","series":[{"id":3264,"url":"https://patchwork.libcamera.org/api/series/3264/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3264","date":"2022-07-07T15:03:06","name":"Add more formats to rkisp1","version":1,"mbox":"https://patchwork.libcamera.org/series/3264/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16574/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16574/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 33577BD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  7 Jul 2022 15:03:38 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DA81663315;\n\tThu,  7 Jul 2022 17:03:37 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 202EC60400\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  7 Jul 2022 17:03:36 +0200 (CEST)","from pyrite.rasen.tech (softbank036240121080.bbtec.net\n\t[36.240.121.80])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A5AA8D01;\n\tThu,  7 Jul 2022 17:03:34 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1657206217;\n\tbh=W/fkLtNY3HSnCbs4zt9sFFBG9AmC8RU3aDGdKLpJ4vI=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=HfhiaR/1Vr5J8sU/RbYzgesaNAnBRyPGZx/VmttmDJU8lZ9LxTgvv8syhlHEd11jr\n\t9wSTT1iW4/LQtQmQG5cWkLlWV9N+vbe0kDc7shy7Hpv9D3ab92R9OjLwrtRtaIZunD\n\tLdb0QdvT5CnXMMEljvQ/68oKhTyO+x+o7SghEl+FO9K0VBSaB+4nZ36rMPapLid4qM\n\tpiHPbqNGFjYsI4HoAeymz49Xqo1Kx541ZpfPyG7dwbVO3lCkPBcjFCT3YIf9X331gO\n\t30Bsiz9LrfjOutRQ8hmCtYwYGi66jkTLcWTPVwxFrET8SPFp7b61LgnP4JiSkHvMTF\n\tVpE14qoVzTAkg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1657206215;\n\tbh=W/fkLtNY3HSnCbs4zt9sFFBG9AmC8RU3aDGdKLpJ4vI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=bFWDD93+hnmyesQScxpRsV1+MiNYq8gvEMCKur4iiyy3nSPMAkggQD705FuDkYxY+\n\t7qZH47AkOzJz/r8/UXS/jRMKjPMxTD8XWVssJ0ZqGcpqYe74oJDJS55EHYU6wFHlYI\n\tjzE7tApfFgich2nWauCU/y5kr930cMR+Vx3Q1Qoo="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"bFWDD93+\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Fri,  8 Jul 2022 00:03:09 +0900","Message-Id":"<20220707150310.3645858-4-paul.elder@ideasonboard.com>","X-Mailer":"git-send-email 2.30.2","In-Reply-To":"<20220707150310.3645858-1-paul.elder@ideasonboard.com>","References":"<20220707150310.3645858-1-paul.elder@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 3/4] pipeline: rkisp1: Add support for\n\tYUV422 and YVU422","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Paul Elder via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Paul Elder <paul.elder@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"YUV422 and YVU422 are already supported as output formats by the rkisp1\ndriver. Add them to the pipeline handler to support them in libcamera as\nwell.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)","diff":"diff --git a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp\nindex c34e4147..24ff62e1 100644\n--- a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp\n+++ b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp\n@@ -209,10 +209,12 @@ void RkISP1Path::stop()\n namespace {\n constexpr Size RKISP1_RSZ_MP_SRC_MIN{ 32, 16 };\n constexpr Size RKISP1_RSZ_MP_SRC_MAX{ 4416, 3312 };\n-constexpr std::array<PixelFormat, 8> RKISP1_RSZ_MP_FORMATS{\n+constexpr std::array<PixelFormat, 10> RKISP1_RSZ_MP_FORMATS{\n \tformats::YUYV,\n \tformats::YUV420,\n \tformats::YVU420,\n+\tformats::YUV422,\n+\tformats::YVU422,\n \tformats::NV16,\n \tformats::NV61,\n \tformats::NV21,\n","prefixes":["libcamera-devel","3/4"]}