Hi all,

One more bump, as I got into it much deeper. It seems that V4L2 is 
basically more-less functional - the sensor works, albeit with only one set 
of settings (ov5640.c is quite badly written). Either way, V4L should be 
good enough with some light code modifications to the OV5640 driver.

Display however is another topic. The driver's code is fairly similar to 
the V4L concept, but with a bit more loose ends - I could not find any 
documents on how this API is specifically used, so I cannot verify whether 
the application that I am using (test app for camera) is using display 
driver in the correct manner. It basically revolves around V4L - when a 
buffer is dequeued, it's address is forwarded to display driver which 
initializes the framebuffer and refreshes the display with new content. But 
there are many ioctl's for display and I am unsure of how to use them 
properly. Since the color channels are wrong for this default configuration 
coming from the driver, I am starting to doubt whether it is the proper way 
to initialize the display. But, as the display API is not documented, I am 
left with either digging deep in kernel or just plain trial-and-error 
principle.

Basically, as I have figured out V4L almost completely, I would need 
someone with more knowledge about this Sunxi display driver to continue.
Of course, I will continue to dig and tryout different approaches, but it 
would mean a lot if someone could help.

BR,

Ivan

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to