Patch Detail
Show a patch.
GET /api/1.1/patches/3062/?format=api
{ "id": 3062, "url": "https://patchwork.libcamera.org/api/1.1/patches/3062/?format=api", "web_url": "https://patchwork.libcamera.org/patch/3062/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20200309123319.630-5-naush@raspberrypi.com>", "date": "2020-03-09T12:33:17", "name": "[libcamera-devel,v2,4/6] libcamera: controls: Add AWB related controls", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "83baf949f6969869cdc9866445509be69d268446", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/3062/mbox/", "series": [ { "id": 715, "url": "https://patchwork.libcamera.org/api/1.1/series/715/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=715", "date": "2020-03-09T12:33:13", "name": "Patchset for libcamera controls", "version": 2, "mbox": "https://patchwork.libcamera.org/series/715/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/3062/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/3062/checks/", "tags": {}, "headers": { "Return-Path": "<naush@raspberrypi.com>", "Received": [ "from mail-wm1-x343.google.com (mail-wm1-x343.google.com\n\t[IPv6:2a00:1450:4864:20::343])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5B97362923\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 9 Mar 2020 13:35:36 +0100 (CET)", "by mail-wm1-x343.google.com with SMTP id a5so9703091wmb.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 09 Mar 2020 05:35:36 -0700 (PDT)", "from naushir-VirtualBox.pitowers.org (cust51-dsl50.idnet.net.\n\t[212.69.50.51]) by smtp.gmail.com with ESMTPSA id\n\tz135sm25693827wmc.20.2020.03.09.05.35.34\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 09 Mar 2020 05:35:35 -0700 (PDT)" ], "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\tbh=mRpp1XKALbtajmA5nsLyTfSQsfB55/0bG7VkANELT8I=;\n\tb=WIqTTDVjM6eg4mj2LlTbvNPS9BjPoE2gVxD3V56veyG7ELSzR2zbeKkQ9oPkXtKg8U\n\tVOAsGHfP+8BOEyChtfrZUFEJKLgIBJSnYD1ljsIVJGKaf3wF7WtGX/bD2ZNk96XnGeg/\n\t841yMpAdhBY9KdRzDDXyvbvuuYOS9cb2M5xfcJezbBr+XVYhoeSREMKakjGLJfzg7B4a\n\tzEb2iRTFEGOFwzdzuWVl84+SSJpT1jw4xu3r9L9n3FqbzRZmhJJbIKjU61AGTt3KV2rp\n\t8zw60K+fuP2S1IKlFe0D3Z/0Rx/2WaAl3qgAVXXRZhqktPZNNxJ4OCPQi9ELFX/bjv6P\n\twg1A==", "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;\n\tbh=mRpp1XKALbtajmA5nsLyTfSQsfB55/0bG7VkANELT8I=;\n\tb=lxqrf+47CJI9fUcf+5ZUdiBPTPBoue0IkwHKsodmLaNYzLNSaoQLTslcPzke2x0XX2\n\tmIBloQmX/l82AKqsNvR30Zz1JyXTiwBVp/fhJiuIg8pNqBxt+OlA1CjaDQNfKBP/BUe/\n\tTRvoqidq6/+3bL2BjPekU9Im90VjOICvbh9nWF+bCdGUVzJlUoIEFgiyhTffjG4lDSJt\n\tIoMVafx5N8IY3GXelEaetxNHVO0VLMqUqVsdiPDkrMZ9q0ibHWT89rQsmY39YJqpKSfl\n\tTBSHG0d4SWjKpNcKeUdhEaJIb4CrOwgp68nLMupNXFfHXzzgX28TfQajto8RuClQ1c+W\n\t0OCQ==", "X-Gm-Message-State": "ANhLgQ04Ymcrk6/Ffh+UIcl56ERS0UqcIKRxIy7IRGcpVS+1maaBaUIW\n\tzn3PnrIgOAlVbMGjRh0V7dlo39GyBbVDQQ==", "X-Google-Smtp-Source": "ADFU+vuKMYbk33HT1T1XlGqOiCJIeEjhyjdx7qjJixJGCcojxarMaZsJyQ55V9v5bjtGWVN2tLfrJA==", "X-Received": "by 2002:a1c:4c13:: with SMTP id\n\tz19mr19564496wmf.75.1583757335755; \n\tMon, 09 Mar 2020 05:35:35 -0700 (PDT)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 9 Mar 2020 12:33:17 +0000", "Message-Id": "<20200309123319.630-5-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200309123319.630-1-naush@raspberrypi.com>", "References": "<20200309123319.630-1-naush@raspberrypi.com>", "Subject": "[libcamera-devel] [PATCH v2 4/6] libcamera: controls: Add AWB\n\trelated controls", "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>", "X-List-Received-Date": "Mon, 09 Mar 2020 12:35:36 -0000" }, "content": "AwbMode is a new enum type to specify operating mode of the AWB\nalgorithm. All modes may not be supported by all platforms.\n\nManualWbGains is a new float arary type used to specify manual red\nand blue (in that order) colour channel gains when AWB is disabled.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 47 ++++++++++++++++++++++++++++++++++\n 1 file changed, 47 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex da1a7b43..9a33094a 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -143,6 +143,53 @@ controls:\n description: |\n Enable or disable the AWB.\n \n+ - AwbMode:\n+ type: int32_t\n+ description: |\n+ Specify the range of illumants to use for the AWB algorihtm. The modes\n+ supported are platform specific, and not all modes may be supported.\n+ enum:\n+ - name: AwbAuto\n+ value: 0\n+ description: Search over the whole CT range.\n+ - name: AwbIncandescent\n+ value: 1\n+ description: Incandescent AWB lamp mode.\n+ - name: AwbTungsten\n+ value: 2\n+ description: Tungsten AWB lamp mode.\n+ - name: AwbFluorescent\n+ value: 3\n+ description: Fluorescent AWB lamp mode.\n+ - name: AwbIndoor\n+ value: 4\n+ description: Indoor AWB lighting mode.\n+ - name: AwbDaylight\n+ value: 5\n+ description: Daylight AWB lighting mode.\n+ - name: AwbCloudy\n+ value: 6\n+ description: Cloudy AWB lighting mode.\n+ - name: AwbCustom1\n+ value: 7\n+ description: Custom AWB mode 1.\n+ - name: AwbCustom2\n+ value: 8\n+ description: Custom AWB mode 2.\n+ - name: AwbCustom3\n+ value: 9\n+ description: Custom AWB mode 3.\n+ - name: AwbModeMax\n+ value: 9\n+ description: Maximum allowed value (place any new values above here).\n+\n+ - ManualWbGains:\n+ type: float\n+ description: |\n+ Specify a fixed gain parameter for the Red and Blue colour channels,\n+ in that order.\n+ size: [2]\n+\n - Brightness:\n type: int32_t\n description: Specify a fixed brightness parameter\n", "prefixes": [ "libcamera-devel", "v2", "4/6" ] }