I think I might go the offscreen buffer route and render when I can,
as FPS doesn't matter to me in the slightest.  I'm looking at creating
a virtual canvas to draw to, but I'm not sure what to do with the
YCbCr array that can get it into a usable form.  What would you
suggest I do with the array?

On May 20, 3:28 pm, Jason Proctor <[email protected]> wrote:
> ...and it's worse than that. there are various race conditions in the
> native Camera code that make VM crashes *very* likely when your
> onPreviewFrame() handler takes more than one squillionth of a second
> to do its thing. i did stuff like handing the buffer off to another
> thread for saving etc and even then the timing issues made it very
> unstable.
>
> dunno whether this stuff got fixed in 1.5. i've gone to
> MediaRecorder, which works mostly as advertised.
>
> >Thanks for the advice, I had feared something like that.  From what
> >I've read it seems that operating on the previews using the callback
> >is much too expensive to be feasible anyway
>
> --
> jason.software.particle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to