about i.MX8 ISI data convert

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

about i.MX8 ISI data convert

ソリューションへジャンプ
2,788件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 解決策
2,465件の閲覧回数
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 返答(返信)
2,466件の閲覧回数
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 件の賞賛
返信
2,465件の閲覧回数
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 件の賞賛
返信
2,465件の閲覧回数
xu_ji1
Contributor V

Hello,

 Does i.MX8QM has ISP? 

Thanks

0 件の賞賛
返信
2,465件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
2,465件の閲覧回数
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 件の賞賛
返信
2,465件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
2,465件の閲覧回数
xu_ji1
Contributor V

hello,

I can not access this website.

Thanks

0 件の賞賛
返信
2,465件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

find ISP information from this:

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

0 件の賞賛
返信
2,465件の閲覧回数
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 件の賞賛
返信
2,465件の閲覧回数
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 件の賞賛
返信
2,465件の閲覧回数
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 件の賞賛
返信