[Tremor] 64 bit math

Monty xiphmont at xiph.org
Wed Dec 1 00:51:15 PST 2004




On Tue, Nov 30, 2004 at 05:31:43PM +0100, Niklas Barsk wrote:
> Oh, my, I somehow only managed to send the last part of the mail. Well
> here is the
> beginning of it.
> 
> > I get the impression from
> > http://lists.xiph.org/pipermail/tremor/2004-July/000995.html that you do need
> > to implement 64-bit math.
> 
> Yes it seems that 64 bit math really is needed. I got this idea that
> it might not
> be needed from
> http://lists.xiph.org/pipermail/tremor/2004-October/001115.html
> But that was some 32x32 bits multiplication that could be done with
> 24x24 bit precision. Still, it got me thinking that maby the 64 bit
> precision was not needed at all.

It's needed in granulepos handling if the decoder intends to support
any timing or seeking features.  If not, the only granpos code needed
is to track short packets, which is also strictly not necessary
(although your decode sizes will often be wrong for first/last packet
decode).

Monty


More information about the Tremor mailing list