iMX8 qt cross compile use neon

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX8 qt cross compile use neon

1,529 次查看
alonghong
Contributor I

Dear Sir

Now, I use iMX8 EVK and use bitbake fsl-image-qt5-validation-imx and bitbake fsl-image-qt5-validation-imx -c populate_sdk.

This is success to compile qt project and run in iMX8. But I use memcpy 1280*800*2 data to OpenCV Mat,

the memcpy needs to spend about 28mS, I find iMX is support neon function.

Neon can improve the speed, but I don't know how to use neon in the cross compile

Please kindly help me.

Thanks a lot.

Best regards.

0 项奖励
回复
2 回复数

1,508 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

The speed will not be improved if you use memcpy after opening the neon.

Recommand you use OpenCL with OpenCV.

0 项奖励
回复

1,505 次查看
alonghong
Contributor I

Hi Sir

How can I to use OpenCL with OpenCV?

0 项奖励
回复