{"id":16294,"url":"https://patchwork.libcamera.org/api/patches/16294/?format=json","web_url":"https://patchwork.libcamera.org/patch/16294/","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":"<20220620210658.20288-2-laurent.pinchart@ideasonboard.com>","date":"2022-06-20T21:06:55","name":"[libcamera-devel,1/4] utils: rkisp1: Remove frames before starting capture","commit_ref":"695304c43f4e468eef24eb23920d148044dc15eb","pull_url":null,"state":"accepted","archived":false,"hash":"26d0592f29264442b55ee99ae635eeacef08d3d2","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/16294/mbox/","series":[{"id":3197,"url":"https://patchwork.libcamera.org/api/series/3197/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3197","date":"2022-06-20T21:06:54","name":"utils: rkisp1: Miscellaneous capture script updates","version":1,"mbox":"https://patchwork.libcamera.org/series/3197/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16294/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16294/checks/","tags":{},"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 2B1FEBD808\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 20 Jun 2022 21:07:22 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 299BB65636;\n\tMon, 20 Jun 2022 23:07:20 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CBE7F65632\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 20 Jun 2022 23:07:17 +0200 (CEST)","from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6389B104\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 20 Jun 2022 23:07:17 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1655759240;\n\tbh=0JIyDhQhxEerDqxhDQkeUopl/nxkgDfJJfIfF2OYUiQ=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=vTyYJhQ73JbfNJxrO7PQEOYcVfCRdU9nYJkN1c7yQ0TKe2/WdNXYmTH7Ml99C8Xi8\n\tewOuQ+9T7Pu0AqYlAN7fE25KIDrQ4jZmFSd+eUFbLhCzblD7K/lNco/YwIGG4Z5gP7\n\t1ZGeTsmqT0d1n17LMa352kHIY/Bg47QxszscDoI8au1VM0XJdiGOtHRTnIumdtSxzY\n\tjxLHI65nCXPUilT7JkeadiYTprQIlEfpnVqs9ZoZDTQoHN6mYlYeWLzASBUR4ydOS6\n\tg9+gqEUJtKhHcmENytyxYjXZmAKxGaB2Cc9f3/Dep1g02SYRmtUTIHSwDuv5Qt/lTz\n\t0ICDikSN6Q2QQ==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1655759237;\n\tbh=0JIyDhQhxEerDqxhDQkeUopl/nxkgDfJJfIfF2OYUiQ=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=ueX+cMwRjMjrim2ULLmFtQ3l97R9ATd2oTOO6vOjmh+R0k3XERQsvravmRUdb+ZQK\n\t2RVk1cxthZRxjXXfh0OJZFtATj8d8KtrDKrcG9ijEwbz0Kieagn01fPzJme4I11pJn\n\tiIgjrvim2Ozs8VmUwJOs5jj5YrKMW+fVDWOiErdw="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"ueX+cMwR\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 21 Jun 2022 00:06:55 +0300","Message-Id":"<20220620210658.20288-2-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.35.1","In-Reply-To":"<20220620210658.20288-1-laurent.pinchart@ideasonboard.com>","References":"<20220620210658.20288-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 1/4] utils: rkisp1: Remove frames before\n\tstarting 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":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Delete frames previously captured before starting a new capture, to\navoid mixing old and new frames.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/rkisp1/rkisp1-capture.sh | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/utils/rkisp1/rkisp1-capture.sh b/utils/rkisp1/rkisp1-capture.sh\nindex 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 \\\n","prefixes":["libcamera-devel","1/4"]}