I'm not sure what you are doing: the Android emulator code for previewing for instance simply ignores all color data and displays only the Y component, i.e., the first width * height bytes out of the 2 * width * height bytes in the YUV422 data[] in the preview callback. The G1 hardware code on the other hand does show the color preview, but uses a quite different (YUV420) encoding with 3/2 * width * height bytes per preview frame.
On May 13, 11:43 am, Androidphan <[email protected]> wrote: > Thanks for the reply. But I already converted my yuyv frame into > yuv420sp yuv422sp yuv422, rgb 565, no luck at all. > > On May 12, 3:44 pm, blindfold <[email protected]> wrote: > > >http://groups.google.com/group/android-developers/browse_thread/threa... --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
