From patchwork Mon Jun 28 12:23:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 12723 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 C74A0C3220 for ; Mon, 28 Jun 2021 12:23:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 13F04684D8; Mon, 28 Jun 2021 14:23:28 +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="jat1rCLA"; dkim-atps=neutral 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 6DB266028C for ; Mon, 28 Jun 2021 14:23:26 +0200 (CEST) Received: by mail-wm1-x334.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso13609121wmh.4 for ; Mon, 28 Jun 2021 05:23:26 -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=pBVHG7T7WUkRVZ4UtHCzHjFNPDsex6b0JxuIq3EpWnY=; b=jat1rCLArUil97UoxqqSBkGNjOOmMx22lJQPCxvQHqhs9i6hypI3JcIpX2045cmlq2 5ig8pRipN+0v+5eAxUjiuNqiCj+fTzwi6oPtmPjS1SPfbWBtlsYYQOQQG2Apc4p1AN6J 9k954WhPjiIgZOLpvmCHrZoLyohjmywHZXKTfICjoVQF86JcQNCxsBvYYX+qxkS83j4l +haBru1Mqd0u+/q2HhL+/PqPgDf602g1RswxnPcYlDOUKlqjRRYo5MNzCeVpmnnNwcN9 Is0FAUHfGATNJ6j387ErnSr3S3bwxWKD33smZe1n8pixBVM7imemkbwtUVrToiawKkzX CZ8Q== 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=pBVHG7T7WUkRVZ4UtHCzHjFNPDsex6b0JxuIq3EpWnY=; b=gv+3t7+8ySo2J4o95bq1y/XGdfY3Sw5wHriKzhfiQrIfljNvnFLCMHFekvJ/iCSjB0 B1xYlvJWimK7fygTE1o8xCkgw9Uv3wu6kv+mWXjWYS7NxQXaXYWd6iTsBnxxT1tlOKrZ Adi1t9dr5hI1TisYhoLv4t+/wvKKS712YY3FCzDK+fC2qfE7B/8s6tpG2MKJzN4kwTxY nu9aHdu9WeayWLjAKINsyqFbWUWxJunnRYs33+vVOK6Dfwc6J4gj7AsoNK+A5n5xpzLy MwVvEgpZpM8e/gyoiTLobav179+Rznek0po8ltEla5+rYMBXeOOp7B7FQbVj5tUmgWm8 vqKw== X-Gm-Message-State: AOAM531oMLpu65z2GfnlwpSFJ/5AqAvt2xSdoH36Y44DPrzgav2unWE9 SoJdfvnw9m/RYShKfXnLUSTBBrH2WKRINA== X-Google-Smtp-Source: ABdhPJxNwYB92wddg+YjEYhFlbXzsqc5qniVAkUjQhStvZBuW/qUT1um4Yzv0prlaZAxOVhkaM/qUw== X-Received: by 2002:a7b:ce82:: with SMTP id q2mr25771187wmj.60.1624883005887; Mon, 28 Jun 2021 05:23:25 -0700 (PDT) Received: from pi4-davidp.pitowers.org ([2a00:1098:3142:14:1ce1:9965:4328:89c4]) by smtp.gmail.com with ESMTPSA id s62sm19606542wms.13.2021.06.28.05.23.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 05:23:25 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Mon, 28 Jun 2021 13:23:21 +0100 Message-Id: <20210628122324.14541-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 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 Here's a v4 set of patches, the only change being in the final patch where the OV9281 driver, which formerly advertised its name as "mov9281", is now known just the "ov9281". (This change has already been made in the Pi version of the driver.) Thanks and best regards 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_ov9281.cpp | 65 +++++++++++++++ src/ipa/raspberrypi/controller/rpi/agc.cpp | 2 +- src/ipa/raspberrypi/controller/rpi/alsc.cpp | 4 +- src/ipa/raspberrypi/data/meson.build | 1 + src/ipa/raspberrypi/data/ov9281.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, 183 insertions(+), 6 deletions(-) create mode 100644 src/ipa/raspberrypi/cam_helper_ov9281.cpp create mode 100644 src/ipa/raspberrypi/data/ov9281.json