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,542 次查看
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,395 次查看
joanxie
NXP TechSupport
NXP TechSupport

no such table, you need do it by GPU

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,507 次查看
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,466 次查看
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,415 次查看
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,412 次查看
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,396 次查看
joanxie
NXP TechSupport
NXP TechSupport

no such table, you need do it by GPU

0 项奖励
回复