Show a patch.

GET /api/patches/10703/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 10703,
    "url": "https://patchwork.libcamera.org/api/patches/10703/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/10703/",
    "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": "<20201223174709.45457-3-jacopo@jmondi.org>",
    "date": "2020-12-23T17:47:05",
    "name": "[libcamera-devel,2/6] libcamera: properties: ColorFilterArrangement draft property",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b3af4b97c24a46cf3313ebe14278502090772efe",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": {
        "id": 15,
        "url": "https://patchwork.libcamera.org/api/users/15/?format=api",
        "username": "jmondi",
        "first_name": "Jacopo",
        "last_name": "Mondi",
        "email": "jacopo@jmondi.org"
    },
    "mbox": "https://patchwork.libcamera.org/patch/10703/mbox/",
    "series": [
        {
            "id": 1544,
            "url": "https://patchwork.libcamera.org/api/series/1544/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1544",
            "date": "2020-12-23T17:47:03",
            "name": "android: support ColorFilterArrangement property",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1544/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/10703/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/10703/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 59570C0F1B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 23 Dec 2020 17:47:06 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 05267615B4;\n\tWed, 23 Dec 2020 18:47:06 +0100 (CET)",
            "from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net\n\t[217.70.183.199])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A6F8F6158A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 23 Dec 2020 18:47:03 +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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 5AA2DFF806\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 23 Dec 2020 17:47:03 +0000 (UTC)"
        ],
        "X-Originating-IP": "2.224.242.101",
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Wed, 23 Dec 2020 18:47:05 +0100",
        "Message-Id": "<20201223174709.45457-3-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.29.2",
        "In-Reply-To": "<20201223174709.45457-1-jacopo@jmondi.org>",
        "References": "<20201223174709.45457-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH 2/6] 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..7f0e9c87a408 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 color filter arrangement\n+        - name: GRBG\n+          value: 1\n+          description: GRBG color filter arrangement\n+        - name: GBRG\n+          value: 2\n+          description: GBRG color filter arrangement\n+        - name: BGGR\n+          value: 3\n+          description: BGGR color filter arrangement\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",
        "2/6"
    ]
}