Hi, I am trying to convert a byte array containing raw frame buffer pixel data (height 480 * width 320 * bytes per pixel 2 ) in to a Bitmap. To do this using Bitmap.setPixels, which needs an integer array of colors, I need to convert the 2 byte (RGB_565) data for each pixel in to an integer. This is expensive since it needs to be done for (480*320) pixels.
Is there a more efficient way of doing this conversion? Thanks.... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

