Tool/software:
Hi Team,
We have a working ar1335 camera module integrated on TI-AM625 Starter Kit with processor SDK Version: 08.06.00.42. Now we have ported the camera driver to processor SDK Version: 09.02.01.10.
In SDK_08.06.00.42 it takes 400ms to capture and store 4192x3120 resolution image into a yuv format. But the same setup and command take 700ms to capture and store 4192x3120 resolution image into a yuv format.
Is there any way to solve the latency issue in SDK_09.02.01.10 ?
Logs : SDK_08.06.00.42
root@am62xx-evm:~# media-ctl -d /dev/media0 --set-v4l2 '"ar1335 4-0042":0[fmt:UYVY8_1X16/4192x3120 field:none]'
[ 134.586980] Skipping Previous mode set ...
root@am62xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, width=4192, height=3120, format=UYVY ! multifilesink location=files_%d.yuv max-files=8
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 148.263931] mcu_cam_stream_on 1626
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:06.831019090
Setting pipeline to NULL ...
Freeing pipeline ...
root@am62xx-evm:~#
root@am62xx-evm:~# ls -l files_* --full-time
-rw-r--r-- 1 root root 26158080 2023-08-10 13:02:32.256000000 +0000 files_2.yuv
-rw-r--r-- 1 root root 26158080 2023-08-10 13:02:32.672000000 +0000 files_3.yuv
-rw-r--r-- 1 root root 26158080 2023-08-10 13:02:33.088000000 +0000 files_4.yuv
-rw-r--r-- 1 root root 26158080 2023-08-10 13:02:33.508000000 +0000 files_5.yuv
-rw-r--r-- 1 root root 26158080 2023-08-10 13:02:33.928000000 +0000 files_6.yuv
-rw-r--r-- 1 root root 26158080 2023-08-10 13:02:34.348000000 +0000 files_7.yuv
-rw-r--r-- 1 root root 26158080 2023-08-10 13:02:34.932000000 +0000 files_8.yuv
-rw-r--r-- 1 root root 26158080 2023-08-10 13:02:39.800000000 +0000 files_9.yuv
Logs : SDK_09.02.01.10
root@am62xx-evm:~# media-ctl -d /dev/media0 --set-v4l2 '"ar1335 4-0042":0[fmt:UYVY8_1X16/4192x3120 field:none]'
[ 82.482839] Skipping Previous mode set ...
root@am62xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, width=4192, height=3120, format=UYVY ! multifilesink location=file_%d.yuv max-files=8
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 137.499010] mcu_cam_stream_on 1626
Redistribute latency...
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:08.442799500
Setting pipeline to NULL ...
Freeing pipeline ...
root@am62xx-evm:~# ls -l file_* --full-time
-rw-r--r-- 1 root root 26158080 1970-01-01 00:02:24.864000000 +0000 file_1.yuv
-rw-r--r-- 1 root root 26158080 1970-01-01 00:02:25.604000000 +0000 file_2.yuv
-rw-r--r-- 1 root root 26158080 1970-01-01 00:02:26.328000000 +0000 file_3.yuv
-rw-r--r-- 1 root root 26158080 1970-01-01 00:02:27.060000000 +0000 file_4.yuv
-rw-r--r-- 1 root root 26158080 1970-01-01 00:02:27.804000000 +0000 file_5.yuv
-rw-r--r-- 1 root root 26158080 1970-01-01 00:02:30.060000000 +0000 file_6.yuv
-rw-r--r-- 1 root root 26158080 1970-01-01 00:02:30.812000000 +0000 file_7.yuv
-rw-r--r-- 1 root root 26158080 1970-01-01 00:02:31.560000000 +0000 file_8.yuv
Regards,
Ajith Kumaresh S.