i.MX6 IPU Look Up Table.

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

i.MX6 IPU Look Up Table.

ソリューションへジャンプ
1,260件の閲覧回数
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 解決策
899件の閲覧回数
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 返答(返信)
900件の閲覧回数
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 件の賞賛
897件の閲覧回数
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 件の賞賛
897件の閲覧回数
Yuri
NXP Employee
NXP Employee

Our Linux BSP doesn’t support the LUT function.

899件の閲覧回数
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 件の賞賛