Creating a Bitmap from RGB video frames in Android
I have RGB video frames coming from native code, I have read somewhere its possible to convert RGB format frames into Bitmaps, Can anybody please help in telling how to achieve this in the application side (开发者_StackOverflowJAVA layer) in Android??
Try this:
Bitmap bmp= Bitmap.createBitmap(rgb, size.width,size.height, Bitmap.Config.ARGB_8888);
精彩评论