IPU CSC [DP] matrix setting

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

IPU CSC [DP] matrix setting

跳至解决方案
3,704 次查看
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

标记 (2)
0 项奖励
回复
1 解答
3,230 次查看
joanxie
NXP TechSupport
NXP TechSupport

you also can refer to this source code as below

i.MX6 CSC setting sample source code

在原帖中查看解决方案

0 项奖励
回复
6 回复数
3,230 次查看
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 项奖励
回复
3,230 次查看
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 项奖励
回复
3,231 次查看
joanxie
NXP TechSupport
NXP TechSupport

you also can refer to this source code as below

i.MX6 CSC setting sample source code

0 项奖励
回复
3,230 次查看
gauthamkanthara
Contributor IV

joanxie​,

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

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

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

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