Rob,
Before I forget, there is something else I looked at a while ago which I haven't had time to explore more fully....
The distribution of values fetched from rq_table[] seems to be far from even (certainly for the few files I tested it with): rq_table[0] gets by far the most hits, rq_table[1] gets a few percent, with values after that dropping off fairly quickly.
Based on this, maybe putting 'if (value == 0) return (0);' at the top of III_requantize() might give a (very) small speed up ?
Also, by removing the first few entries from the table and recognising them directly it would be possible to fit the range of exponents in 4 bits rather than 5 and increase accuracy slightly.
Any thoughts ??
Andre --
____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie