{"id":11754,"url":"https://patchwork.libcamera.org/api/covers/11754/?format=json","web_url":"https://patchwork.libcamera.org/cover/11754/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20210329022604.110201-1-hiroh@chromium.org>","date":"2021-03-29T02:26:02","name":"[libcamera-devel,RFC,0/2] Enable handling a number of capture requests","submitter":{"id":63,"url":"https://patchwork.libcamera.org/api/people/63/?format=json","name":"Hirokazu Honda","email":"hiroh@chromium.org"},"mbox":"https://patchwork.libcamera.org/cover/11754/mbox/","series":[{"id":1857,"url":"https://patchwork.libcamera.org/api/series/1857/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1857","date":"2021-03-29T02:26:02","name":"Enable handling a number of capture requests","version":1,"mbox":"https://patchwork.libcamera.org/series/1857/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11754/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 67BFEC32EA\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 29 Mar 2021 02:26:16 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 92A676877D;\n\tMon, 29 Mar 2021 04:26:15 +0200 (CEST)","from mail-pf1-x430.google.com (mail-pf1-x430.google.com\n\t[IPv6:2607:f8b0:4864:20::430])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6CCEB602D2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Mar 2021 04:26:13 +0200 (CEST)","by mail-pf1-x430.google.com with SMTP id j25so8927337pfe.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 28 Mar 2021 19:26:13 -0700 (PDT)","from hiroh2.tok.corp.google.com\n\t([2401:fa00:8f:2:1db7:ae60:9288:b906])\n\tby smtp.gmail.com with ESMTPSA id\n\ta26sm10537879pff.149.2021.03.28.19.26.09\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSun, 28 Mar 2021 19:26:10 -0700 (PDT)"],"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=\"Woqb7EJN\"; 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=JSUyiiqR6F6TxKZwwwD8BxMUs7r861REaSUd4E0PGhU=;\n\tb=Woqb7EJNodk+FB/scckTpXUuEnnYhcQITPXArMdO0XH8by53IXQcFpR1S6uwGPfn8E\n\tj/UvUwArHIISBXzAg8KALzJO0w7V/r/g4kMyuHxowEW1TSBWa7jnbmizdkMv4LBXCiea\n\tCTca2+uTFcTatxBYN1aVa4Z1jNLyxG5VeJ56w=","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=JSUyiiqR6F6TxKZwwwD8BxMUs7r861REaSUd4E0PGhU=;\n\tb=UoeclumHrKwZorVMphGxHfmUBceoqCMywHazb7hzoHAXbqf+KTdPk80+qKwmazNOd2\n\tk+ypKvcKklFPDXmx+RCnOohnM9TBOzjBk/ZCITfDDYbbZPMb75LX1szCIhhLlwfSyz0x\n\tQHdeXu8lb6RAOlDIdmzmYkvZRdbAD7auwFZH9KHe9IMVVRK4fKqOWo1ZQ/0Tubt8YvOQ\n\tICn/WDC6isdt/XiYEvtQlLb2YX1e3Zvd5yb3rE69Hr/Y8R1wvieaWdl4qvDFjNtZxyUU\n\t31ooLUToz21vP4HnnoDWqK9RzQTNY9r7QR0mTTRO3uqTyqjyEbQg+pxQ8xB9/VuzGs4g\n\taBcA==","X-Gm-Message-State":"AOAM530PXDQczjcUOfi9q2TMyQucXgkyDCzYMO1cWQKBGxwKKdHI0y5j\n\t6AOFdIPWEm/ErxseZqiOIVPWJOy2SMBymg==","X-Google-Smtp-Source":"ABdhPJyCDM/SGGADaZuhGOQzEAbeh8rPpS8cXcCIYLmWM52JluPAa7OJwQrHNtGGo7AmHpy1V/6ScQ==","X-Received":"by 2002:a63:1e02:: with SMTP id\n\te2mr22472929pge.391.1616984771388; \n\tSun, 28 Mar 2021 19:26:11 -0700 (PDT)","From":"Hirokazu Honda <hiroh@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 29 Mar 2021 11:26:02 +0900","Message-Id":"<20210329022604.110201-1-hiroh@chromium.org>","X-Mailer":"git-send-email 2.31.0.291.g576ba9dcdaf-goog","MIME-Version":"1.0","Subject":"[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>","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":"Originally PipelineHandler discards capture requests if queueing\nfails with any reason. If a client queues a number of capture\nrequests for short time, queueing tends to fail due to a buffer\nshortage. In the case PipelineHandler should rather retry to\nqueue capture requests later.\nThis patch series enables PipelineHandler to handle a number of\ncapture requests by storing them on a buffer shortage failure and\nretrying to queue later.\n\nHirokazu 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--\n2.31.0.291.g576ba9dcdaf-goog"}