iMX6Q OpenCL Segmentation fault

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

iMX6Q OpenCL Segmentation fault

827 Views
tedxi
Contributor I

Hello, I tried to test my OpenCL on my iMX6Q board. I have follow the steps by OpenCL Hello World .I have succeeded in compiling. And I have libGAL.so libOpenCL.so at /usr/lib. But when I run, it show me as picture 3. How this problem is caused, and how should I fix this problem.2018-02-01 17-20-25 的屏幕截图.png

pastedImage_1.pngpastedImage_2.png

Labels (3)
0 Kudos
2 Replies

574 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Ted, 

That's note was for ltib version where you have to copy the libOpenCL On yocto Stop copying. However it should work on Yocto, but I have not tested.

574 Views
tedxi
Contributor I

Hi Bio,

Thanks for your suggestion.In fact I have a 120FPS camera using MJPG. I tried to use OpenCV to capture images.But OpenCV seems to be the conversion of MJPG to RGB by CPU. The frame rate of this method is only about 5FPS.

And I noticed that IPU can be used for conversion. but I find it seems convert yuv to RGB? How can I convert MJPG to RGB?

0 Kudos