AnsweredAssumed Answered

Change Display parameters in iMX6Dual

Question asked by Anup Popat on Aug 20, 2018
Latest reply on Aug 20, 2018 by igorpadykov

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.

Outcomes