Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colorConversion example broken on a few devices #2

Open
jonsutherland opened this issue Jul 12, 2012 · 0 comments
Open

colorConversion example broken on a few devices #2

jonsutherland opened this issue Jul 12, 2012 · 0 comments

Comments

@jonsutherland
Copy link

Hi,

I'm checking out this code to possibly use for camera frame decoding on Android but I noticed that the colorConversion example seems to be broken on any of my 4.0+ devices (4.0.3 and 4.1). It seems to be decoding the frame okay but 4.0+ devices are just showing 1 vertical line of pixels at the far right side. My gingerbread phone looks fine. I'm not sure if this is a view issue or decoding issue.

Also, I didn't have any 3.0 - 3.2 devices to try but my old 2.2 Motorala Droid just shows a black screen although the conversions seems to be running fine at ~30 FPS.

Another thing I noted is that on my old Galaxy S (2.3.3 gingerbread) device I'm getting around 40 FPS calling naGetConvertedFrame but on my newer Galaxy Nexus I'm getting 18 FPS and my tegra2 tablet is pushing around 30 FPS. Seems a little odd that the newer CPUs are processing frames slower.

Is there any simple explanation for why I see these results?

By the way, thanks for posting this informative code!

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

No branches or pull requests

2 participants
@jonsutherland and others