A20 Olinuxino sunxi display driver

Started by ikozic, February 17, 2014, 07:07:16 PM

Previous topic - Next topic

ikozic

Hi all,

I've already posted on sunxi Google group, so this might be a bit excessive, but if someone could help that'd be great.

So in general I am interested in how to use Sunxi display API in order to display V4L video on the LCD screen. The problem is that it is fairly complex - with all the layers and in/out formats, so any pointers would be great.

For reference I was using the app which came with the kernel (drivers/media/video/sun4i_csi/test/app_test_ok.c) to get the V4L image from OV5640 to the LCD screen. It works, but the color channels are most probably swapped, so I was trying to see why and got to the point where the most probable suspect is the display handling and initialization in the app itself (other suspects were DEBE/DEFE drivers - not completely excluded...).

So, any pointers whatsoever on how to use Sunxi display driver ioctl's are more than welcome!