SoftISP application on i.MX8MMini

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

SoftISP application on i.MX8MMini

1,788件の閲覧回数
devendradevadig
Contributor III

Hi team,

We are working on Camera module OV4689 with i.MX8M Mini platform.

https://www.ovt.com/sensors/OV4689

The output format supported by OV4689 is 10-bit RAW RGB (MIPI) i.e RGB Bayer.

We added the driver for OV4689 and able to capture the raw frame using below commands:

v4l2-ctl --device /dev/video0 --set-fmt-video=width=2688,height=1520,pixelformat=BG10
v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=frame.raw --stream-count=1

But the captured data is in raw format.

From NXP communtiy discussion I came to know that RAW data from camera can't be handled directly by i.MX8 and this RAW input data format is not supported by i.MX8M Mini VPU.

So NXP suggested to use Software for processing i.e Software Image Signal Processing (SoftISP)

https://www.nxp.com/design/designs/i-mx8-software-image-signal-processing:SOFTISP-I.MX8

I tried to build the OpenVX and OpenCL SoftISP application and run on the i.MX8M Mini target. But I am getting the error.

I had posted the the error details whatever I am getting in below community link and not getting any reply.

https://community.nxp.com/thread/534571

Currently I build the SoftISP application using standalone method and I am able to run the application in our i.MX8M Mini platform, but getting error.

But I don't have the details of what are the different argument we need to give for that application to capture a image.

Please can you share the document for that application which explains procedure to capture the image?

I got some of the arguments list from below link but didn't get any example command to capture the image

https://github.com/NXPmicro/gtec-demo-framework/tree/master/DemoApps/OpenCL/SoftISP

If I gave "-h" to get the help, its giving error like below:

root@iWave-G34M:~# OpenCL.SoftISP -h
terminate called after throwing a[ 1114.860124] audit: type=1701 audit(1582024697.916:18): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3810 comm="OpenCL.SoftISP" exe="/usr/bin/OpenCL.SoftISP" sig=6 res=1
n instance of 'std::runtime_error'
what(): failed to create the full path
Aborted (core dumped)
root@iWave-G34M:~#

Parallelly we will try to integrate the SoftISP application to i.MX8QM BSP and try to run the application.

0 件の賞賛
返信
2 返答(返信)

1,380件の閲覧回数
artsiomstaliaro
Contributor IV

Hi Devendra

Sorry, I have bad news here - IMX8M Mini GPU does not support OpenCL 1.2 . So you cannot run SoftISP code on it.

0 件の賞賛
返信

1,723件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Devendra

unfortunately currently there are no additional documentation for

porting SoftISP to customer applications. So recommended support path

is to proceed with help of Commercial Support and Engineering Services | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信