i.MX6 IPU Look Up Table.

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

i.MX6 IPU Look Up Table.

Jump to solution
1,197 Views
satoshishimoda
Senior Contributor I

Hi community,

I have a question about i.MX6SDL IPU.

End user want to make a color pallet likes following.

=====

Input data : 8 bit, Output data : RGB888

For example:

Input: 0 --> Output : (0, 255, 255)

Input: 1 --> Output : (0, 255, 0)

Input: 2 --> Output : (30, 0, 250)

...

Input: 255 --> Output : (20, 100, 100)

=====

I think it can be realized by Look Up Table in IDMAC.

Is my understanding correct?

If my understanding is correct, could you let me know how to set the Look Up Table and how to use it?

Actually, I looked for the setting register, but I did not understand what is it.

Best Regards,

Satoshi Shimoda

Labels (4)
Tags (1)
0 Kudos
1 Solution
836 Views
Yuri
NXP Employee
NXP Employee

  You are right, it is possible to use the IPU LUT as a color pallet.

Please refer to section 38.4.2.9 (LUT- Look Up Table) of the i.MX6 SDL RM.

It is needed to setup "Pixel Format Select" field of the CPMEM as Code (LUT) .


Have a great day,
Yuri

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

View solution in original post

0 Kudos
4 Replies
837 Views
Yuri
NXP Employee
NXP Employee

  You are right, it is possible to use the IPU LUT as a color pallet.

Please refer to section 38.4.2.9 (LUT- Look Up Table) of the i.MX6 SDL RM.

It is needed to setup "Pixel Format Select" field of the CPMEM as Code (LUT) .


Have a great day,
Yuri

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

0 Kudos
834 Views
satoshishimoda
Senior Contributor I

Hi Yuri,

Thank you for your reply.

By the way, i.MX6 Linux BSP (L3.0.35_4.1.0) supports the IPU LUT?

Best Regards,

Satoshi Shimoda

0 Kudos
834 Views
Yuri
NXP Employee
NXP Employee

Our Linux BSP doesn’t support the LUT function.

836 Views
satoshishimoda
Senior Contributor I

Dear Yuri,

OK, I understand Linux BSP doesn't support LUT function, so user should modify the code by themselves.

Best Regards,

Satoshi Shimoda

0 Kudos