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
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
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
Our Linux BSP doesn’t support the LUT function.
Dear Yuri,
OK, I understand Linux BSP doesn't support LUT function, so user should modify the code by themselves.
Best Regards,
Satoshi Shimoda