¡@

Home 

2014/10/16 ¤W¤È 08:27:08

android Programming Glossary: use_size.height

Android Camera will not work. startPreview fails

http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails

public void onPreviewFrame byte data Camera arg1 Debug.out PREVIEW FRAME byte pixels new byte use_size.width use_size.height 3 decodeYUV420SP pixels data use_size.width use_size.height renderer.bindCameraTexture pixels use_size.width use_size.height.. PREVIEW FRAME byte pixels new byte use_size.width use_size.height 3 decodeYUV420SP pixels data use_size.width use_size.height renderer.bindCameraTexture pixels use_size.width use_size.height void decodeYUV420SP byte rgb byte yuv420sp int width int.. 3 decodeYUV420SP pixels data use_size.width use_size.height renderer.bindCameraTexture pixels use_size.width use_size.height void decodeYUV420SP byte rgb byte yuv420sp int width int height final int frameSize width height for int j 0 yp 0 j height..