Show a patch.

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

{
    "id": 10653,
    "url": "https://patchwork.libcamera.org/api/patches/10653/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/10653/",
    "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": "<20201212004149.158801-1-hiroh@chromium.org>",
    "date": "2020-12-12T00:41:47",
    "name": "[libcamera-devel,v8,1/3] android: camera_device: Introduce Camera3StreamConfig",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b073201fd8ea38af6208cb75c9aa33af06d4daff",
    "submitter": {
        "id": 63,
        "url": "https://patchwork.libcamera.org/api/people/63/?format=api",
        "name": "Hirokazu Honda",
        "email": "hiroh@chromium.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/10653/mbox/",
    "series": [
        {
            "id": 1528,
            "url": "https://patchwork.libcamera.org/api/series/1528/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1528",
            "date": "2020-12-12T00:41:49",
            "name": "[libcamera-devel,v8,1/3] android: camera_device: Introduce Camera3StreamConfig",
            "version": 8,
            "mbox": "https://patchwork.libcamera.org/series/1528/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/10653/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/10653/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 9655FBD808\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat, 12 Dec 2020 01:39:36 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id EA6C5746F0;\n\tSat, 12 Dec 2020 02:39:35 +0100 (CET)",
            "from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com\n\t[IPv6:2607:f8b0:4864:20::e44])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2DAC968053\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 12 Dec 2020 02:39:34 +0100 (CET)",
            "by mail-vs1-xe44.google.com with SMTP id u7so5832440vsg.11\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 11 Dec 2020 17:39:34 -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\tx188sm11558534pfd.43.2020.12.11.16.41.53\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 11 Dec 2020 16:41:54 -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=\"Ug7GFNaU\"; 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=Ug7GFNaULEi4oG30PMsnK/eyrOHcIFDTSIRfDOiizhmJyK/MQdn8WsY2/IDczxwlUF\n\talTg8vMvUL32Tc24ex3EpyI8HWM6Mw/v6UFx7NeSwx7YkCNGGdHCs7df3AUGmg/G0Ai8\n\tPAW5PSaLpFLtzs01XcZII/eBH863R3MHKeyMc=",
        "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=s8gvBV/VS1PvMbn1NpSajbIlHeE4WdUT9CLxy5Ki5FNFaByivfplRf9lwye+0RFIKQ\n\tHwyDxp7u2Xm3gM9PF9nIcuD8bq/eX9SzRxS8yhOvzMQGdy1gb2sDSsvdcPo6uGKWh5JC\n\thYam7Ikh7Zt1B0GeSZJuOjz0PZiINkEM6RCATxdtCZ1BnocV8I3eDV7paHanuJcjIiG1\n\t0DXUhFHU59D/4SF7sR1JObW7cXgUik/KQLfL+dUtWE2gM1ly0ax9qmMgRADW6lp/d5vb\n\ttLIMiJz0njjGLFEza4EtqleZzHeU/84OTZyzxqlRN+EvZ6csCJTWH4gA2SxKGcMv/b2G\n\tMmMQ==",
        "X-Gm-Message-State": "AOAM533gzNEnfyZ215WbFKFwJegAj+KKHL7W68+JgGCe//scMZAADDVG\n\tLsN2vG1cMAy2SPjJy1lvFgOxysjoFoqZBdJI",
        "X-Google-Smtp-Source": "ABdhPJw8YAblTWSgrWrKpkOlOyc7SRF30lQq+Te4oWLHj1nu6G0thLtK+xqQtZboMfANrFlFyosNyA==",
        "X-Received": "by 2002:a17:902:a986:b029:db:cb2b:8bdb with SMTP id\n\tbh6-20020a170902a986b02900dbcb2b8bdbmr3615449plb.40.1607733715096; \n\tFri, 11 Dec 2020 16:41:55 -0800 (PST)",
        "From": "Hirokazu Honda <hiroh@chromium.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat, 12 Dec 2020 00:41:47 +0000",
        "Message-Id": "<20201212004149.158801-1-hiroh@chromium.org>",
        "X-Mailer": "git-send-email 2.29.2.576.ga3fc446d84-goog",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v8 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",
        "v8",
        "1/3"
    ]
}