Active Topics

 


Reply
Thread Tools
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#1
I recently received the following via e-mail after making a feature request from the developers of livecast:
>> http://talk.maemo.org/showthread.php?t=30221

Hi Steve,

We’re trying to allocate some resources to fixing the tablet’s auto rotation function with LiveCast (use it correctly), but haven’t found any API to provide us access to this area. Have you come across anything that would expedite our efforts?

Many thanks!
Jennifer
Using:
maemo.org > Development > Documentation > Manuals > Maemo 4.0.x > How to Use Camera API
and,
Video for Linux as resources I find very little if anything at all regarding the orientation or flipping of the screen image when the N800's camera is rotated forward.

I did find >>this<< by searching the mailing lists but the Bora how to it references is no longer maintained and may not be relative.

Further search finds the >>this<< bug that implies that it may be Nokia closed source.

How can I best answer Jennifer's question?

Any assistance would be greatly appreciated.

***

BTW, correctly flipping the image when the N800's cam is facing forward using Livecast would make the N800 quite a useful tool as a cam corder.


 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#2
There's a flag in gconf for camera-flip, if I remember correctly. Not exactly a API but it could be used
 

The Following User Says Thank You to mikkov For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
Consider this an somewhat "intelligent"....

guess.

Using http://library.gnome.org/devel/gconf...-client-notify, you'd want to connect it to a callback function when the value of /system/osso/af/camera-has-turned has changed.

This function would rotate the image using a ioctl on the v4l driver depending on the value. The ioctl, I do not know...

Oh **** it: This (http://git.collabora.co.uk/?p=gst-pl...6d24d8;hb=HEAD) has all that one would need to know. Thanks Robot101.
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post:
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#4
Originally Posted by qwerty12 View Post
Consider this an somewhat "intelligent"....

guess.

Using http://library.gnome.org/devel/gconf...-client-notify, you'd want to connect it to a callback function when the value of /system/osso/af/camera-has-turned has changed.

This function would rotate the image using a ioctl on the v4l driver depending on the value. The ioctl, I do not know...

Oh **** it: This (http://git.collabora.co.uk/?p=gst-pl...6d24d8;hb=HEAD) has all that one would need to know. Thanks Robot101.
Just sent...

Jennifer,


I had some problems locating that information as well so I posted your question on the maemo.org forum >> http://talk.maemo.org/showthread.php?t=30833


The following response by qwerty12, a very skilled contributing member appears to be the most complete:

Consider this an somewhat "intelligent"....

guess.

Using http://library.gnome.org/devel/gconf...-client-notify, you'd want to connect it to a callback function when the value of /system/osso/af/camera-has-turned has changed.

This function would rotate the image using a ioctl on the v4l driver depending on the value. The ioctl, I do not know...

...This (http://git.collabora.co.uk/?p=gst-pl...6d24d8;hb=HEAD) is another resource that was provided.



I hope this helps.


Regards,
Yeager


... Thanks again for all your help Faheem
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:49.