Make pixel wise operation on framebuffer

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

Make pixel wise operation on framebuffer

510 次查看
JustinChou
Contributor I

Platform: IMX6  Android 4.4.2

I would make pixel wise operation on framebuffer (/dev/graphic/fb0, how to modify the driver? I want to resize, pan and rotate the content of framebuffer.

I have a Unity application program which will generate 1920x1080px60 LVDS output but it need to be warped, and I think software de-warping is an available solution.

Should I modify framebuffer driver directly?  If I could look into some code examples that would be great. 

0 项奖励
回复
1 回复

493 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the enclosed sample code, hope helpful for you

This sample code for CSC settings for /dev/fb1.

It can calculating the CSC matrix and updates in real time from given parameters(Brightness,Contrast,Saturation,Hue, and gamma).

 

 

0 项奖励
回复