Yes I am doing an arbitrary distortion.  I looked into the cupcake
branch platform source code and it seems the binary interpolations are
performed natively under JNI.  Is that correct?

On Feb 9, 6:17 am, Mike Reed <[email protected]> wrote:
> You may be right. The filter_flag kicks in when drawing a bitmap
> through a matrix (scale, rotate, etc.). If you are doing arbitrary
> distortions in java, then I'm afraid the graphics API can't help
> per-se.
>
> On Sun, Feb 8, 2009 at 4:56 PM, j <[email protected]> wrote:
>
> > Hi Dianne,
>
> > I am afraid I don't understand how that would help.  I am implementing
> > an image distortion algorithm.  It takes in a source Bitmap and output
> > a distorted Bitmap.
>
> > Can you elaborate?
>
> > On Feb 7, 8:15 pm, Dianne Hackborn <[email protected]> wrote:
> >> How about this:
>
> >>http://code.google.com/android/reference/android/graphics/Paint.html#...
>
> >> On Sat, Feb 7, 2009 at 8:06 PM, j <[email protected]> wrote:
>
> >> > Is there an Android API for performing bilinearinterpolation?  I
> >> > discovered that my owninterpolationimplementation is extremely slow
> >> > running on the G1 so it's pretty useless.
>
> >> --
> >> Dianne Hackborn
> >> Android framework engineer
> >> [email protected]
>
> >> Note: please don't send private questions to me, as I don't have time to
> >> provide private support.  All such questions should be posted on public
> >> forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to