Patch Detail
Show a patch.
GET /api/patches/8976/?format=api
{ "id": 8976, "url": "https://patchwork.libcamera.org/api/patches/8976/?format=api", "web_url": "https://patchwork.libcamera.org/patch/8976/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20200724145618.26304-2-david.plowman@raspberrypi.com>", "date": "2020-07-24T14:56:16", "name": "[libcamera-devel,v2,1/3] libcamera: Add ColourCorrectionMatrix control", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "3b4ceadba8756d01667eafb31bd88d8ab80ef76f", "submitter": { "id": 42, "url": "https://patchwork.libcamera.org/api/people/42/?format=api", "name": "David Plowman", "email": "david.plowman@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/8976/mbox/", "series": [ { "id": 1138, "url": "https://patchwork.libcamera.org/api/series/1138/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1138", "date": "2020-07-24T14:56:15", "name": "ColourCorrectionMatrix control", "version": 2, "mbox": "https://patchwork.libcamera.org/series/1138/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/8976/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/8976/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 14170BD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Jul 2020 14:56:40 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D806D61223;\n\tFri, 24 Jul 2020 16:56:39 +0200 (CEST)", "from mail-wm1-x344.google.com (mail-wm1-x344.google.com\n\t[IPv6:2a00:1450:4864:20::344])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3CE60611B0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jul 2020 16:56:37 +0200 (CEST)", "by mail-wm1-x344.google.com with SMTP id f18so8543001wml.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jul 2020 07:56:37 -0700 (PDT)", "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\th5sm2073156wrc.97.2020.07.24.07.56.36\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 24 Jul 2020 07:56:36 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"quoIVa/X\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=0OcLxwAHjQXyW5pyhRAe0/bGMfnLFfe6P8GufHkoqaY=;\n\tb=quoIVa/XXI3JVTKVcDwRsh0H4unsfkY5onhw7R9bX3IvdpGGRRgEGfLx/EXA1ujtSy\n\tt+bfCrcLhfoF/prcdIY9DtzHFtF2C9uVMaFUx0P+erfNbM2WBGAOUH98d0J1p8YK3vqe\n\tqPBnN/rCG2i9DAlPS3d/eGvIbrGpo7azdHAXo0xZJtMoRs4q+BGQIxRZ56FIsWXeBvJF\n\tuG0FclKPu7da5nCWKj7ONVyywJcK3n0KNCjPwsC1kL6rm7AN80U3fAiIZ0mqds1BqhjG\n\t1Py2TZPvWUthhDLId3OhNaRZZ2Lv584ZlhsgO7obukFKFW1FZ6wyo5wWmHfEDbOIC1qZ\n\tzZFw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=0OcLxwAHjQXyW5pyhRAe0/bGMfnLFfe6P8GufHkoqaY=;\n\tb=EPzVZowsBdjBPYqn0R+5+qsMg42CPrMLyNC++/OM4z1EmLnEfgYKtl36hXsrAtZYy7\n\tOcAN/87+SUTL9diUnCkYXJtvWikTBiQgMmiGo2qfozW8P4i2l/4PpqAtmYMglOj5J2a0\n\tfvoYqGgYGq3x/FR0+A/39EVUep/wJ0Qn1LcX6lZrR/znw2MMsb8zq2oXSvvijxO2ZyKX\n\tPhMczGX6WSP8NFv+J8dWoQInLiWMs0Omw84D6tAZgZ8ecEhnfDp5vhZS+X+1DPy0qWXz\n\tj3JuJ+450uo5a7WxMpHl7+rpV+rA2BrogesTJSsV/n0sR7nmYnKF+1ujrjQ5ix2HqW73\n\ttuPg==", "X-Gm-Message-State": "AOAM5309UDl9HT7WkVogvlCd4oT09BoL00kFt7Qhr92y4Cyfd46wczZo\n\t9HM9FQIH6kVS2BDG/tmA08eVs6BHTX0wuA==", "X-Google-Smtp-Source": "ABdhPJyI7de/tFoSH9LipkLbsnu5zuSxRFndvPO/9C0GJ3e0gT2GxHNciAqT7DasynMuHv2pCfTLYw==", "X-Received": "by 2002:a05:600c:2154:: with SMTP id\n\tv20mr9826065wml.185.1595602596659; \n\tFri, 24 Jul 2020 07:56:36 -0700 (PDT)", "From": "David Plowman <david.plowman@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 24 Jul 2020 15:56:16 +0100", "Message-Id": "<20200724145618.26304-2-david.plowman@raspberrypi.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20200724145618.26304-1-david.plowman@raspberrypi.com>", "References": "<20200724145618.26304-1-david.plowman@raspberrypi.com>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH v2 1/3] libcamera: Add\n\tColourCorrectionMatrix control", "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>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "This control is principally for returning, in the image metadata, the\nCCM (Colour Correction Matrix) used by the imaging pipeline. By which\nwe mean the 3x3 matrix that is applied to the camera RGB pixels after\nsubtraction of black levels and white-balancing, but before any gamma\ntransformation.\n\nSome implementations may also choose to let an application set\nexplicit colour matrices, using this as a control.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 11 +++++++++++\n 1 file changed, 11 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 988b501..3560d4a 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -262,4 +262,15 @@ controls:\n In this respect, it is not necessarily aimed at providing a way to\n implement a focus algorithm by the application, rather an indication of\n how in-focus a frame is.\n+\n+ - ColourCorrectionMatrix:\n+ type: float\n+ description: |\n+ The 3x3 matrix that converts camera RGB to sRGB within the\n+ imaging pipeline. This should describe the matrix that is used\n+ after pixels have been white-balanced, but before any gamma\n+ transformation. The 3x3 matrix is stored in conventional reading\n+ order in an array of 9 floating point values.\n+\n+ size: [3x3]\n ...\n", "prefixes": [ "libcamera-devel", "v2", "1/3" ] }