IPU CSC [DP] matrix setting

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

IPU CSC [DP] matrix setting

ソリューションへジャンプ
1,918件の閲覧回数
gauthamkanthara
Contributor IV

Hello All,

We have enabled the CSC in the DP, for RGB->RGB, using a identity CSC matrix, image look good. Problem is that, we are not sure, how to calculate and update the CSC identity matrix to incorporate real time changes in brightness, contrast, saturation and hue parameters.

Thank you in advance.

Regards,

Gautham

ラベル(6)
タグ(2)
0 件の賞賛
1 解決策
1,444件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you also can refer to this source code as below

i.MX6 CSC setting sample source code

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
1,444件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you don't need to know hwo the csc calculate, csc would work refer to the algorithm depends on what your demands.

yuv to yuv, rgb to yuv or yuv to rgb. this is hardware module, you can set it depends on your case.

0 件の賞賛
1,444件の閲覧回数
gauthamkanthara
Contributor IV

joanxie​,

Conversion btw yuv to rgb, rgb to yuv is fine. My question is, if I pass hue, brightness, saturation or contrast parameter value then how CSC matrix will be computed and equation used to compute the CSC matrix?

0 件の賞賛
1,445件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you also can refer to this source code as below

i.MX6 CSC setting sample source code

0 件の賞賛
1,444件の閲覧回数
gauthamkanthara
Contributor IV

joanxie​,

Thank you for the information and link to CSC setting sample source code.

0 件の賞賛
1,444件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

great, if you think we can close this tread, please click the Correct Answer button. Thank you!

0 件の賞賛
1,444件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

refer to the Reference Manual, you can set the regiseter IPUx_DP_COM_CONF_ASYNC0, more detailed information, you also can refer to the linux/linux/drivers/mxc/ipu3/ipu_disp.c

0 件の賞賛