[futurebasic] Re: [FB] Eradication of Slothness Request (Rotation)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2001 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Sun, 7 Jan 2001 23:01:01 -0400
>>Anyway, the Bicubic anti-aliasing is dreadfully slow, since you are doing
>>3 operations per pixel , for the R G and B , for 16 pixels at a time, PER
>>pixel rotated. I integrated some part of it into the ArbitraryBicubic FN
>>to avoid FN call overhead, but it didn't help much.
>>
>Robert,
>
>I tried to do an integer implementation of your FN CubicBSpline(). I have
>no way to test it, and may have screwed up the math a little, but I'm
>guessing if you can work out any bugs I introduced, it will be
>significantly faster and plenty accurate for what you are doing.


Jay, thank you for your effort with this.

There must be some small bug, because it wiped my image.

But I have been doing further testing. While the FN CubicBSpline does
result in some overhead, the primary cycle wasters are the checks I am
doing to make sure I don't go peeking and poking out of bounds. Comment
these out, and the thing flies along.


So It would appear that while an integer approach to the above may help, at
this point the other portions of the primary FN negate any benefits
currently.

Off to unroll some loops...

Wow, I am having the most massive deja vu moment.. :)

Stinks having lived already and reliving it in sequence again because of
that time thing. ;)

Robert