From patchwork Fri Jun 18 16:18:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 12648 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 D5DA9BD78E for ; Fri, 18 Jun 2021 16:18:15 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E211D60298; Fri, 18 Jun 2021 18:18:14 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="SD5+Y0z6"; dkim-atps=neutral Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 10D3F60298 for ; Fri, 18 Jun 2021 18:18:13 +0200 (CEST) Received: by mail-wm1-x32f.google.com with SMTP id t4-20020a1c77040000b029019d22d84ebdso9063922wmi.3 for ; Fri, 18 Jun 2021 09:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uIFDxJFUBDLJU1UWwfQnVpnF6RiGtGJ2Mg6wwcs7tEM=; b=SD5+Y0z612lhk8klQGM5qJPW4c15Qh9rcadHgUBIgZ6Ft0DK2N+rg2Ho0SAsW0fgMw mYzJh1B8DkJPm/YRbxjqZDrdqUil11CyTwmMsvAC5uEm/BZNow0DN7lknbUhkSs5ncBt D8pYDKWFXyJn5rfGwVn5++AaMK1YlrQwGSCi9vFrPtwp7UNRtaOBCgp1Lct5Rw4XX1r2 JqzM5PuoUo3g+a65tKhkLbbyZSBCVtERHxntRoxWTnNqt1oCO1ML06lrfowEMZRRSIyI pNiFAutUJG46yvbcGSNhd1F6BYGuy8RMr2sF9KQD8d0aq0wKdMgmBul2RFzrOcbGoG99 mX7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uIFDxJFUBDLJU1UWwfQnVpnF6RiGtGJ2Mg6wwcs7tEM=; b=Y23Sm83NuOJ1suFY2xvIDfUNbLH3TJDSs6mlBemqW3qsnULxCXggmVNPs+03KDIbX7 qaOVyBmT8vRhBJ4isEE8uu0iMGPDaGOV2cqztt/f6H1zS5BsJmnQXWTU3zLTCyekoZv0 ALxkjcHMrNyC8aHY+/EfYKAqRw+BtagebkzzFnrDbYma/oUvKwxyDwsE/qEMYupMcCwG NX+H5Z567yHtBj7cpUu2cHOZDkqSiLc7piyKAvgEQgF5EWKY2zzHjE59znZKMSYOklGZ MWVjbbRMagTg82BwF6lnrok/cTM1V51nSFMUf5zpdc/lsSFI9jTe1ETdaAZfOrC1COtL K24Q== X-Gm-Message-State: AOAM533Z71joJ/3Dnkd4QY6yCZzTs+P8kQebI0C6h7d8BNxghy7SQmUU clvybMIrzuhXuNWX7fwMVJgdv6X4qOcxhQCY X-Google-Smtp-Source: ABdhPJzMiqbcbXf1iwewtlQZmwyUidEG/dGQCwe3Pg/O3sg4KPSt1ZRLaN2Kgio/hdKePG2OQ4rLAg== X-Received: by 2002:a7b:c414:: with SMTP id k20mr12514367wmi.90.1624033092457; Fri, 18 Jun 2021 09:18:12 -0700 (PDT) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id z5sm8908492wrp.92.2021.06.18.09.18.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Jun 2021 09:18:11 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Fri, 18 Jun 2021 17:18:04 +0100 Message-Id: <20210618161807.24242-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/3] Support monochrome raw sensors 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" Hi everyone No great changes in this v2 set, except to the final patch where I've adopted the default "hide frame" numbers for the OV9281. They appear to work fine and are less pessimistic than what I had previously. Thanks David David Plowman (3): libcamera: Add support for monochrome sensors libcamera: ipa: raspberrypi: Demote warnings about lack of AWB results libcamera: ipa: raspberrypi: Add support for ov9281 sensor include/libcamera/internal/bayer_format.h | 3 +- src/ipa/raspberrypi/cam_helper_mov9281.cpp | 65 +++++++++++++++ src/ipa/raspberrypi/controller/rpi/agc.cpp | 2 +- src/ipa/raspberrypi/controller/rpi/alsc.cpp | 2 +- src/ipa/raspberrypi/data/meson.build | 1 + src/ipa/raspberrypi/data/mov9281.json | 92 +++++++++++++++++++++ src/ipa/raspberrypi/meson.build | 1 + src/libcamera/bayer_format.cpp | 14 +++- src/libcamera/camera_sensor.cpp | 3 + src/libcamera/property_ids.yaml | 4 + 10 files changed, 182 insertions(+), 5 deletions(-) create mode 100644 src/ipa/raspberrypi/cam_helper_mov9281.cpp create mode 100644 src/ipa/raspberrypi/data/mov9281.json