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
Solved! Go to Solution.
you also can refer to this source code as below
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.
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?
joanxie,
Thank you for the information and link to CSC setting sample source code.
great, if you think we can close this tread, please click the Correct Answer button. Thank you!
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