Re: Faster Frac() imlementation?
- From: buramu@xxxxxxxxx
- Date: Sat, 26 Jul 2008 04:48:48 -0700 (PDT)
On 26 jul, 13:37, "Hubert Seidel" <nos...@xxxxxxxxxxxxxxxx> wrote:
Hello Anybody,[snipped code]
// now calculate the interpolated value using the difference between these
two samples
delta := h2 - h1;
result := h1+ ((delta*frac) div 256);
Thanks.. that looks like it may speed things up quite a bit! I'm going
to play around with that.
I may even be able to translate that into asm with my limited
assembler skills.
Thanks a lot!
Bram
.
- References:
- Faster Frac() imlementation?
- From: buramu
- Re: Faster Frac() imlementation?
- From: Hubert Seidel
- Re: Faster Frac() imlementation?
- From: buramu
- Re: Faster Frac() imlementation?
- From: Hubert Seidel
- Faster Frac() imlementation?
- Prev by Date: Re: Faster Frac() imlementation?
- Next by Date: Re: Faster Frac() imlementation?
- Previous by thread: Re: Faster Frac() imlementation?
- Next by thread: Re: Faster Frac() imlementation?
- Index(es):
Relevant Pages
|