[{"id":15993,"web_url":"https://patchwork.libcamera.org/comment/15993/","msgid":"<20210329053120.wrlz62bnhmmniw7d@basti-TUXEDO-Book-XA1510>","date":"2021-03-29T05:31:20","subject":"Re: [libcamera-devel] [RFC PATCH 0/2] Enable handling a number of\n\tcapture requests","submitter":{"id":78,"url":"https://patchwork.libcamera.org/api/people/78/","name":"Sebastian Fricke","email":"sebastian.fricke@posteo.net"},"content":"Hey Hirokazu,\n\nOn 29.03.2021 11:26, Hirokazu Honda wrote:\n>Originally PipelineHandler discards capture requests if queueing\n>fails with any reason. If a client queues a number of capture\n>requests for short time, queueing tends to fail due to a buffer\n\ns/for short time/for a short time/\n\n>shortage. In the case PipelineHandler should rather retry to\n\ns/In the case/In that case/\n\n>queue capture requests later.\n>This patch series enables PipelineHandler to handle a number of\n>capture requests by storing them on a buffer shortage failure and\n\ns/on a/in case of a/\n\n>retrying to queue later.\n\nGreetings,\nSebastian\n\n>\n>Hirokazu Honda (2):\n>  libcamera: CameraData: Change queuedRequests_ type to std::dequeue\n>  libcamera: PipelineHandler: Retry queuing a capture request\n>\n> include/libcamera/internal/pipeline_handler.h |  6 +-\n> src/libcamera/pipeline_handler.cpp            | 61 ++++++++++++++++---\n> 2 files changed, 58 insertions(+), 9 deletions(-)\n>\n>--\n>2.31.0.291.g576ba9dcdaf-goog\n>_______________________________________________\n>libcamera-devel mailing list\n>libcamera-devel@lists.libcamera.org\n>https://lists.libcamera.org/listinfo/libcamera-devel","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 67537C32EF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 29 Mar 2021 05:31:24 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BB7A06877D;\n\tMon, 29 Mar 2021 07:31:23 +0200 (CEST)","from mout02.posteo.de (mout02.posteo.de [185.67.36.66])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6B953602D2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Mar 2021 07:31:22 +0200 (CEST)","from submission (posteo.de [89.146.220.130]) \n\tby mout02.posteo.de (Postfix) with ESMTPS id E46ED2400FB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Mar 2021 07:31:21 +0200 (CEST)","from customer (localhost [127.0.0.1])\n\tby submission (posteo.de) with ESMTPSA id 4F81Qd3kTJz6tmT;\n\tMon, 29 Mar 2021 07:31:21 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=posteo.net header.i=@posteo.net\n\theader.b=\"JuKAMBdo\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;\n\tt=1616995881; bh=2RsLZw+ZDZndgIAkUxgBUxAQUZjpo5ieqCTkdK2SmGY=;\n\th=Date:From:To:Cc:Subject:From;\n\tb=JuKAMBdoZzZQmL+WAo+Z+cDvtpLn75kuVa0IrW4tMswtv1QhCYK8s+keN6MoR94c2\n\to/87JRvgmiIC6hZb0X7STdufTbzyCo5omFUnicQK59PmCbivhNTuhTspPiYEJ8rNoy\n\tjS6SBi+G39zrmLV1AK6Q5nC+8We1iWEzy98cOluCm6bWgkKaJ0JhYr+84LTA24gDX3\n\tKvb9DLjTfNQAFyPqOP8iPtxegphPCvcICowyqIKmaw0qjRIEEn89FbO3hEWLvaEkDY\n\tC9DDAoVSFNRBBciEQ7WMlJpGwsorFzQTHgcN3wae8/4sTvE+upQEFTolw8n5/MW5iY\n\t6nSYYOlCUG4UQ==","Date":"Mon, 29 Mar 2021 07:31:20 +0200","From":"Sebastian Fricke <sebastian.fricke@posteo.net>","To":"Hirokazu Honda <hiroh@chromium.org>","Message-ID":"<20210329053120.wrlz62bnhmmniw7d@basti-TUXEDO-Book-XA1510>","References":"<20210329022604.110201-1-hiroh@chromium.org>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20210329022604.110201-1-hiroh@chromium.org>","Subject":"Re: [libcamera-devel] [RFC PATCH 0/2] Enable handling a number of\n\tcapture requests","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>","Cc":"libcamera-devel@lists.libcamera.org","Content-Transfer-Encoding":"7bit","Content-Type":"text/plain; charset=\"us-ascii\"; Format=\"flowed\"","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]