Lookup tables for color transformations in LVDS / HDMI / etc. scanout on i.MX8m plus?

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

Lookup tables for color transformations in LVDS / HDMI / etc. scanout on i.MX8m plus?

ソリューションへジャンプ
1,544件の閲覧回数
crg7475
Contributor III

I'd like to apply a lookup table on the pixels before they are scanned out to the display. My SoC is an i.MX8m plus. Unfortunately, I did not find anything like that mentioned in the reference manual.

Does that SoC have such a feature? If not, I guess the only option is to use the GPU's 3D core, since the 2D core does not seem to have anything like that either.

0 件の賞賛
返信
1 解決策
1,397件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

no such table, you need do it by GPU

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,509件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

hdmi has table under drivers/phy/freescale/phy-fsl-samsung-hdmi.c, which is offered by the IP vendor and based on the pixel clock, lvds is defined in the driver, do you mean the table you can scan according to the display pixel clock or anything else? i don't know what you mean table on the pixels

0 件の賞賛
返信
1,468件の閲覧回数
crg7475
Contributor III

I mean a look-up table, for transforming R, G, and B values. Like this:

 

output_r = lookup_table_r[input_r];
output_g = lookup_table_g[input_g];
output_b = lookup_table_b[input_b];

 

This would typically be tables with 256 entries (since RGB values usually are 8-bit). It is also OK if there is only one table for all three channels.

0 件の賞賛
返信
1,417件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

what is the table for? 8mp ISI has CSC table for rgb to yuv or yuv to rgb, but the table you need is for what?

0 件の賞賛
返信
1,414件の閲覧回数
crg7475
Contributor III

The table is used for color correction. The devices that use the SoC have to be calibrated to have the exact same color output, and this requires transforming the pixel color values according to a device specific table.

0 件の賞賛
返信
1,398件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

no such table, you need do it by GPU

0 件の賞賛
返信