From patchwork Fri Sep 23 12:55:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Sylvestre X-Patchwork-Id: 17391 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 19467C0DA4 for ; Fri, 23 Sep 2022 12:55:54 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 817106223F; Fri, 23 Sep 2022 14:55:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1663937753; bh=ItqUylbU8VpY60JIqwXww87/AELXnQs0USXRwCPkqRI=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=uk9eK8asHFYNqr07V9xHQZSKWaQbP8MbBfPXSNxjxLWX08zSBmD1v2n9yaivMn/iM 17A+OHboD8S/0W6CuzG54Zwc61jEfT/0Tcof15VnTgjxeEKKyFwN5Uiox2Ey7hiOV1 ecZ2xMzAMY6vLz81HA6lFj43sptHdvhiONbV5UyB60MXFLONKWksXK8tXnj25FMqXy Gce8frn69RzMeYUtqjJsWXM1sLB9Dar3qt6LHGlK+dmBT4jSwxvdz6IA8/we2Kwpqs SyNgf0ZVyULHh8pkuctwkO6DtNhC0LCIT1NKTCMz9BtbqneLE2P5cMD188L2PUQDJD yyLiOub83Q4fg== Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A3B0662239 for ; Fri, 23 Sep 2022 14:55:51 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="RpZZPrh4"; dkim-atps=neutral Received: by mail-wm1-x334.google.com with SMTP id n35-20020a05600c502300b003b4924c6868so5203303wmr.1 for ; Fri, 23 Sep 2022 05:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=WL/lzisgNNK9AwwuXDZc5NHYLJl3ChBUXtdXeQJD14U=; b=RpZZPrh46TorlPMhx7kAXkVriQuHFbyuc6QZZW/OLwQm75Xs9NR5OSVlcfn8pRHd4K pxxY9m/l4vEQT6l4ZPoBhoGr5eQc+VSvpuzwSzvXqDFnJmgdJWR0l5/ZjDVaHyzWkpeK Tl3P9u8f3l149Ob2KFNuxhluj9PSQpk1GxG9PbBXJETnUfSb8WU3W4zkReBGLeI1mNEx 3uRJ/pRDeB3aN98comfaHyjLGKrSib7C3dAh+d4jwPKxROTLr/4T/+Uxf25dKf6gotYk DNXJruRfRI+ulcinEFR553nhFweUvvU1gn3zSuT9juH7scFgKyg/km+XKIXP0RovEbVZ 2vTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=WL/lzisgNNK9AwwuXDZc5NHYLJl3ChBUXtdXeQJD14U=; b=U8DTgVPP1HyY5fOlbktlsXzjvm8OVWQbJv4T2bsRB8vOsAnmgCwSGVqQfV72eM/AB8 Jbn96MxP4JRzHaUzsaaZSQN1CWR+LFPP20AIFHeKlhGHmtrO3mROs/Nz9x2Ay7DZ8Zt0 j39DWxJMQcm80SQFjXhnCvK12Qhv+3xEGXsKSNzm43U0MoI1OmRmrHygR408jVgCOKf/ 1T6eKFpTHzMO7MLITdQlBJG82CqxFVoWBd3ejXcjqhQa6RiHzu0j6yPVQq+JRZnVNArS g+1eKDT7eXk2a+mS6fZOVsaU6UMVQH5F4azvo8KWOSzJx0eiOJwxRw4GJ5wyKe0BEAyq 1WkA== X-Gm-Message-State: ACrzQf0kchPQFjmKe106kGCES5otl8oP6Xj83tSOGc21wRfOLK+Wy5vG wLEG/PS64gfGIYHOpyBBC45Sv9BpzUKuxg== X-Google-Smtp-Source: AMsMyM5XSSn+OnNxgsHgYqccuc0CuJUk48M27ckwDytsIAc09v6npkbeiqIuBsQUZ40LoeXC6iU7/Q== X-Received: by 2002:a1c:e90b:0:b0:3b4:fb6c:7654 with SMTP id q11-20020a1ce90b000000b003b4fb6c7654mr5857055wmc.98.1663937750998; Fri, 23 Sep 2022 05:55:50 -0700 (PDT) Received: from BL087.. ([2a01:e34:eea9:e630:db4f:e82d:37b3:6a74]) by smtp.gmail.com with ESMTPSA id bn27-20020a056000061b00b0022762b0e2a2sm8251353wrb.6.2022.09.23.05.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 05:55:50 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 23 Sep 2022 14:55:45 +0200 Message-Id: <20220923125546.903671-1-fsylvestre@baylibre.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/1] Add Bayer format support for RkISP1 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-Patchwork-Original-From: Florian Sylvestre via libcamera-devel From: Florian Sylvestre Reply-To: Florian Sylvestre Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This patch allows pipeline configuration for supporting raw format on RkISP1. It also manage the fact that statistics will not be available while we bypass ISP algorithms and that ISP is not supporting resizing on raw formats (so the sensor resolution is forced if necessary). Florian Sylvestre (1): pipeline: rkisp1: Implement Bayer formats support include/libcamera/ipa/rkisp1.mojom | 1 + src/ipa/rkisp1/rkisp1.cpp | 10 +++ src/libcamera/pipeline/rkisp1/rkisp1.cpp | 63 ++++++++++++++++++- src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 51 ++++++++++++++- 4 files changed, 120 insertions(+), 5 deletions(-)