userspace访问V4L2视频采集的数据慢

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

userspace访问V4L2视频采集的数据慢

1,434 Views
allonli
Contributor II

userspace访问V4L2视频采集的数据慢(拷贝1280x720 25-28ms/
1280x720 memcpy
耗时测试如下:
g2d->malloc
28ms
ipu alloc->malloc
25ms
v4l2 mmap->malloc
25ms

同样的条件下,通过memcpy拷贝两个内存区的数据,没有出现以上拷贝慢的现象。

是否有一些DMA或者是cache的功能需要设置?

Tags (3)
0 Kudos
3 Replies

1,099 Views
tukenan
Contributor II

Allon Li

        阁下遇到的这个问题,我在六月份做IPU转换的时候也遇到了,当时只是做了规避,却没有正面解决掉,不知道是否您已经有办法解决了。中间站转换太多了,拷贝一次720P数据的时间太长,图像延时会很高。求帮忙~

0 Kudos

1,100 Views
joanxie
NXP TechSupport
NXP TechSupport

how is your update? as we talked in the mail, do you have any update?

0 Kudos

1,100 Views
allonli
Contributor II

HI, Joan,

Thank you very much for your support, I have been delayed by other tasks, I will test it as soon as possible and feedback to you. Thanks again.

Best Regards!

李新龙 Allon Li

0 Kudos