{"id":15541,"url":"https://patchwork.libcamera.org/api/covers/15541/?format=json","web_url":"https://patchwork.libcamera.org/cover/15541/","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":"<20220325090903.880311-1-naush@raspberrypi.com>","date":"2022-03-25T09:08:55","name":"[libcamera-devel,v5,0/8] Raspberry Pi: Efficient start/stop/start sequences","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/15541/mbox/","series":[{"id":2999,"url":"https://patchwork.libcamera.org/api/series/2999/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2999","date":"2022-03-25T09:08:55","name":"Raspberry Pi: Efficient start/stop/start sequences","version":5,"mbox":"https://patchwork.libcamera.org/series/2999/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/15541/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 80946C0F1B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 25 Mar 2022 09:09:08 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4B065604DB;\n\tFri, 25 Mar 2022 10:09:08 +0100 (CET)","from mail-wr1-x429.google.com (mail-wr1-x429.google.com\n\t[IPv6:2a00:1450:4864:20::429])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A272C60136\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Mar 2022 10:09:06 +0100 (CET)","by mail-wr1-x429.google.com with SMTP id w4so9926821wrg.12\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Mar 2022 02:09:06 -0700 (PDT)","from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:478c:773f:4734:d0bc])\n\tby smtp.gmail.com with ESMTPSA id\n\tc4-20020a056000184400b0020584c40778sm4915297wri.103.2022.03.25.02.09.05\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 25 Mar 2022 02:09:05 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1648199348;\n\tbh=2KpHAcuZcelKuPKtSk4W6xtCVQF10NEleoa85f4R3bM=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=OVW188p7JJRtnGg+aSNYDAwOUerTZTBkwM1A4pkjtXa+UMNhdjwfZdYUHAfwYaIeO\n\tu0lAf+GKKD/v59GkJnIZRvOs6xHtp9MXFska54RjS+2RUVqE2f11rH3bNJSpym8xeV\n\tja5nSWUx+EDXH+hAyuXp+0C0AsPV9Ic6RFHJx2GEaZQrm5J5bNqB7fxgoH1p/6ouIi\n\tmntAIUjHU/4wATbxb0aMNrR3MVlg+dnSJXOSF+9ZJYF6xzcY1AuG9ounFIqbo1HMxT\n\tj60bVtqRor7I4qNJQOLDmLflyJCojBz6Hlv2QguIn/Iyzp7mQ8wf9+UvxNPaW4AWKq\n\t6KaYmpW+AJc5w==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=jfENG018HePX2dXtXcDWNATA1SiEQ471Tf4uZsMY+7A=;\n\tb=Xqd67YFG6NuJynbyOeRVSMsgbmecjl3ReWHEKIkM8RRV6g0Ywj1uHk0kA5HW9vVdOZ\n\tq7dwzxaOGl9EWCr7RFeg/ggywh0Y6czCKIQ4fxmr6JJ8cm3H6ILF/5QNxZ/av2w8nLx/\n\ty3+huNaaUXTLorVn2lzulWqjN9h0VQ40cCc1gNGfuMZ/l0PCq/8Dp6I/nCrO1ZFf7sl5\n\tHdAC0fK8p7YfPQoh+8OYnrqCJsY8EslvYJQ2H7Ye3EVkL8nVhy1+Su/i7xZuQFJZZeGd\n\tHdlCKxN1JWVN2OMOQxe7iWitDSbbCUlgcxnL/pB7yG1GWw1TYLOyOCps0ecjBTMn/tmG\n\tLWew=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"Xqd67YFG\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=jfENG018HePX2dXtXcDWNATA1SiEQ471Tf4uZsMY+7A=;\n\tb=OjAa1VktUumzl7ne7XcjzUP4z3OhaE9zl7R3M0RSQJKTdK//vWnY6RBlaI4bMh/XYq\n\tCejezA6x+F55yDURUCxrZHzCsszi/ePa433l3hVSBcWf7FSmseafxXTireW3XkzceV/y\n\tCY5Dhs3eWbf0TLXEI0uQBb42NK85pi89Tw/fKXdfVHce0rTU1td4DyLPtYUKQ+S0nd0x\n\tBV7CblblikN04nhBAw9KsSM/buqsQFtF7RAxqjLUVtY2U8lTb/uZeCfQYxOOVEnFce/i\n\t19DPSmr/1T7PiTzw/JdEp+vYUi9RHZaWopADFo3iQKlbIdOq0qrAFzmBm6wX9mCGAwNE\n\t+M5g==","X-Gm-Message-State":"AOAM531vC3Lw5PterwrbBdZFSLDVmi2StN/9aijW3XtHbJZDeQtLF1Mp\n\tJqkE2NtyQwKzm+it/9++NVbCimxshe2qsg==","X-Google-Smtp-Source":"ABdhPJydmI/5xMDFysf6dBs/WUuA64dQHJuQVOEOJ+RFPAHabLHiyQfo8SztYotQUig7zbdPd1CeSQ==","X-Received":"by 2002:adf:d1eb:0:b0:205:a502:d2ff with SMTP id\n\tg11-20020adfd1eb000000b00205a502d2ffmr1912254wrd.125.1648199346098; \n\tFri, 25 Mar 2022 02:09:06 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 25 Mar 2022 09:08:55 +0000","Message-Id":"<20220325090903.880311-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v5 0/8] Raspberry Pi: Efficient\n\tstart/stop/start sequences","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>","From":"Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Naushir Patuck <naush@raspberrypi.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nVersion 5 of this series changes the following:\n\n- In patch 6/8 use -ESHUTDOWN instead of -EPERM.\n- In patch 6/8 reference the function directly in the doxygen comments.\n\nPatch 6/8 needs one more R-B tag, then this series should be ready for merging.\n\nRegards,\nNaush\n\nNaushir Patuck (8):\n  pipeline: raspberrypi: Avoid over-allocation for ISP Output 1\n  pipeline: raspberrypi: Move freeBuffers() to the RPiCameraData class\n  pipeline: raspberrypi: Free buffers in the RPiCamera destructor and\n    re-configure\n  pipeline: raspberrypi: Repurpose RPi::Stream::reset()\n  libcamera: v4l2_videodevice: Better tracking of the device state\n  libcamera: v4l2_videodevice: Do not allow buffer queueing in stopping\n    state\n  libcamera: v4l2_videodevice: Empty the V4L2 buffer cache on\n    streamOff()\n  test: Test V4L2BufferCache::isEmpty() member function\n\n include/libcamera/internal/v4l2_videodevice.h |  4 +-\n .../pipeline/raspberrypi/raspberrypi.cpp      | 56 ++++++++++++-------\n .../pipeline/raspberrypi/rpi_stream.cpp       | 13 ++---\n .../pipeline/raspberrypi/rpi_stream.h         |  2 +-\n src/libcamera/v4l2_videodevice.cpp            | 34 +++++++++--\n test/v4l2_videodevice/buffer_cache.cpp        | 36 ++++++++++++\n 6 files changed, 112 insertions(+), 33 deletions(-)"}