[android-developers] what can I do if I want to register 4 discontiguous buffers to surface flinger?

2009-04-01 Thread jiangchd
Only contiguous buffer is allowed to be registered to Surface flinger now, what can I do if I want to register 4 discontiguous buffers to surface flinger? Any suggestions? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[android-developers] how to show yuv picture in android?

2009-03-31 Thread jiangchd
In cameraservice.cpp, it uses the following code to show picture in format yuv420. mSurface->registerBuffers(w,h,w,h, PIXEL_FORMAT_YCbCr_420_SP, mHardware->getPreviewHeap()); But there's no color shown on the screen. It seems as that