about i.MX8 ISI data convert

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

about i.MX8 ISI data convert

Jump to solution
3,392 Views
xu_ji1
Contributor V

Hello,

If camera sensor output is Raw12 bit pixel data,does ISI convert it to YUV420 output then send display or store image?

If it can how to do in code?

Or ISI only can convert RGB with YUV,not support RAW?

Thanks

0 Kudos
Reply
1 Solution
3,069 Views
joanxie
NXP TechSupport
NXP TechSupport

GPU doesn't do this shift job you need shift by yourself, GPU can do the color space conversion job

View solution in original post

0 Kudos
Reply
11 Replies
3,070 Views
joanxie
NXP TechSupport
NXP TechSupport

GPU doesn't do this shift job you need shift by yourself, GPU can do the color space conversion job

0 Kudos
Reply
3,069 Views
joanxie
NXP TechSupport
NXP TechSupport

ISI couldn't convert raw data to yuv data, when get the raw data from camera, ISP could convert raw data to rgb or yuv

0 Kudos
Reply
3,069 Views
xu_ji1
Contributor V

Hello,

 Does i.MX8QM has ISP? 

Thanks

0 Kudos
Reply
3,069 Views
joanxie
NXP TechSupport
NXP TechSupport

yes, imx8qm support openCL or openVG, sw-ISP Pipeline Optimized by them

0 Kudos
Reply
3,069 Views
xu_ji1
Contributor V

Is there some demo app or API of convert RAW to YUV function that about openCL or openVG?

pls give guide how to realize convert RAW to YUV.

Thanks

0 Kudos
Reply
3,069 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
3,069 Views
xu_ji1
Contributor V

hello,

I can not access this website.

Thanks

0 Kudos
Reply
3,069 Views
joanxie
NXP TechSupport
NXP TechSupport

find ISP information from this:

https://community.nxp.com/docs/DOC-345934 

0 Kudos
Reply
3,069 Views
xu_ji1
Contributor V

Hi,

I know this demo,but I try it with my RAW photo,it can not convert the correct YUV,my RAW photo is capture by Raw12bit output camera and the RAW data only has grey info V4L2 format is Y12,does softISP support it?Which API can convert it?

Thanks

0 Kudos
Reply
3,069 Views
joanxie
NXP TechSupport
NXP TechSupport

for capture raw 12bits data from ISI, you need to configure ISI to raw16 first,  Bit13~LSB(Bit 13~Bit 2):    0b00DD DDDD DDDD DD00,   right shift 2 bit to get RAW12: 0b0000 DDDD DDDD DDDD, then ISP can handle this data to conversion

0 Kudos
Reply
3,069 Views
xu_ji1
Contributor V

Hello,

Does the right shift 2 bit operation can be take by GPU side(have any API)?

If it is no,it needs to use CPU running then If we use the Raw12 camera output data and do image processing

convert to YUV in real time,it will cost much CPU resource,we don't want this,how to do the right shift 2 bit

and do not use CPU?GPU can or not?

Thanks

0 Kudos
Reply