[FFmpeg-devel] [PATCH] AAC decoder

Michael Niedermayer michaelni
Thu May 29 13:30:14 CEST 2008


On Thu, May 29, 2008 at 12:17:30PM +0100, Robert Swain wrote:
> 2008/5/29 Robert Swain <robert.swain at gmail.com>:
> > 2008/5/29 Robert Swain <robert.swain at gmail.com>:
> >> I'm considering what precision to use for the tables. Using printf()
> >> %42.32f gives the first value as:
> >>
> >>             0.00000000000000088817841970012523,
> >>
> >> and the last as:
> >>
> >>     451452825.35479241609573364257812500000000,
> >>
> >> How does one decide such things? :)
> >
> > It seems scientific notation would be best for this. That should have
> > been obvious to me looking at those numbers. I've used 16 decimal
> > places, is that OK? Looking at ivquant_tab now.

The number of digits should be enough so that the float table is equal
to what the generator produced. Iam not sure if this is true for ivquant_tab.


> 
> Patch attached.

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080529/5c03d8a8/attachment.pgp>



More information about the ffmpeg-devel mailing list