i.MX6 IPU Look Up Table.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6 IPU Look Up Table.

跳至解决方案
3,180 次查看
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

标签 (4)
标记 (1)
0 项奖励
回复
1 解答
2,819 次查看
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 项奖励
回复
4 回复数
2,820 次查看
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 项奖励
回复
2,817 次查看
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 项奖励
回复
2,817 次查看
Yuri
NXP Employee
NXP Employee

Our Linux BSP doesn’t support the LUT function.

2,819 次查看
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 项奖励
回复