Dave, I still have surfaceflinger crash like this, how do you get it fix? The kernel is fine..
I/SurfaceFlinger( 249): SurfaceFlinger is starting I/SurfaceFlinger( 249): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... D/SurfaceFlinger( 249): pid 249 requesting gpu core (owner = -1) W/SurfaceFlinger( 249): couldn't grant gpu core to pid 249 D/EGL ( 249): requestGPU returned -1 E/GLLogger( 249): h/w accelerated eglGetDisplay() failed (EGL_SUCCESS) I/SurfaceFlinger( 249): EGL informations: I/SurfaceFlinger( 249): # of configs : 6 I/SurfaceFlinger( 249): vendor : Android I/SurfaceFlinger( 249): version : 1.31 Android META-EGL I/SurfaceFlinger( 249): extensions: I/SurfaceFlinger( 249): Client API: OpenGL ES I/EGLDisplaySurface( 249): using (fd=22) I/EGLDisplaySurface( 249): id = msmfb I/EGLDisplaySurface( 249): xres = 500 px I/EGLDisplaySurface( 249): yres = 600 px I/EGLDisplaySurface( 249): xres_virtual = 500 px I/EGLDisplaySurface( 249): yres_virtual = 1200 px I/EGLDisplaySurface( 249): bpp = 16 I/EGLDisplaySurface( 249): r = 11:5 I/EGLDisplaySurface( 249): g = 5:6 I/EGLDisplaySurface( 249): b = 0:5 I/EGLDisplaySurface( 249): width = 500 mm (25.400000 dpi) I/EGLDisplaySurface( 249): height = 600 mm (25.400000 dpi) I/EGLDisplaySurface( 249): refresh rate = 60.00 Hz ... I/SurfaceFlinger( 249): OpenGL informations: I/SurfaceFlinger( 249): vendor : Android I/SurfaceFlinger( 249): renderer : Android PixelFlinger 1.0 I/SurfaceFlinger( 249): version : OpenGL ES-CM 1.0 I/SurfaceFlinger( 249): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap ... I/sysproc ( 249): System server: starting Android runtime. I/sysproc ( 249): System server: starting Android services. I/SystemServer( 249): Entered the Android system server! I/sysproc ( 249): System server: entering thread pool. I/SystemServer( 249): Starting Power Manager. I/SystemServer( 249): Starting Activity Manager. I/DEBUG ( 32): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 32): Build fingerprint: 'generic/htc_dream/dream/trout:1.5/CUPCAKE/eng.pdeng.20090515.143846:eng/test-keys' I/DEBUG ( 32): pid: 249, tid: 256 >>> system_server <<< I/DEBUG ( 32): signal 11 (SIGSEGV), fault addr 45494000 I/DEBUG ( 32): r0 45494000 r1 00000000 r2 0000008c r3 00000000 I/DEBUG ( 32): r4 00000096 r5 0177076a r6 00008000 r7 000001f4 I/DEBUG ( 32): r8 0000d555 r9 00185f40 10 00000000 fp 00000000 I/DEBUG ( 32): ip 00000000 sp 44a93c24 lr 00000000 pc afb0451c cpsr 20000010 I/DEBUG ( 32): #00 pc 0000451c /system/lib/libcutils.so I/DEBUG ( 32): #01 pc 0000a96c /system/lib/libpixelflinger.so ... On Thu, Apr 30, 2009 at 8:28 PM, Dave Sparks <davidspa...@android.com>wrote: > > This capability is already built into the framework. You just scale > the SurfaceView to the desired size. You probably want to adjust the > height and width to maintain the aspect ratio of the original > material. The rescaling is handled in SurfaceFlinger by the blitter > engine. In fact, if you use the VideoView widget, it will do this for > you automatically. > > On Apr 30, 3:09 am, sreedhar b <sreedhar...@gmail.com> wrote: > > Hi, > > > > I am doing the video playback in Media player which is making use of > soft > > PV video decoder giving YUV 420 planar output. > > Currently if the input stream is of QVGA resolution, the display is QVGA > on > > my VGA LCD display panel. > > > > If the input stream is of VGA resolution, the display is VGA. > > > > I wanted to play QVGA i/p stream as VGA (definitely including resize). > > How this can be done inside Android? > > > > Similarly i want to display QVGA(320x240) i/p stream decoded and rendered > to > > display as 240X340(definitely including rotation). > > > > If somebody has tried these, please let me know how these can be > implemented > > for video playback inside Android. > > This is mainly for resize and rotate. > > > > Regards, > > Sreedhar > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---