iMX8 qt cross compile use neon

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

iMX8 qt cross compile use neon

657 Views
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 Kudos
2 Replies

636 Views
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 Kudos

633 Views
alonghong
Contributor I

Hi Sir

How can I to use OpenCL with OpenCV?

0 Kudos