Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

camera photo samples may render viewfinder sideways on some hardware #118

Open
seanmcveigh opened this issue Aug 7, 2013 · 3 comments
Open

Comments

@seanmcveigh
Copy link

All of the camera samples were written with OMAP hardware, which supports viewfinder rotation. The photo viewfinder samples may tend to render sideways on non-OMAP hardware.
The fix for this is to apply screen_set_window_property_iv(...., SCREEN_PROPERTY_ROTATION, ....); when the viewfinder window attaches.

This issue is here to remind me to revisit this when I get a chance. Heck -- any community takers?? :P

@timwindsor
Copy link
Contributor

Maybe @PaulBernhardt has some time to take a look?

@PaulBernhardt
Copy link
Contributor

Probably not for a bit, I have three sample apps I need to finish first.

@seanmcveigh
Copy link
Author

yah, it's a lot of work to support full rotation properly.
certainly to support the default orientation isn't too much work.

The BestCamera sample is the new go-to authority on getting things upright. Many of those samples were just coded to illustrate a single feature, so they are still valid from that viewpoint, but yes, they have limited utility outside of OMAP Z10 and Q10 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants