I'm building an app that would apply various filters to data coming
from the device camera's preview function and display the results in
real-time. I have many questions, but I'll start with this one: is it
possible to capture camera preview data without setting a preview
display?
e.g.
Camera.setPreviewDisplay(surfaceholder)

I tried just not setting it and calling Camera.startPreview() ... but
either I got an error or it never called the PreviewCallback (forgot
which).

The reason I ask is that, for the moment, I can only get this to work
using two surfaceviews ... one for input and one for output. I z-order
the output on top of the input so its not seen, however I suspect
android is still rendering the original input to a surface ... in my
case unnecessarily.

Any thoughts on this question, or on my general approach would be
appreciated. For example, I saw that NDK came out last Friday, would
that be worth looking into?

 TIA//

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to