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

Message ID 20220805181850.848886-6-umang.jain@ideasonboard.com
State Deferred
Delegated to: Umang Jain
Headers show
Series
  • IMGU standalone streaming
Related show

Commit Message

Umang Jain Aug. 5, 2022, 6:18 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.