Patch Detail
Show a patch.
GET /api/1.1/patches/10751/?format=api
{ "id": 10751, "url": "https://patchwork.libcamera.org/api/1.1/patches/10751/?format=api", "web_url": "https://patchwork.libcamera.org/patch/10751/", "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": "<20201228164003.53051-2-jacopo@jmondi.org>", "date": "2020-12-28T16:39:59", "name": "[libcamera-devel,v2,1/5] libcamera: properties: ColorFilterArrangement draft property", "commit_ref": "5d3d0dcedb36f991b7f395c15b9112694f44d87d", "pull_url": null, "state": "accepted", "archived": false, "hash": "13f82ef56da469068eddb0d2cfcb67d988405071", "submitter": { "id": 3, "url": "https://patchwork.libcamera.org/api/1.1/people/3/?format=api", "name": "Jacopo Mondi", "email": "jacopo@jmondi.org" }, "delegate": { "id": 15, "url": "https://patchwork.libcamera.org/api/1.1/users/15/?format=api", "username": "jmondi", "first_name": "Jacopo", "last_name": "Mondi", "email": "jacopo@jmondi.org" }, "mbox": "https://patchwork.libcamera.org/patch/10751/mbox/", "series": [ { "id": 1556, "url": "https://patchwork.libcamera.org/api/1.1/series/1556/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1556", "date": "2020-12-28T16:39:58", "name": "android: support ColorFilterArrangement property", "version": 2, "mbox": "https://patchwork.libcamera.org/series/1556/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/10751/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/10751/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 D31E0C0F1A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 28 Dec 2020 16:39:55 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AD39361D64;\n\tMon, 28 Dec 2020 17:39:55 +0100 (CET)", "from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net\n\t[217.70.183.193])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7CFD76159A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Dec 2020 17:39:53 +0100 (CET)", "from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 1574D240008;\n\tMon, 28 Dec 2020 16:39:52 +0000 (UTC)" ], "X-Originating-IP": "2.224.242.101", "From": "Jacopo Mondi <jacopo@jmondi.org>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 28 Dec 2020 17:39:59 +0100", "Message-Id": "<20201228164003.53051-2-jacopo@jmondi.org>", "X-Mailer": "git-send-email 2.29.2", "In-Reply-To": "<20201228164003.53051-1-jacopo@jmondi.org>", "References": "<20201228164003.53051-1-jacopo@jmondi.org>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH v2 1/5] libcamera: properties:\n\tColorFilterArrangement draft property", "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": "Define the 'ColorFilterArrangement' draft property. The property is\ncurrently identical to ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT.\n\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/property_ids.yaml | 29 +++++++++++++++++++++++++++++\n 1 file changed, 29 insertions(+)", "diff": "diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex 64e88f0361d6..104e9aaf4fa3 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -678,4 +678,33 @@ controls:\n \\todo Turn this property into a \"maximum control value\" for the\n ScalerCrop control once \"dynamic\" controls have been implemented.\n \n+ # ----------------------------------------------------------------------------\n+ # Draft properties section\n+\n+ - ColorFilterArrangement:\n+ type: int32_t\n+ draft: true\n+ description: |\n+ The arrangement of color filters on sensor; represents the colors in the\n+ top-left 2x2 section of the sensor, in reading order. Currently\n+ identical to ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT.\n+ enum:\n+ - name: RGGB\n+ value: 0\n+ description: RGGB Bayer pattern\n+ - name: GRBG\n+ value: 1\n+ description: GRBG Bayer pattern\n+ - name: GBRG\n+ value: 2\n+ description: GBRG Bayer pattern\n+ - name: BGGR\n+ value: 3\n+ description: BGGR Bayer pattern\n+ - name: RGB\n+ value: 4\n+ description: |\n+ Sensor is not Bayer; output has 3 16-bit values for each pixel,\n+ instead of just 1 16-bit value per pixel.\n+\n ...\n", "prefixes": [ "libcamera-devel", "v2", "1/5" ] }