Show a patch.

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

{
    "id": 10642,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/10642/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/10642/",
    "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": "<20201211095336.40500-1-hiroh@chromium.org>",
    "date": "2020-12-11T09:53:34",
    "name": "[libcamera-devel,v7,1/3] android: camera_device: Introduce Camera3StreamConfig",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b073201fd8ea38af6208cb75c9aa33af06d4daff",
    "submitter": {
        "id": 63,
        "url": "https://patchwork.libcamera.org/api/1.1/people/63/?format=api",
        "name": "Hirokazu Honda",
        "email": "hiroh@chromium.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/10642/mbox/",
    "series": [
        {
            "id": 1525,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1525/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1525",
            "date": "2020-12-11T09:53:34",
            "name": "[libcamera-devel,v7,1/3] android: camera_device: Introduce Camera3StreamConfig",
            "version": 7,
            "mbox": "https://patchwork.libcamera.org/series/1525/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/10642/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/10642/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 11A6CBD80A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 11 Dec 2020 09:53:48 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8325363500;\n\tFri, 11 Dec 2020 10:53:47 +0100 (CET)",
            "from mail-pl1-x644.google.com (mail-pl1-x644.google.com\n\t[IPv6:2607:f8b0:4864:20::644])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D497A600FF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 11 Dec 2020 10:53:45 +0100 (CET)",
            "by mail-pl1-x644.google.com with SMTP id p6so4328274plr.7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 11 Dec 2020 01:53:45 -0800 (PST)",
            "from hiroh.c.googlers.com.com\n\t(128.141.236.35.bc.googleusercontent.com. [35.236.141.128])\n\tby smtp.gmail.com with ESMTPSA id\n\ta17sm8363364pgw.80.2020.12.11.01.53.40\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 11 Dec 2020 01:53:42 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"JZVHIClT\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; h=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=IyosWRtwBOSokEIMBoa511MH2JrPPvE2nFDDSk4QwmU=;\n\tb=JZVHIClT7nfpNFz0lbPTHX3uEeyN4DQ0YIkIoJ1lqiEV4L/hvxC9mfTq8mUFojVIxr\n\tJvbZa/qGeaNYBqKBPrTwFNZ3sQQQZQ2IowK7R6/2C1zQUvivF9FxzSYJO4SHjYqbBv1u\n\tfcQxpt7e/hLcKpwH5C7aaY1e6xBK0j67kesMU=",
        "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:mime-version\n\t:content-transfer-encoding;\n\tbh=IyosWRtwBOSokEIMBoa511MH2JrPPvE2nFDDSk4QwmU=;\n\tb=TPparQ1Dlg+AfrxlIpvy+6aNkXjTdbQBCpy7xPO8jBVstTn5Ah3VIuMHFNOrD0K1Ry\n\tGVQUiS4Lhxuvmlgc4irKj7Tt297Cvkhp6bHxghAsWtP8wb2/Kqhb0/E3FIinOqG/jQ2y\n\t8ngDKHtNfeGxDtJsBRDQBf7afKNd1JK/DsCjlL4fStSVB1iiYNsju4z5reEO3gwqfjOc\n\tRxLwxKJpmAC/VRqnOni9ZtQzj5xtIzlG7KSvXGcZJW1Ox0OvXGXl0ti3BW1Vy1scmG9w\n\t8kK4pj3adnYvkGP+IP9312mqvRmDMyrZu2oN/cFicRcfmj8ED9+9o1qRFEmg0HJjOkUx\n\ttaVA==",
        "X-Gm-Message-State": "AOAM530G8CYR9h/cuuPzE+vzuf3q6352qoU7BL6y1cO9akjQO1O36d1r\n\tfb4t2gc/o61gVdtX87C4cMIbvxGK6XFF0gjx",
        "X-Google-Smtp-Source": "ABdhPJz9tzXsGGkJRpdQM8Fn5XIqhijrdVwu7szQEglz+KyQO30F6zePtTvsdSfGxtFZut8o30TxYA==",
        "X-Received": "by 2002:a17:90b:1294:: with SMTP id\n\tfw20mr12206107pjb.187.1607680423088; \n\tFri, 11 Dec 2020 01:53:43 -0800 (PST)",
        "From": "Hirokazu Honda <hiroh@chromium.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 11 Dec 2020 09:53:34 +0000",
        "Message-Id": "<20201211095336.40500-1-hiroh@chromium.org>",
        "X-Mailer": "git-send-email 2.29.2.576.ga3fc446d84-goog",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v7 1/3] android: camera_device: Introduce\n\tCamera3StreamConfig",
        "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": "Camera3StreamConfig is a new class to store camera3_stream and\ntypes with associated StreamConfiguration.\n\nSigned-off-by: Hirokazu Honda <hiroh@chromium.org>\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Umang Jain <email@uajain.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/android/camera_device.cpp | 16 ++++++++++++++++\n 1 file changed, 16 insertions(+)\n\n--\n2.29.2.576.ga3fc446d84-goog",
    "diff": "diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp\nindex 872c7b18..f4a6fb6b 100644\n--- a/src/android/camera_device.cpp\n+++ b/src/android/camera_device.cpp\n@@ -128,6 +128,22 @@ const std::map<int, const Camera3Format> camera3FormatsMap = {\n \t},\n };\n\n+/*\n+ * \\struct Camera3StreamConfig\n+ * \\brief Data to store StreamConfiguration associated with camera3_stream(s).\n+ * \\var streams List of the pairs of a stream requested by Android HAL client\n+ * and CameraStream::Type associated with the stream.\n+ * \\var config StreamConfiguration for streams.\n+ */\n+struct Camera3StreamConfig {\n+\tstruct Camera3Stream {\n+\t\tcamera3_stream_t *stream;\n+\t\tCameraStream::Type type;\n+\t};\n+\n+\tstd::vector<Camera3Stream> streams;\n+\tStreamConfiguration config;\n+};\n } /* namespace */\n\n LOG_DECLARE_CATEGORY(HAL)\n",
    "prefixes": [
        "libcamera-devel",
        "v7",
        "1/3"
    ]
}