How to use the gamma correction for i.MX6UL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use the gamma correction for i.MX6UL

787件の閲覧回数
yuuki
Senior Contributor II

Dear all,

We want to make gamma correction in i.MX6UL.

We understand that we have to use the PXP_LUT_CTRL and the PXP_LUT_ADDR registers.

However, We do not understand those how to use.

Would you tell me how to use the gamma correction by using these?

IMX6ULRM.pdf(Rev0):

http://cache.nxp.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf

- 40.7.37 Lookup Table Control Register. (PXP_LUT_CTRL)(P.2420)

- 40.7.38 Lookup Table Control Register. (PXP_LUT_ADDR)(P.2422)

We referred to LinuxBSP.

BSP: fsl-yocto-L3.14.38_6ul-ga.tar.gz

However, We were not able to find these cords.

Would you send it to us if a sample source code exists?

Best Regards,

Yuuki

ラベル(2)
0 件の賞賛
3 返答(返信)

555件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Yuuki

one can look at example pxp_set_lut() :

linux-2.6-imx.git - Freescale i.MX Linux Tree

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

555件の閲覧回数
yuuki
Senior Contributor II

Dear Igor-san,

Thank you for a quick response.

We referred to the source code.

However, we were not able to find Lookup Table.

Where should we refer to?

Best Regards,

Yuuki

0 件の賞賛

555件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Yuuki

below part of pxp_set_lut() :

/* Fill out LUT table using colormap values */

...

    /* Initialize LUT address to 0 and set NUM_BYTES to 0 */
   __raw_writel(0, pxp->base + HW_PXP_LUT_ADDR);

..

Best regards

igor