[libcamera-devel] [PATCH 5/5] utils: ipu3: ipu3-process Save generated stats to a file

Umang Jain umang.jain at ideasonboard.com
Fri Aug 5 20:18:50 CEST 2022


Save generated stats to a file, which can be dumped
using ipu3-read-stats utility.

Signed-off-by: Umang Jain <umang.jain at ideasonboard.com>
---
 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.
-- 
2.31.1



More information about the libcamera-devel mailing list