Change Display parameters in iMX6Dual

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change Display parameters in iMX6Dual

587 Views
ahpopat
Contributor I

Hello,

I am using iMX6Dual processor (PCIMX6Q6AVT10AC) and I am trying to change display parameters (like RGB colors) from the default settings to new settings. I changed the parameters in the table but there is no effect. Was wondering what I am doing wrong:

Formula is below:

/*     R = (1.164 * (Y - 16)) + (1.596 * (Cr - 128));

       G = (1.164 * (Y - 16)) - (0.392 * (Cb - 128)) - (0.813 * (Cr - 128));

       B = (1.164 * (Y - 16)) + (2.017 * (Cb - 128); */

original:

ycbcr2rgb_coeff[5][3] =

{

  {0x095, 0x000, 0x0CC},

  {0x095, 0x3CE, 0x398},

  {0x095, 0x0FF, 0x000},

  {0x3E42, 0x010A, 0x3DD6}, /*B0,B1,B2 */

  {0x1, 0x1, 0x1},  /*S0,S1,S2 */

};

Tried:

ycbcr2rgb_coeff[5][3] =

{

  { 0x092, 0x000, 0x0E1 },

  { 0x095, 0x3E5, 0x3BC },

  { 0x08A, 0x0FA, 0x000 },

  { 0x3E19, 0x0099, 0x3DE8 },

  { 0x001, 0x001, 0x001 },

};

When I do the color measurements using Display color analyzer I see no difference in the measurement data. Would appreciate if someone could suggest a literature document or a method to implement the change.

Thanks in advance for your help.

0 Kudos
1 Reply

463 Views
igorpadykov
NXP Employee
NXP Employee

Hi Anup

for colour space conversion example one can look at sect.7.3.15 Video conversion attached Linux Guide.

Demo Image

https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0_MX6QDLSOLO&appType=license&location=null&P... 

or csc examples on

ipu-examples release notes - v0.1 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos