Thank you Jason.

I was hoping it's possible with Java.
Do you use Direct Buffers to pass data from Java to C?
image.getPixels() probably creates a copy of actual image. And it also
seems as an area for improvements.


On Oct 21, 9:49 pm, Jason Proctor <[email protected]>
wrote:
> i implemented some full-screen fades and blurs for a recent project.
> doing it in Java resulted in, er, suboptimal performance, so i went
> native. i passed the results of image.getPixels() to the native
> function and did the transforms there. on the G1 and ADP, the
> performance was OK.
>
> >I want to try some fade/blur effect like in winamp visualization plug-
> >ins.
> >getPixel/setPixel way is very slow and do not allow to achieve decent
> >frame rate. Direct access to pixels array could speed up processing.
>
> --
> jason.vp.engineering.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