Hi, I'm trying to convert camera preview image (YUV420 format) , that I receive inside onPreviewFrame event, to RGB565 format. Idea is to do it after every 20 seconds.
I found the following post regarding YUV420->RGB565 conversion, but it seems i'm doing soemthing wrong when passing the size of rgb array. The preview size is 480*320. What should be the correct size of rgb[] that I should be passing? http://blog.tomgibara.com/post/132956174/yuv420-to-rgb565-conversion-in-android Any ideas/suggestions? Thanks, Zia -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en