[{"id":23908,"web_url":"https://patchwork.libcamera.org/comment/23908/","msgid":"<20220715071929.GA3411283@pyrite.rasen.tech>","date":"2022-07-15T07:19:29","subject":"Re: [libcamera-devel] [PATCH 1/4] utils: rkisp1: Remove frames\n\tbefore starting capture","submitter":{"id":97,"url":"https://patchwork.libcamera.org/api/people/97/","name":"Nicolas Dufresne via libcamera-devel","email":"libcamera-devel@lists.libcamera.org"},"content":"Hi Laurent,\n\nOn Tue, Jun 21, 2022 at 12:06:55AM +0300, Laurent Pinchart via libcamera-devel wrote:\n> Delete frames previously captured before starting a new capture, to\n> avoid mixing old and new frames.\n> \n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\nReviewed-by: Paul Elder <paul.elder@ideasonboard.com>\n\n> ---\n>  utils/rkisp1/rkisp1-capture.sh | 1 +\n>  1 file changed, 1 insertion(+)\n> \n> diff --git a/utils/rkisp1/rkisp1-capture.sh b/utils/rkisp1/rkisp1-capture.sh\n> index 4d09f5d5f01b..d5ebe5b1d1ba 100755\n> --- a/utils/rkisp1/rkisp1-capture.sh\n> +++ b/utils/rkisp1/rkisp1-capture.sh\n> @@ -88,6 +88,7 @@ capture_frames() {\n>  \n>  \tif [[ $save_file -eq 1 ]]; then\n>  \t\tfile_op=\"--file=/tmp/frame-#.bin\"\n> +\t\trm -f /tmp/frame-*.bin\n>  \tfi\n>  \n>  \tyavta -c$frame_count -n5 -I -f $capture_format -s $capture_size \\","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 800ADBE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 15 Jul 2022 07:19:38 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0729B6330E;\n\tFri, 15 Jul 2022 09:19:38 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id ECE0F6330B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 15 Jul 2022 09:19:36 +0200 (CEST)","from pyrite.rasen.tech (softbank036240121080.bbtec.net\n\t[36.240.121.80])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 696EE993;\n\tFri, 15 Jul 2022 09:19:35 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1657869578;\n\tbh=LLVU7PwX19Gx3sVP3oBqSKO0UeAQRpD35XTE61dtnkY=;\n\th=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=hluRVBfkeAByioWdxFv5ByKRlQLRrd28DJGhFY7hJUpPoD6bkymZdIv8+OzbYVf03\n\tmDMzKjqH1W5aSQqxhcsK3PAuMVYa2s6XtIAQUMmOyPJEscFS0iX6BVd6e7ojj0gI2u\n\t3ejg0PmEYDLUzM2+K1BbPBp8F01KSVq5R824ygvHpnv9j1zCwPhiw/LBUHlVtGpvlx\n\te+e7hhGN2/FGgQhSHoTTRpbyShZsAb76badC/mPFyZPeO6FC9AY104TeDmSZD3nGZz\n\tm2iy4GP9HRk36eplvz5ovKz2ijYsa6dY31ZnFSuHxq9F69jqWwH67hwQxeINL8a5vk\n\t8RZCkCpvw2B+w==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1657869576;\n\tbh=LLVU7PwX19Gx3sVP3oBqSKO0UeAQRpD35XTE61dtnkY=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=nOPxwlV3wwkp7B1XhkBysnEy/zzqkvYt3Yd77KmsQzPgtrOrQUjTwFIWNeDu3mfj9\n\t8k7NZ/wmRvRkJq2u8oj99cvSYdpkSJrPJu6l70tY0clDZSSQ4GBz9/yq55I5NBt4GO\n\tG7MIbZzWMyUBZ8Zkaffkubt65TUu4QLAuCtB+Kcc="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"nOPxwlV3\"; dkim-atps=neutral","Date":"Fri, 15 Jul 2022 16:19:29 +0900","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Message-ID":"<20220715071929.GA3411283@pyrite.rasen.tech>","References":"<20220620210658.20288-1-laurent.pinchart@ideasonboard.com>\n\t<20220620210658.20288-2-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<20220620210658.20288-2-laurent.pinchart@ideasonboard.com>","Subject":"Re: [libcamera-devel] [PATCH 1/4] utils: rkisp1: Remove frames\n\tbefore starting capture","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":"Paul Elder via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"paul.elder@ideasonboard.com","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]