Patch Detail
Show a patch.
GET /api/1.1/patches/9335/?format=api
{ "id": 9335, "url": "https://patchwork.libcamera.org/api/1.1/patches/9335/?format=api", "web_url": "https://patchwork.libcamera.org/patch/9335/", "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": "<20200817202629.4277-5-email@uajain.com>", "date": "2020-08-17T20:26:40", "name": "[libcamera-devel,v3,4/5] android: camera_device: Add a getter to get libcamera::Camera pointer", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "bf67eaf2b75959fa35f17dca29291fc7ae85e879", "submitter": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/people/1/?format=api", "name": "Umang Jain", "email": "email@uajain.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/9335/mbox/", "series": [ { "id": 1224, "url": "https://patchwork.libcamera.org/api/1.1/series/1224/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1224", "date": "2020-08-17T20:26:35", "name": "android: Camera hotplug support", "version": 3, "mbox": "https://patchwork.libcamera.org/series/1224/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/9335/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/9335/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 B9D17BD87F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 17 Aug 2020 20:26:45 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7C9E661AC0;\n\tMon, 17 Aug 2020 22:26:45 +0200 (CEST)", "from o1.f.az.sendgrid.net (o1.f.az.sendgrid.net [208.117.55.132])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7934860384\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 17 Aug 2020 22:26:41 +0200 (CEST)", "by filterdrecv-p3iad2-5c98798b7-lvbn8 with SMTP id\n\tfilterdrecv-p3iad2-5c98798b7-lvbn8-19-5F3AE7FF-74\n\t2020-08-17 20:26:40.122843818 +0000 UTC m=+359830.605448517", "from mail.uajain.com (unknown)\n\tby ismtpd0007p1hnd1.sendgrid.net (SG) with ESMTP id\n\tMapXxGhwR6qQ-bIEPbv7MA for <libcamera-devel@lists.libcamera.org>;\n\tMon, 17 Aug 2020 20:26:39.777 +0000 (UTC)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=uajain.com header.i=@uajain.com\n\theader.b=\"s8bJ01pV\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=uajain.com;\n\th=from:subject:in-reply-to:references:mime-version:to:cc:\n\tcontent-transfer-encoding:content-type;\n\ts=s1; bh=cIVNxcy+fK6YvXjgadEN8IFcTyvhDnKtXbKusmkI7k8=;\n\tb=s8bJ01pVqkiQ0yP+orcOowLsgJjmD6V6GyPwW8f4NabEIlar6RyzzVYYN5sUuU5Iw9CE\n\t8wpiAwXeZuki3mGYrY41krC5y59saDGp5YXay8nr3AL/tKeTAD1lObjdFmlaUlLWSYfa8o\n\taJMC7oTp43tEFlxAQQPRZqEHp6tg107hA=", "From": "Umang Jain <email@uajain.com>", "Date": "Mon, 17 Aug 2020 20:26:40 +0000 (UTC)", "Message-Id": "<20200817202629.4277-5-email@uajain.com>", "In-Reply-To": "<20200817202629.4277-1-email@uajain.com>", "References": "<20200817202629.4277-1-email@uajain.com>", "Mime-Version": "1.0", "X-SG-EID": "1Q40EQ7YGir8a9gjSIAdTjhngY657NMk9ckeo4dbHZDiOpywc/L3L9rFqlwE4KPc+mYHlj5pFD2lBxsaGLVsOL1TgK5daouuYLtNg7G7Lv529LYZX0a3OuNg7qZxgv5icBNmqAUfRPAuftyRKSUtqeSoQMzh8fg72eG6PSgV9daRPgWrZJWO28TCd/UHghOfZ2DUfkc8l/OuPrYh6FbWewiU4EksKdQZmv4TPdVLnkp9dKmyZOoGi8MxvlYC3hLMiba0RnC605MvqQ8ldMlxMw==", "To": "libcamera-devel@lists.libcamera.org", "Subject": "[libcamera-devel] [PATCH v3 4/5] android: camera_device: Add a\n\tgetter to get libcamera::Camera pointer", "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": "Add a public member function to get the libcamera::Camera pointer\nassociated with the CameraDevice. This will help to find the CameraDevice\nobject in CameraHalManager when the hotplug support is extended in the\nandroid layer.\n\nSigned-off-by: Umang Jain <email@uajain.com>\n---\n src/android/camera_device.h | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/src/android/camera_device.h b/src/android/camera_device.h\nindex b149043..7908bc0 100644\n--- a/src/android/camera_device.h\n+++ b/src/android/camera_device.h\n@@ -57,6 +57,7 @@ public:\n \n \tunsigned int id() const { return id_; }\n \tcamera3_device_t *camera3Device() { return &camera3Device_; }\n+\tconst libcamera::Camera *camera() { return camera_.get(); }\n \n \tint facing() const { return facing_; }\n \tint orientation() const { return orientation_; }\n", "prefixes": [ "libcamera-devel", "v3", "4/5" ] }