OpenCL SoftISP demo works wrong on IMX8MP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OpenCL SoftISP demo works wrong on IMX8MP

3,614件の閲覧回数
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.png0-SourceImage.png2-WhiteBalance.png2-WhiteBalance.png3-Equalization.png3-Equalization.png4-RemoveNoise.png4-RemoveNoise.png1-RemoveBadPixel.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 返答(返信)

3,600件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

3,593件の閲覧回数
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 件の賞賛
返信

3,582件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

3,577件の閲覧回数
quercuspau
Contributor II

AFAIK, imx8mp doesn't support OpenVx.

BR

0 件の賞賛
返信

3,573件の閲覧回数
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 件の賞賛
返信