how to show yuv picture in android?

by jiangchd » Wed, 01 Apr 2009 01:11:00 GMT


Sponsored Links
 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 only luma
data was processed.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. YouTube in the emulator?

How can I get the YouTube application in the emulator? I want to
create an application that launches YouTube clips and I need to test
my Intents. I can't find anything related to this in the docs.

--~--~---------~--~----~------------~-------~--~----~

2. donut keystore

what permissions need to be set for /data/misc/keystore. i keep
getting an error unable to initialize the keystore is it present?
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Listview and scrolling

4. Orientation : onStop onDestroy called from BACK key or not ?

5. store data in registory

6. DisplayMetrics issue on Android1.6 SDK

7. Certificate has expirted