How to adjust contrast for 2planes in DP for i.MX6DL

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

How to adjust contrast for 2planes in DP for i.MX6DL

865 Views
yuuki
Senior Contributor II

Dear all,

In our system,
Fb1 is yuv format,fb0 is rgb32 format and use gragh alpha value.
so fb0 and fb1 display at the same time is possible.

Linux BSP is fsl-yocto-L4.1.15_1.2.0

We modify the ipu_disp.c file as follows.

gragh alpha.png
DP_COM_CONF_CSC_DEF_BOTH should be used according to our system situation.

We tested two following contents.

1. dp_csc_array[2][1]:{DP_COM_CONF_CSC_DEF_BOTH, (void *)&rgb2rgb_coeff}
    => However fb1 color displays NG and  fb0 color displays OK.

2. dp_csc_array[2][1]:{DP_COM_CONF_CSC_DEF_BOTH, (void *)&ycbcr2rgb_coeff}
    => However fb1 color displays OK and fb0 color displays NG.


We want to know is it available to adjust contrast when fb1 and fb0 using gragh alpha value and displaying at the same time under condition choosing DP_COM_CONF_CSC_DEF_BOTH and rgb2rgb_coeff?
(fb1 is yuv format, fb0 is rgb32 format)

May I have any advice?

Best Regards,
Yuuki

Labels (3)
0 Kudos
Reply
2 Replies

694 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Yuuki,

The hardware doesn't support different CSC on fb0 and fb1, that means when fb0 and fb1 are using different color space, then you can only select one for CSC, only when the fb0 and fb1 are same color space, then you can use same CSC on them, in this case, the fb0 and fb1 will be combined first, then do CSC.

 

So your use case is not supported by hardware:

   fb0 CSC from RGB to RGB, fb1 CSC from YUV to RGB, then combine fb0 and fb1.

regards

0 Kudos
Reply

694 Views
yuuki
Senior Contributor II

Can anybody teach me?

We must examine a different method if this method is impossible.

Best Regards,

Yuuki

0 Kudos
Reply