Hi, all. I am a newbie of Android development and I am developing an app for image processing and I ported some filters to android.
However, the performance is not good and I read some articles pointing renderscript is one of the way to boost performance. I read some codes but I find it too difficult for me to understand. I have a edge detection filter implemented in JAVA and I would like to port it to RS. I have read the Helloworld Compute code and I can see the root() is processing one pixel each time and unpack it into a float4 variable. However, in my code, I need to read not only one pixel data but several to calculate the result and I use 2D array to store the values. How can I implement this in RS, computing more than one pixel in the same time? -- 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

