about i.MX8 ISI data convert

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

about i.MX8 ISI data convert

跳至解决方案
3,395 次查看
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 项奖励
回复
1 解答
3,072 次查看
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 项奖励
回复
11 回复数
3,073 次查看
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 项奖励
回复
3,072 次查看
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 项奖励
回复
3,072 次查看
xu_ji1
Contributor V

Hello,

 Does i.MX8QM has ISP? 

Thanks

0 项奖励
回复
3,072 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
3,072 次查看
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 项奖励
回复
3,072 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复
3,072 次查看
xu_ji1
Contributor V

hello,

I can not access this website.

Thanks

0 项奖励
回复
3,072 次查看
joanxie
NXP TechSupport
NXP TechSupport

find ISP information from this:

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

0 项奖励
回复
3,072 次查看
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 项奖励
回复
3,072 次查看
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 项奖励
回复
3,072 次查看
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 项奖励
回复