OpenCL SoftISP demo works wrong on IMX8MP

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

OpenCL SoftISP demo works wrong on IMX8MP

1,187 次查看
quercuspau
Contributor II

Hello,

I am testing OpenCL capabilities on IMX8MP, currently im using the 8MPLUSLPD4-EVK evaluation board with BSP 5.10.72.

Tipping in the terminal from a pre-builded image:

root@imx8mpevk:/opt/imx-gpu-sdk/OpenCL/SoftISP# ./OpenCL.SoftISP --Enable
Denoise status: true
CycleNum status: 1000
Initializing device(s)...
Get the Device info and select Device...
# of Devices Available = 2
# of Compute Units = 1
# compute units = 1
Getting device id...
Creating Command Queue...
Creating kernels...
Please wait for compiling and building kernels, about one minute...
Kernel execution time on GPU (kernel: badpixel): 42.384 ms
Kernel execution time on GPU (kernel: sigma): 2.2427440000000014 ms
Kernel execution time on GPU (kernel: awb): 3.391982999999992 ms
Kernel execution time on GPU (kernel: equalize1): 8.101874 ms
Kernel execution time on GPU (kernel: equalize2): 0.388461000000001 ms
Kernel execution time on GPU (kernel: equalize3): 5.340270000000002 ms
Kernel execution time on GPU (kernel: debayer): 31.358999999999998 ms
Kernel execution time on GPU (kernel: rgba2yuyv): 23.354 ms
Kernel execution time on GPU (kernel: bilateral): 3014.373 ms
Kernel execution time on GPU (kernel: yuyv2rgba): 34.562 ms
Saving images...
root@imx8mpevk:/opt/imx-gpu-sdk/OpenCL/SoftISP# ls
0-SourceImage.bmp 1-RemoveBadPixel.bmp 2-WhiteBalance.bmp 3-Equalization.bmp 4-RemoveNoise.bmp Content OpenCL.SoftISP
root@imx8mpevk:/opt/imx-gpu-sdk/OpenCL/SoftISP#

The current bmp files look wrong, starting from 2-WhiteBalance.bmp. The current attachments are not the original files due the forum attachment limitation, but allow to see the overall problem.

0-SourceImage.png2-WhiteBalance.png3-Equalization.png4-RemoveNoise.png1-RemoveBadPixel.png

Is this a problem of the OpenCL implementation of the system or it is related to the demo itself?

The final goal is being able to codec RAW images in RGB format to jpeg using OpenCL.

Best Regards

 

标签 (2)
0 项奖励
回复
5 回复数

1,173 次查看
joanxie
NXP TechSupport
NXP TechSupport

i.mx8mp has HW ISP, why do you need softISP?

0 项奖励
回复

1,166 次查看
quercuspau
Contributor II

I am testing OpenCL on IMX8MP and NXP SoftISP demo doesn't work OK so Im wondering if OpenCL is well supported or demo has bugs.

0 项奖励
回复

1,155 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复

1,150 次查看
quercuspau
Contributor II

AFAIK, imx8mp doesn't support OpenVx.

BR

0 项奖励
回复

1,146 次查看
joanxie
NXP TechSupport
NXP TechSupport

•This hardware extension is available in the i.MX8MP NPU, which means that OpenVX hardware acceleration is performed on the NPU, not on the GPU

0 项奖励
回复