{"id":13969,"url":"https://patchwork.libcamera.org/api/1.1/covers/13969/?format=json","web_url":"https://patchwork.libcamera.org/cover/13969/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20210928162536.227475-1-umang.jain@ideasonboard.com>","date":"2021-09-28T16:25:33","name":"[libcamera-devel,v2,0/3] Camera3RequestDescriptors std::map => std::queue","submitter":{"id":86,"url":"https://patchwork.libcamera.org/api/1.1/people/86/?format=json","name":"Umang Jain","email":"umang.jain@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/13969/mbox/","series":[{"id":2583,"url":"https://patchwork.libcamera.org/api/1.1/series/2583/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2583","date":"2021-09-28T16:25:33","name":"Camera3RequestDescriptors std::map => std::queue","version":2,"mbox":"https://patchwork.libcamera.org/series/2583/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/13969/comments/","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 4573BC3243\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 28 Sep 2021 16:25:49 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9EDE869191;\n\tTue, 28 Sep 2021 18:25:48 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3169469188\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 28 Sep 2021 18:25:47 +0200 (CEST)","from perceval.ideasonboard.com (unknown\n\t[IPv6:2405:204:8500:b152:4879:ab55:a9fb:2b15])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id AB5253F1;\n\tTue, 28 Sep 2021 18:25:45 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"d4dW+fFd\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1632846346;\n\tbh=UtXIBlrX0KddaTJYdXckW5QWO8yaiocZxVhNSPHMFms=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=d4dW+fFdTYVfCiModNFYqEwp7VnylEAlN0yhCiQC6svlqyIIYnLuAlKjzeSi3n8jw\n\t0bgdF7VzVWeYFqEWj0ehZReP46ETOfXzIpNSHtJmRrEgRlGJXExT93CMIWKKaAP8o8\n\t/gfwzkgOpJ6LrJmR5tQ4D+lmwrpgCgBbGy21gbV0=","From":"Umang Jain <umang.jain@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 28 Sep 2021 21:55:33 +0530","Message-Id":"<20210928162536.227475-1-umang.jain@ideasonboard.com>","X-Mailer":"git-send-email 2.31.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 0/3] Camera3RequestDescriptors std::map\n\t=> std::queue","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"As per the extended design discussion for libcamera HAL, this series\naddresses the part I of the design that will lead to new iterations\nfor async post-processor eventually.\n\nThe series mainly ports storage of Camera3RequestDescriptor from\nstd::map => queue while fixing out-of-order request completion from\nabortRequest(). The series also accounts for a singular location to\nsend back capture results to the framework (find sendCaptureResults()).\n\nThe series has been validated on CTS: 230 / 231\n(carrying [PATCH v3 0/1] android: Wait on acquisition fences in\nCameraStream)\n\n\\wip: Checkstyle isn't happy with 2/3's camera_device.h, not sure why! \n\nChanges in v2:\n- Use queue instead of deque\n- Fix a race between abortRequest() and queuing a descriptor in 2/3\n- address general comments in v1 review.\n\nUmang Jain (3):\n  android: camera_worker: Use Camera3RequestDescriptor as cookie\n  android: camera_device: Transform descriptors_ map to queue\n  android: camera_device: Send capture results by inspecting the queue\n\n src/android/camera_device.cpp | 133 +++++++++++++++++++++-------------\n src/android/camera_device.h   |  18 ++++-\n src/android/camera_worker.cpp |   4 +-\n src/android/camera_worker.h   |   3 +-\n 4 files changed, 101 insertions(+), 57 deletions(-)"}