Wednesday, October 21, 2009

[android-developers] Re: Is it possible to access raw data of a bitmap (in order to try fade/blur effect)?

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment