Hi Dave, I have two setups:
1. In this hardware setup, my touch screen driver is working. And the specific configurations are: @PATH ../packages\apps\Music\res drawable-finger drawable-land-finger layout-finger layout-land-finger values-finger This case, when the video playback is done using video player (or video view widget). Irrespective of the input stream resolution(QCIF, QVGA,VGA ) the output display is VGA(may be resized by surface flinger) as you said automatically. Can you please give me the function and file inside the surface flinger where this rescaling is done?. 2.In this hardware setup, my touch screen driver is not working. And the specific configurations are: @PATH ../packages\apps\Music\res drawable-notouch drawable-land-notouch layout-notouch layout-land-notouch values-notouch This case, when the video playback is done using video player (or video view widget). Irrespective of the input stream resolution(QCIF, QVGA,VGA ) the output display resolution is same as input.. Please let me know how the configurations mentioned above are giving different behaviour in 1 and 2. I wanted to do the rescaling of QVGA to VGA by using configuartions and setup mentioned in 2. How this can be done ? Please suggest some ideas. Regards, Sreedhar On Fri, May 1, 2009 at 5:58 AM, 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 -~----------~----~----~----~------~----~------~--~---