Agreed, this is all technically feasible. However, as I said before, I don't think Skia currently supports rendering a portion of a JPEG image to RGB565 for display.
On Jan 21, 6:17 am, anandb <[email protected]> wrote: > yep, i agree that for the displaying part, a smaller resized image > could be used (or cropped image in case of zoom) .. so it should be ok > from an application mem requirements perspective .. and i guess that > we will also have to make sure that complete raw data is not required > at a time .. > > On Jan 21, 11:47 am, hanchao3c <[email protected]> wrote: > > > Hi Spark. > > > If we want to convert 8M to QVGA (320*240), it will be fast . > > It is because JPEG is 8*8 Matrix , so we only need use the DC data > > (select some pixel ) . > > No need using AC data so No need to do the IDCT > > > But unfortunately , the default android screen is VGA ( 640*480 = > > 0.25M ). Resize 8M to 0.25M RGB will be slow. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
