Patch Detail
Show a patch.
GET /api/patches/10639/?format=api
{ "id": 10639, "url": "https://patchwork.libcamera.org/api/patches/10639/?format=api", "web_url": "https://patchwork.libcamera.org/patch/10639/", "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": "<20201211060315.2637333-1-hiroh@chromium.org>", "date": "2020-12-11T06:03:13", "name": "[libcamera-devel,v6,1/3] android: camera_device: Introduce Camera3StreamConfig", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "f1a36ff2023b3d3a17c9318e34df3c8c6d267126", "submitter": { "id": 63, "url": "https://patchwork.libcamera.org/api/people/63/?format=api", "name": "Hirokazu Honda", "email": "hiroh@chromium.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/10639/mbox/", "series": [ { "id": 1524, "url": "https://patchwork.libcamera.org/api/series/1524/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1524", "date": "2020-12-11T06:03:13", "name": "[libcamera-devel,v6,1/3] android: camera_device: Introduce Camera3StreamConfig", "version": 6, "mbox": "https://patchwork.libcamera.org/series/1524/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/10639/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/10639/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 F3DE8BD80A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 11 Dec 2020 06:03:25 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C399F634A0;\n\tFri, 11 Dec 2020 07:03:25 +0100 (CET)", "from mail-pg1-x544.google.com (mail-pg1-x544.google.com\n\t[IPv6:2607:f8b0:4864:20::544])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E732D60321\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 11 Dec 2020 07:03:23 +0100 (CET)", "by mail-pg1-x544.google.com with SMTP id w4so6389350pgg.13\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 10 Dec 2020 22:03:23 -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\tm77sm9207503pfd.105.2020.12.10.22.03.20\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 10 Dec 2020 22:03:21 -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=\"dE6B2AqW\"; 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=pvAznWDlRj1L7vV1SzIcC53gifNN4iz5OzO2gNFdbFk=;\n\tb=dE6B2AqWWsYFIB4blLHBNzXRIwrCiNpFFyi4XT9xo0Zpg6M7/GrGIfoZcBFXXMRwdU\n\tLmOH+AdgjqY5eaMoCRMR8YHcyDs2EeKycvNJTm1SCNQsmYFUr1erO79XHQu/1hX76qlD\n\tNUb7znjS1/BfeubKn9O3ftOiqy4zo7SCoyV7c=", "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=pvAznWDlRj1L7vV1SzIcC53gifNN4iz5OzO2gNFdbFk=;\n\tb=tF1TK0jmKWZeRPUKkV7AW+/XK1y5EhJ1ZfmqG4TqWU9EUtLr+DHmJUK6sSAWMl0H/+\n\tgnoYwWmYb3k2muDaKY59f/IIiNk53kUClLFTMarYlQG0YpQlsbWKfzBJuea6hHxLhntZ\n\tNbn4vxSG3gRaN+1mdYu/VxO9desK9Dk5UvOlCX0a6kps650uD+8OA10uD6jCFdSO2avV\n\ttmKW8iOvQGKrn+KXcgvhBQareGGSQ4rL5misglJcSTZ5uTKEqVKyzUedzbx4p2R9mwih\n\ty6D+ViqXsa/a/C+WFyOs/0Hly6j7vIgE6xgePB73E4FNceuz9kGpYIUV29uhN9/c2XuR\n\tBl8Q==", "X-Gm-Message-State": "AOAM530n1XCMWyEXpyx72hPQZ1Si3d7rt1H3yDpLs47psw99KAXZnt4u\n\tOr6IW1Zh5q+Xe6AQ/4CplVBrmcG9r6CJ8g==", "X-Google-Smtp-Source": "ABdhPJwH10M1uvVxHoEJmxdExAfxHIGPuyvSLb4wZeckKCkxM+LGxzUXLCY8fc2OYQiEFWheKjgj5Q==", "X-Received": "by 2002:aa7:93cf:0:b029:19d:e287:b02b with SMTP id\n\ty15-20020aa793cf0000b029019de287b02bmr817386pff.66.1607666602006; \n\tThu, 10 Dec 2020 22:03:22 -0800 (PST)", "From": "Hirokazu Honda <hiroh@chromium.org>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 11 Dec 2020 06:03:13 +0000", "Message-Id": "<20201211060315.2637333-1-hiroh@chromium.org>", "X-Mailer": "git-send-email 2.29.2.576.ga3fc446d84-goog", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH v6 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..58ff329c 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 associated 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", "v6", "1/3" ] }