From patchwork Fri Aug 5 18:18:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 16992 X-Patchwork-Delegate: umang.jain@ideasonboard.com Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 5D189BE173 for ; Fri, 5 Aug 2022 18:19:09 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 223F463330; Fri, 5 Aug 2022 20:19:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1659723549; bh=qFO9CDiF3ZTVw/nIY2glsWHEG/EBVrbg07sl2+XwL1U=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ToJ2xDnv3t/Nz/q57AEdwx/BstI8qjHWkMMJ2uINFYBA2vj9W8JUZiB8k5/fqoBJ4 EvVAhMJR7se6WAjciCfysYJz9FLlLBdznM9l0Pb38Ryqj4V85o57v1DjWzxYdNexbs 87fTiKIxFTCOmCYQNZmLynk79zZdgE1mOSY+csMW5avBE8UABU40QZgw6lGLR69skj M4CH4fx2L/jeZx4nxpLg3OV34uHuL60IVsd+cu7R0+jenRlJXEA5PqrpEIpwsLAjGA OL+awNstR7MNa7WWMCQYOKEQWcCjFfgpdntgdvrngrJU4JylM6Oc41uifeIgkeaWRi A+K7fCJqL4pSw== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 584A6603F0 for ; Fri, 5 Aug 2022 20:19:07 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="t8IeMJv9"; dkim-atps=neutral Received: from perceval.ideasonboard.com (unknown [IPv6:2401:4900:1f3e:69e0:a479:4ccc:ab2a:bf48]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 54CE5480; Fri, 5 Aug 2022 20:19:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1659723547; bh=qFO9CDiF3ZTVw/nIY2glsWHEG/EBVrbg07sl2+XwL1U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t8IeMJv9phuwLoSro8pFKdHQdAYR3SjerUhFZZYCU6EVTfYAtRgWYWFHc3TXvLQi1 QgYiFcsuY+pXwcpYqeLKv81h3vZhQzN2+Dn6Seohx04TsZDhXnNwIk90fkvT37TpRg QATXX3eYeZpV5eSNt7SJxcb8GY9SlD+twkvEWOaM= To: libcamera-devel@lists.libcamera.org Date: Fri, 5 Aug 2022 23:48:50 +0530 Message-Id: <20220805181850.848886-6-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220805181850.848886-1-umang.jain@ideasonboard.com> References: <20220805181850.848886-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 5/5] utils: ipu3: ipu3-process Save generated stats to a file X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Umang Jain via libcamera-devel From: Umang Jain Reply-To: Umang Jain Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Save generated stats to a file, which can be dumped using ipu3-read-stats utility. Signed-off-by: Umang Jain --- utils/ipu3/ipu3-process.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/ipu3/ipu3-process.sh b/utils/ipu3/ipu3-process.sh index 828a72f8..84f42302 100755 --- a/utils/ipu3/ipu3-process.sh +++ b/utils/ipu3/ipu3-process.sh @@ -83,7 +83,8 @@ process_frames() { --set-fmt-video=pixelformat=$IMGU_OUT_PIXELFORMAT,width=$vf_width,height=$vf_height \ $stream_setting --stream-to=$output_dir/frames-vf.bin & sleep 0.5 - v4l2-ctl -d $($mediactl -e "$imgu_entity 3a stat") $stream_setting & + v4l2-ctl -d $($mediactl -e "$imgu_entity 3a stat") $stream_setting \ + --stream-to=$output_dir/frames-stat.bin & sleep 0.5 # Feed the IMGU input.