Make pixel wise operation on framebuffer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Make pixel wise operation on framebuffer

509 Views
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 Kudos
Reply
1 Reply

492 Views
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 Kudos
Reply