Show a patch.

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

{
    "id": 10606,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/10606/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/10606/",
    "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": "<20201208034234.2501401-1-hiroh@chromium.org>",
    "date": "2020-12-08T03:42:31",
    "name": "[libcamera-devel,v4,1/3] android: camera_device: Introduce Camera3StreamConfig",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "3dcc4f848ab81aec7671faf591fc9d13fc1a8ec8",
    "submitter": {
        "id": 63,
        "url": "https://patchwork.libcamera.org/api/1.1/people/63/?format=api",
        "name": "Hirokazu Honda",
        "email": "hiroh@chromium.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/10606/mbox/",
    "series": [
        {
            "id": 1513,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1513/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1513",
            "date": "2020-12-08T03:42:31",
            "name": "[libcamera-devel,v4,1/3] android: camera_device: Introduce Camera3StreamConfig",
            "version": 4,
            "mbox": "https://patchwork.libcamera.org/series/1513/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/10606/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/10606/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 7FAEBBDB20\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  8 Dec 2020 03:43:16 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4A0AC67E6E;\n\tTue,  8 Dec 2020 04:43:16 +0100 (CET)",
            "from mail-pl1-x631.google.com (mail-pl1-x631.google.com\n\t[IPv6:2607:f8b0:4864:20::631])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 84EC360323\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  8 Dec 2020 04:43:15 +0100 (CET)",
            "by mail-pl1-x631.google.com with SMTP id u4so596584plr.12\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 07 Dec 2020 19:43:15 -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\ty23sm9028227pfc.178.2020.12.07.19.43.12\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 07 Dec 2020 19:43:13 -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=\"Fh7yX1cf\"; 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=wfuHnw/o1BEKzZB+FNrcaj5EYzRpluI2L6jqwUrfoeU=;\n\tb=Fh7yX1cfyZkBmBjFAgeAtsTr9QmP5JQO8wDwBYnqpPalWiuNvgmm5fnk318PkBwgyg\n\tWa8Yinx1TVs0W2nNT19AhN8/S+69+LK6btqtq8EPc+5KUvZnt/5my/VQpd/uX4mmIoaP\n\t9k+/BBgTaAWm0/Q0uoqLeV+BalCfxMNdrsKkg=",
        "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=wfuHnw/o1BEKzZB+FNrcaj5EYzRpluI2L6jqwUrfoeU=;\n\tb=QD+J5/GgTjM1it372jaIbE5gZY+3e9NQKt/7pScef4uyELKEVDhvSqAz17MZJ/Fp3n\n\tACRy+ClL0Yj3mKSUz/PNrbn2ZixhVoYBFg5678OU+8NUfp/8PSQUZD8qHmo8YAMtJKVp\n\tbDimrghfmx1+Xfs02CqAALXdIdcsnwqep/zmIXmNWFTZHXjGgZWgXzGH/nGgridNDCNW\n\tVk1o8p81l+3pheM3D9ChH7O19uY7jZypxZxEwbbVg/A/r2igmey8Lmgg30gmtl+tJkA+\n\tdcBAMa1CGWnYLk0PphhXTtZyzsaT6oZtKyA+dHYzQTslgRmxcfIUKneq17cXx6i5hhdR\n\t5SmQ==",
        "X-Gm-Message-State": "AOAM533qMFGzrbWcoN8wTbraKHK5lWacPKlelHdFs6fKtDSfmnX8UXG+\n\t47Ig2ljSCmJ+nXkbWcu/K/3oUKMyB9f+PDpC",
        "X-Google-Smtp-Source": "ABdhPJwzF3QI0lpZV2Daha3GIFSq/0WBHhhJT/Y5K1ypJ34IIBr+cKU9pqQTXVpGhBFNBaNajC/UHw==",
        "X-Received": "by 2002:a17:902:8649:b029:d9:fcd9:522a with SMTP id\n\ty9-20020a1709028649b02900d9fcd9522amr19542708plt.83.1607398993898; \n\tMon, 07 Dec 2020 19:43:13 -0800 (PST)",
        "From": "Hirokazu Honda <hiroh@chromium.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue,  8 Dec 2020 03:42:31 +0000",
        "Message-Id": "<20201208034234.2501401-1-hiroh@chromium.org>",
        "X-Mailer": "git-send-email 2.29.2.576.ga3fc446d84-goog",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v4 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>\n---\n src/android/camera_device.cpp | 12 ++++++++++++\n 1 file changed, 12 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 675af570..09269d95 100644\n--- a/src/android/camera_device.cpp\n+++ b/src/android/camera_device.cpp\n@@ -128,6 +128,18 @@ 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 streams requested by Android HAL client.\n+ * \\var types List of CameraStream::Type associated with streams.\n+ * \\var config StreamConfiguration for streams.\n+ */\n+struct Camera3StreamConfig {\n+\tstd::vector<camera3_stream_t*> streams;\n+\tstd::vector<CameraStream::Type> types;\n+\tStreamConfiguration config;\n+};\n } /* namespace */\n\n LOG_DECLARE_CATEGORY(HAL)\n",
    "prefixes": [
        "libcamera-devel",
        "v4",
        "1/3"
    ]
}