[libcamera-devel,RFC,3/3] utils: ipu3: ipu3-process Save generated stats to a file
diff mbox series

Message ID 20220725192317.99026-4-umang.jain@ideasonboard.com
State Superseded
Delegated to: Umang Jain
Headers show
Series
  • utils: IPU3 read statistics helper
Related show

Commit Message

Umang Jain July 25, 2022, 7:23 p.m. UTC
Save generated stats to a file, which can be dumped
using ipu3-read-stats utility.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
---
 utils/ipu3/ipu3-process.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox series

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.