Show a patch.

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

{
    "id": 18650,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/18650/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/18650/",
    "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": "<20230523-imx327-properties-v1-1-bd1e3933ec84@skidata.com>",
    "date": "2023-05-23T17:12:43",
    "name": "[libcamera-devel] libcamera: camera_sensor: Add Sony IMX327 sensor properties",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e5f0ec1b0310274cbb4c75be67ebf6d859ba97bc",
    "submitter": {
        "id": 163,
        "url": "https://patchwork.libcamera.org/api/1.1/people/163/?format=api",
        "name": "Benjamin Bara",
        "email": "bbara93@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/18650/mbox/",
    "series": [
        {
            "id": 3888,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3888/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3888",
            "date": "2023-05-23T17:12:43",
            "name": "[libcamera-devel] libcamera: camera_sensor: Add Sony IMX327 sensor properties",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3888/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/18650/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/18650/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 DAA8BC3284\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 23 May 2023 17:12:59 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 34616626E1;\n\tTue, 23 May 2023 19:12:59 +0200 (CEST)",
            "from mail-ed1-x529.google.com (mail-ed1-x529.google.com\n\t[IPv6:2a00:1450:4864:20::529])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9B517626DD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 May 2023 19:12:57 +0200 (CEST)",
            "by mail-ed1-x529.google.com with SMTP id\n\t4fb4d7f45d1cf-510d8ead2f1so154137a12.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 May 2023 10:12:57 -0700 (PDT)",
            "from [127.0.1.1] ([91.230.2.244]) by smtp.gmail.com with ESMTPSA id\n\tbe5-20020a0564021a2500b0050dfd7de30dsm4211839edb.94.2023.05.23.10.12.56\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 23 May 2023 10:12:56 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1684861979;\n\tbh=renyWgEUsy05ZyrUxEIH+yM1NUqRuPDaI7ksoKj0gwM=;\n\th=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=CANG1g/vF01GBqrG4fbLst7JUKm9ExTvkMy+AuKqGd8rtXWPb/kcQRls9QNs5jcZX\n\t6xoG3QDEBu8vJkPpRWOJCDiAwC4LHGYJbtpR4+EhNnI63oXkkFKs87F0d2ibYlA43l\n\tS4k0anCndO4mUl9o+Fu5WpokpOiOinp67IwktLOQk1QPCeH9XRb/gCR2cxFyyf+rnl\n\t5JSYRN1GB5/cHrVZDLWLeraU6FYIw2HmqP3n7wHheXHA/qz2EuiHb4jZyP5Rmk4VkP\n\tEOnTdam7Q6ig6t+Xdvk48HZKWoFY2uUGgZNfd8Htfd6paLhapTyHI3cfOYC1TIDcus\n\t7IgRlGug2jeMg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20221208; t=1684861977; x=1687453977;\n\th=cc:to:message-id:content-transfer-encoding:mime-version:subject\n\t:date:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=xuc0vjrp8Ts9eiUPclL2195iDsI1ZyQ3EzkQOQeFBHA=;\n\tb=huYgwt+KLK2NNz0CBXm7CLCAiIDWliP3w/BPl6xF78lHxvT60RLcyQyx83HtRrqR1F\n\t2JIXxNMbDm28xSiHjL3dvoAjv56mULJSrj50DMHM17UG7+hpiqp47XfZBCPx2PZvTfH0\n\tCJ/8Kk6RMiVX1WD9DAB/5l8IF7n34vSBAUvZrFkqyPqopxKmqgkyGbd/B9p5djzDeBJc\n\tTpcoqgMi5aC5PM6Qz6TN2G1K+5obDYRBqxr2GfnjcidNkbIoYApx5zwZAj7x59W6dApE\n\tAJdUPi1PrrtO6w3iVZ1m7WXdRRT98T2skeZzyaZldo2UOokRiSiYi5QZtJZQXU39e53v\n\t+pMw=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"huYgwt+K\"; dkim-atps=neutral",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20221208; t=1684861977; x=1687453977;\n\th=cc:to:message-id:content-transfer-encoding:mime-version:subject\n\t:date:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=xuc0vjrp8Ts9eiUPclL2195iDsI1ZyQ3EzkQOQeFBHA=;\n\tb=ehy0E92XkhnCxKSH3k2pW5TsMLUD8E2kyrg2Nzd2jyXm0ns+t0V5tE1MYaIjDNTdaH\n\t0KiR7NMeaz4YAE/+s+7+icARAUuh1xQb4mokR8S90R2Rbd82kr2oSHSvCA6mp+J6/GOA\n\tZFUqOPtuWjoJvk/7ZR4X13FUlm4/gSnBWRaT0ZLzo2CzZNBowtQm4nomUtIq6BTYkuBa\n\txLJaddWMmefq7EUeEj/q8e8oRUbz2TcHA4HaI+m4evLhP17LaT0Zy8avkc3nT/xhHYPC\n\tJvMvOxe++JhQMopieUck56I0SsM6N6p5anqMtmDK1bcGErLEjWqgtzTcZGVPP3o8/4dK\n\t2l1A==",
        "X-Gm-Message-State": "AC+VfDzQU14jwpWtw5ZpOkeB64ZHcmdOO82sqvj9TsOUWloAAd9iLdiJ\n\t02ghrAlWdTc2Yx2M/mg3qKeX7qC8cTE=",
        "X-Google-Smtp-Source": "ACHHUZ7G4nuV9hJutUSWRHHdUaWw/HBKH3nkeiNcQfwcS3U3/FcWNnNM3LVIgATo9tZHLMdQRIMweg==",
        "X-Received": "by 2002:aa7:ce02:0:b0:510:d197:e873 with SMTP id\n\td2-20020aa7ce02000000b00510d197e873mr11961416edv.31.1684861976964; \n\tTue, 23 May 2023 10:12:56 -0700 (PDT)",
        "Date": "Tue, 23 May 2023 19:12:43 +0200",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20230523-imx327-properties-v1-1-bd1e3933ec84@skidata.com>",
        "X-B4-Tracking": "v=1; b=H4sIAAr0bGQC/x3NQQqDMBCF4avIrDtgEmykVyldTOyoszCGGRFBv\n\tHtjlz+Pj3eCsQobvJoTlHcxWXMN92hgmClPjPKtDb71oe18QFmO4CMWXQvrVik+HUca+y4mclB\n\tdImNMSnmYb7mQbaz3UJRHOf5n7891/QArRjgifAAAAA==",
        "To": "libcamera-devel@lists.libcamera.org",
        "X-Mailer": "b4 0.12.2",
        "Subject": "[libcamera-devel] [PATCH] libcamera: camera_sensor: Add Sony IMX327\n\tsensor properties",
        "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>",
        "From": "Benjamin Bara via libcamera-devel <libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Benjamin Bara <bbara93@gmail.com>",
        "Cc": "Benjamin Bara <benjamin.bara@skidata.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "From: Benjamin Bara <benjamin.bara@skidata.com>\n\nCopy the sensor properties from Sony IMX290, as the IMX327 is a variant\nof it.\n\nSigned-off-by: Benjamin Bara <benjamin.bara@skidata.com>\n---\nHi,\n\nI forgot to add the properties when adding the helper last week.\nThese could also be squashed :)\n---\n src/libcamera/camera_sensor_properties.cpp | 4 ++++\n 1 file changed, 4 insertions(+)\n\n\n---\nbase-commit: e8fccaea46b9e545282cd37d54b1acb168608a46\nchange-id: 20230523-imx327-properties-61e7af857ba1\n\nBest regards,",
    "diff": "diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp\nindex fefb8afc..d35055d4 100644\n--- a/src/libcamera/camera_sensor_properties.cpp\n+++ b/src/libcamera/camera_sensor_properties.cpp\n@@ -103,6 +103,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen\n \t\t\t.unitCellSize = { 2900, 2900 },\n \t\t\t.testPatternModes = {},\n \t\t} },\n+\t\t{ \"imx327\", {\n+\t\t\t.unitCellSize = { 2900, 2900 },\n+\t\t\t.testPatternModes = {},\n+\t\t} },\n \t\t{ \"imx296\", {\n \t\t\t.unitCellSize = { 3450, 3450 },\n \t\t\t.testPatternModes = {},\n",
    "prefixes": [
        "libcamera-devel"
    ]
}